Hi, Im trying to do appium automation in Android on MAC. Ive installed, Android Studio, JDK and ive also set ANDROID_HOME and JAVA_HOME. I go to the uisutomatorviewer location and when I try to run it, the below error is getting displayed.
-Djava.ext.dirs=/Users/name/Library/Android/sdk/tools/lib/x86_64:/Users/name/Library/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.
can anyone provide me a solution to this?