如何调试从Eclipse的签署Android应用程序? [英] How to debug signed Android app from Eclipse?

查看:131
本文介绍了如何调试从Eclipse的签署Android应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android 2.2的。 我需要调试我的签署 APK在我的Nexus S.怎么可以这样使用Eclipse做?

Android 2.2. I need to debug my signed APK on my Nexus S. How can this be done using Eclipse?

我启动应用程序我的手机上,然后...?

I start the app on my phone and then...?

推荐答案

设置可调试=真正的在清单中,出口,安装并签署了该应用程序。通过USB连接的设备,启用USB调试。然后打开DDMS透视图中,选择设备,并连接到您的应用程序的过程中(你会看到列出的包名)。如果你有一个根深蒂固的设备,就可以连接到任何过程,如果亚行以root权限运行。

Set the debuggable=true in the manifest, export, install and sign the the app. Connect the device via USB, enable USB debugging. Then open the DDMS perspective, select the device and attach to your app's process (you will see the package name listed). If you have a rooted device, you can connect to any process if adb is running as root.

这篇关于如何调试从Eclipse的签署Android应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆