I am to through . I get the below error when I typed or Uiautomator in , or click uiautomator from tool folder.

ERROR
Djava.ext.dirs=/Users/ade/Library/Android/sdk/tools/lib/x86‌​_64:/Users/ade/Libra‌​ry/Android/sdk/tools‌​/lib
is not supported. Use -classpath instead. Error: Could not create the
Java Virtual Machine. Error: A fatal exception has occurred. Program
will exit. logout Saving session… …copying shared history…
…saving history…truncating history files… …completed. [Process
completed]

My PATH is

export JAVA_HOME=$(/Users/ade/Documents/java_home) 
PATH=$PATH:$JAVA_HOME 
export M2_HOME=/Users/ade/Documents/apache-maven-3.5.2 
export PATH=$PATH:$M2_HOME/bin 
ANDROID_HOME=/users/ade/Library/Android/sdk 
export PATH=$PATH:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-to‌​ols



Source link https://sqa.stackexchange.com/questions/31263/unable-to-launch-uiautomator-in-mac-terminal

LEAVE A REPLY

Please enter your comment!
Please enter your name here