我有一个已签名并上传到 Android Market 并安装在手机上的 apk.我想在我的手机上运行这个版本的 apk(通过 Eclipse)来调试它.我以前做过这个(记得它是使用其中一个 Android 开发工具;也许是 Dalvik 调试监视器),但不幸的是不记得如何去做,也无法在网上找到任何文章.有谁知道如何做到这一点?
I have an apk which I've signed and uploaded to Android Market, and installed on my phone. I would like to debug this release apk (by means of Eclipse) whilst it is running on my phone. I have done this before (and remember it being with one of the Android development tools; perhaps Dalvik Debug Monitor) but unfortunately cannot remember how to do it and have been unable to find any articles online. Does anyone know how this can be done?
注意:我在清单中设置了 android:debuggable="true"
并在我的手机上启用了 USB 调试.
Note: I have set
android:debuggable="true"
in the manifest and have enabled USB Debugging on my phone.
确保 android:debuggable="true"
在清单的 application
标记中设置文件,然后:
Be sure that android:debuggable="true"
is set in the application
tag of your manifest file, and then:
这篇关于如何调试签署发布的apk?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!