I am trying to start uiautomatorviewer from default sdk installed location using terminal (Ubuntu 16) :
>abc@abc:~/Android/Sdk/tools/bin$ ./uiautomatorviewer
and I am getting an error as below :
Error
-Djava.ext.dirs=/home/mukesh/Android/Sdk/tools/lib/x86_64:
/home/abc/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.
Till yesterday things are working fine for me . So , far I tried looking into the post unable to start uiautomatorviewer
but what I am getting is a different error , Forgive me but I am a newbie to this and absolutely no idea of what went wrong in one day , Any help to resolve the error would be highly appreciated .