您的位置:首页 > 移动开发 > Android开发

android 真机 安装 模拟器 DevTools Development

2012-01-12 23:15 417 查看

android 真机 安装 模拟器 DevTools Development.apk

在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 install Development.apk

To get started, launch the Dev Tools application and select Development Settings.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: