Uiautomatorviewer is giving error “SWT folder '..\lib\location of your Java installation.' does not exist”
While using Anroid studio and launching the UIAutomatorviewer if you get below error:
Uiautomatorviewer is giving error “SWT folder '..\lib\location of your Java installation.' does not exist
Solution:
- Go to bin folder of Android studio
- Run sdkmanager.bat
- It will say java path is correct or not
- Update JAVA_HOME as new path where you installed java in program files
- Close the CMD
- Open command prompt and run sdkmanager.bat
- it will run pending jars
- then run uiautomatorviewer.bat
it will work!!
Comments
Post a Comment