android 真机dev tools,android 真机 安装 模拟器 DevTools Development

Android DevTools默认预装在SDK的系统映像中,可用于在模拟器上进行应用测试和调试。要将其安装到真实设备,可以通过ADB从模拟器导出Development.apk并安装。操作步骤包括使用adb命令将.apk文件复制到本地,然后安装到连接的设备上。DevTools提供了方便开发者调试应用的各种设置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在android模拟器中 可以通过Dev Tools 下的 Instrumentation

来运行相应的TestRunner

而在有些android真机中 却不见得就能找到该DevTools

经查找 可以从模拟器中导出 然后安装该Development.apk 到真机系统

附件为 从android 2.2模拟器中 导出的Development.apk (下载后 请将.zip 修改为.apk)

下文转自:http://developer.android.com/guide/developing/debugging/debugging-devtools.html

The Dev Tools application is installed by default on all system images included with the SDK, so you can use it with the Android Emulator. With the Dev Tools application, you can enable a number of settings on your device that will make it easier to test and debug your applications.

If you'd like to install the Dev Tools application on a real development device, you can copy the application from your emulator and then install it on your device using ADB. To copy the application from a running emulator, execute:

adb-e pull/system/app/Development.apk./Development.apk

This copies the .apk file into the current directory. Then install it on your connected device with:

adb-d installDevelopment.apk

To get started, launch the Dev Tools application and select Development Settings.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值