4

My app crashes in release mode only, due to proguard (confirmed, I disabled it and worked)... I see somebody had the same problem and tried some solutions like this one: Android: app crashed when starting after signing in release mode .

I first tried keeping the MainActivity, then tried keeping the whole package with

-keep class android.app.**

but it still doesn't solve. Logcat in this case is nearly useless due to obfuscation, proguard is kind of complex to understand, also because I don't find clues on which part I should tune.

Do you have any idea on how I should configure proguard?

glass
  • 159
  • 2
  • 12

1 Answers1

3

Common problems with that is using third party libs. Check your dependency and exclude those libraries from obfuscation process.

Tommy
  • 96
  • 5