我一直在使用proguard內置的eclipse工具obsucate代碼,它工作正常。但是,當我嘗試追溯混淆代碼的堆棧跟蹤時,回溯不會輸出未混淆的堆棧跟蹤。Proguard回溯沒有映射堆棧跟蹤到實際的源
我已經仔細檢查了mapping.txt,以確定我使用的是正確的。
這裏是我的堆棧跟蹤
ERROR/AndroidRuntime(19398):
FATAL EXCEPTION: Thread-35
ERROR/AndroidRuntime(19398): java.lang.NullPointerException
ERROR/AndroidRuntime(19398): at android.graphics.Canvas.throwIfRecycled(Canvas.java:954)
ERROR/AndroidRuntime(19398): at android.graphics.Canvas.drawBitmap(Canvas.java:980)
ERROR/AndroidRuntime(19398): at com.excelectronic.b.aa.a(ProGuard:535)
ERROR/AndroidRuntime(19398): at com.excelectronic.g.f.a(ProGuard:220)
ERROR/AndroidRuntime(19398): at com.excelectronic.game.GameView.a(ProGuard:198)
ERROR/AndroidRuntime(19398): at com.excelectronic.game.GameView.onDraw(ProGuard:98)
ERROR/AndroidRuntime(19398): at com.excelectronic.game.ac.run(ProGuard:121)
並且使用命令
retrace.bat -verbose mapping.txt obfuscated_trace.txt
如何傳遞常規expr模式?有什麼選擇? – Gopinath 2012-07-08 11:24:45
@Gopinath Cfr。手冊。 – 2012-07-14 20:35:16