I'm starting to use Appium and Android Studio on Mac. When I try to launch uiautomatorviewer from the command line, I'm getting the following errors:
-Djava.ext.dirs=/Users/chris.gill/Library/Android/sdk/tools/lib/x86_64:/Users/chris.gill/Library/Android/sdk/tools/lib is not supported. Use -classpath instead. Error: Could not create the Java Virtual Machine.
Please can someone help me resolve this problem.