I have updated android studio and in the latest android studio uiautomator2 is missing
is there is any alternative of the this or am i missing something here
what path you checked for UIAutomatorViewer in Android Studio?
MacOS: check “cd $ANDROID_HOME/tools/bin”
You don’t say what operating system, but the paths look like Linux or OS X. Here’s an article on installing the Android SDK for Windows, OS X (Mac), and Linux. It also has troubleshooting steps in case some files are missing:
Missing = you did not install any sdk.
Hi @Aleksei, For my Appium project, I have downloaded the latest command line tools “commandlinetools-win-6858069_latest” and downloaded platform tools for Android-30 where I can see uiautomator.jar under \cmdline-tools\platforms\android-30 folder. How to use this jar file? Previously we used to have uiautomatorviewer.bat under tools/bin folder which can be executed by double click or from the command line. I am using Windows 10 and I haven’t installed SDK Studio.
i am with mac. and see it in:
/Users/[myUserName]/Library/Android/sdk/tools/bin
BTW i switched to using LayoutInspector from android studio. With latest macOS uiautomatorviewer just stopped work. just create some blank android project. now see ->
in right bottom. tap on it and select device in menu.
Facing the same issue