Skip to content Skip to sidebar Skip to footer

Android App Crashes After Proguard Obfuscation (google Plus People Search)

I added some code to my app to search people on Google Plus. This code works well without Proguard. After running proguard to obfuscate the code, my app crashes when searching for

Solution 1:

Can you try:

-keep classcom.google.api.services.plus.** { *; }

You can also check what gets taken away by looking at the proguard output files. EDIT - Your problem might be similar to these:

These are for Drive, but the location of the NPE is similar, and they provide a working proguard config you can start with.

Post a Comment for "Android App Crashes After Proguard Obfuscation (google Plus People Search)"