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.

 

 

 

posted on 2011-09-06 15:42  freeliver54  阅读(4684)  评论(1编辑  收藏  举报

导航