Android UIAutomatorViewer源码

问题描述 投票:0回答:2

我一直在谷歌上搜索 UIAutomatorViewer 源代码一段时间,但未能找到它。任何人都可以提供 Android UIAutomatorViewer 源的链接吗? 我需要源代码,因为我计划尝试 UIAutomatorViewer。

android testing android-uiautomator
2个回答

0
投票

uiautomatorviewer 现在位于“tools/swt.git”中。因此,位置将是: https://android.googlesource.com/platform/tools/swt/+/refs/heads/main

这个commit表明它已被移动到“sdk”

removing uiautomatorviewer from frameworks/testing

It is to be moved into sdk

“sdk”的commit

Some of the SDK tools sources have moved out of the sdk.git project.
They are no longer found here.

Instead they can be found in the tools/base.git and the tools/swt.git projects.
If you need to view/change the source and lack these folders, you can bring
them by using a repo init command such as:

$ repo init -u https://android.googlesource.com/platform/manifest -g all,-notdefault,tools
$ repo sync [-j N]

The libraries that are sourced in tools/base and tools/swt are converted to
prebuilts which are located in prebuilts/devtools. These prebuilts are the
ones being used when doing a "make sdk".
© www.soinside.com 2019 - 2024. All rights reserved.