Wednesday, April 5, 2017

UIAutomater Issue

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

CTS Outlook Configuration

You can configure outlook using the below settings. 1) Open Control panel and select Mail 2) Select show profile now 3) Select A...