简体   繁体   中英

Android uncaught exception logs

I've written a piece of code that logs all uncaught exceptions that may arise in my android application. Now then since I have encrypted my apk, all the exception logs don't have the exact class names and instead the logs refer to classes such as a.java or b.java etc. Any ideas how I could preserve the logs so that I can track any exceptions that can arise?

-dontobfuscate添加到您的proguard配置文件中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM