Unable to connect to adb. Check if adb is installed correctly
Basically, the
com.android.uiautomator.bindir
property is not set in uiautomatorviewer.bat
.
Edit the file and set the property to the path for android-sdk/tools folder.
1) C:\Users\593322\AppData\Local\Android\sdk\tools\bin
2) Open "uiautomatorviewer.bat"
in textpad
3) call
"%java_exe%" "-Djava.ext.dirs=%javaextdirs%"
"-Dcom.android.uiautomator.bindir=C:\Users\593322\AppData\Local\Android\sdk\platform-tools"
-jar %jarpath% %*
NOTE: Dcom.android.uiautomator.bindir
=> put your platform-tools folder path here.
No comments:
Post a Comment