Skip to content

Fork of uiautomatorviewer with small fixes that works with the latest JDK, Win/Mac/Linux (at least for me). Also it has some libraries updated. Can be built with Gradle without requiring the entire SDK source.

TarCV/uiautomatorviewer-gradle

Repository files navigation

Screenshot

Verifying this code against the SDK sources

  1. Verifying that this repository is actually based on the original viewer sources: This repository is based on https://android.googlesource.com/platform/tools/swt/+/1ad1e59667a2b7ea4c0c90e3bfb76c39c5a96fb3/uiautomatorviewer/ . The initial commit - da94b667bbdc007d2bdf74d300932eb3dc75256e is exactly that directory. Therefore, you can download that source and compare it against the sources in that initial commit.
    There should be no differences except in timestamps.
  2. Reviewing changes: Some changes were made to those original sources to fix building on the latest Java/OS/etc., update libraries, and for convenience. These changes can be reviewed by comparing the current main with the initial commit.

Running on Windows, Linux

You can run the app as is on these OSes, just make sure Android Debug Bridge is available.

Running on Mac

Launch the app passing -XstartOnFirstThread JVM argument, otherwise it will immediately crash. For example:

./gradlew installDist
JAVA_OPTS=-XstartOnFirstThread ./build/install/uiautomatorviewer-gradle/bin/uiautomatorviewer-gradle

(Unfortunately, this option is not supported on Linux, so it cannot be added to the shell wrapper script)

Also make sure Android Debug Bridge is available.

About

Fork of uiautomatorviewer with small fixes that works with the latest JDK, Win/Mac/Linux (at least for me). Also it has some libraries updated. Can be built with Gradle without requiring the entire SDK source.

Topics

Resources

Stars

Watchers

Forks

Languages