How to debug signed Android app from Eclipse?

后端 未结 4 1158
北荒
北荒 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:20

    You have two ways ..

    1. You can use Log.v or log.d or Log.i (Logging) in your code and get all those logs in logcat view in eclipse while your application runs on your device.
    2. You can run (while debugging , pressing that insect icon on eclipse ) the application from eclipse on device, By putting breakpoints in your code you can debug your application.

提交回复
热议问题