Proguard Google Analytics

android, google-analytics, proguard

Solution

I have a generic

-keep public class com.google.** {*;}

in my proguard.cfg and Google Analytics works fine.

Try this. If this does not solve the problem, then your problem is not Proguard but rather a Google Analytics configuration or connectivity issue.

Problem

Does anyone know the keep statement that needs to be added to Proguard for Google Analytics? I have this line right now but for some reason nothing is being reported... ``` # google analytics, uncomment if using: -keep class com.google.android.apps.analytics.PipelinedRequester$Callbacks ```

Original source