android - 是否可以调试混淆的 Android 应用程序?

标签 android eclipse debugging obfuscation

假设我有混淆应用程序的代码和映射。我能以某种方式在 Eclipse 中调试这个应用程序吗?

最佳答案

在 Eclipse 中,Proguard 混淆仅在应用导出时激活,也称为 Release模式。

据我所知,此配置中未添加调试信息。

When you build your application in release mode, either by running ant release or by using the Export Wizard in Eclipse, the build system automatically checks to see if the proguard.config property is set. If it is, ProGuard automatically processes the application's bytecode before packaging everything into an .apk file. Building in debug mode does not invoke ProGuard, because it makes debugging more cumbersome.

Source

编辑:

看起来有些骇人听闻的解决方案存在。 以下是可能对您有所帮助的两个讨论:

关于android - 是否可以调试混淆的 Android 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14915912/

相关文章:

java - Wifi 扫描仪不适用于 android nougat (7.0)

android - GPS 应用程序中的风向和风速

JavaScript 不工作,但在设置断点并从 Chrome 调试器工具中单击文件时工作正常

java - dumpstack() 和 printStackTrace() 之间的区别

Java 和 SQLite 以及 Android : Array of different objects

android - 无法设置 OnTouchListener

java - 从 SVN 导入 JEdit 时出现警告

java - 如何在STS上停止循环进程 "Send Classpath Notification"

eclipse - Java Build Path 中的 Order 和 Export 选项卡有什么用

ios - iOS 构建中未显示 Unity 调试日志