How to debug signed Android app from Eclipse?

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

    When device connect to your eclipse running mechine , set debuggable=true in manifest file and enable debug mode in android phone it can view current running log using logcat, otherwise

    You can debug your running application using adb tools from the command line

    adb logcat - View device log

    will display the current logcat (debug messages)

    adb logcat [ ]

    using you can filter only your given debug messages

    for configure debug tool view http://developer.android.com/guide/developing/tools/adb.html

提交回复
热议问题