How to debug signed Android app from Eclipse?

后端 未结 4 1153
北荒
北荒 2020-12-15 07:08

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...?

4条回答
  •  粉色の甜心
    2020-12-15 07:26

    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.

提交回复
热议问题