glass
glass

Reputation: 179

App crashes in release mode only, how to configure proguard?

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?

Upvotes: 4

Views: 1379

Answers (1)

Tommy
Tommy

Reputation: 96

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

Upvotes: 3

Related Questions