Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
05-23-2019 07:33 AM - edited 05-23-2019 07:57 AM
I get these warnings when I try to obfuscate the code using proguard
Warning: com.facebook.CustomTabActivity: can't find referenced field 'boolean appdynamicsGeneratedBuildId_**' in program class com.appdynamics.eumagent.runtime.BuildInfo
Warning: com.facebook.CustomTabMainActivity: can't find referenced field 'boolean appdynamicsGeneratedBuildId_**' in program class com.appdynamics.eumagent.runtime.BuildInfo
Warning: com.facebook.FacebookActivity: can't find referenced field 'boolean appdynamicsGeneratedBuildId_** in program class com.appdynamics.eumagent.runtime.BuildInfo
Warning: com.google.android.libraries.places.widget.AutocompleteActivity: can't find referenced field 'boolean appdynamicsGeneratedBuildId_**' in program class com.appdynamics.eumagent.runtime.BuildInfo
Warning: com.salesforce.android.chat.ui.internal.chatfeed.ChatFeedActivity: can't find referenced field 'boolean appdynamicsGeneratedBuildId_**' in program class com.appdynamics.eumagent.runtime.BuildInfo
Warning: com.salesforce.android.chat.ui.internal.prechat.PreChatActivity: can't find referenced field 'boolean appdynamicsGeneratedBuildId_**' in program class com.appdynamics.eumagent.runtime.BuildInfo
Warning: dagger.android.DaggerActivity: can't find referenced field 'boolean appdynamicsGeneratedBuildId_**' in program class com.appdynamics.eumagent.runtime.BuildInfo
Warning: dagger.android.support.DaggerAppCompatActivity: can't find referenced field 'boolean appdynamicsGeneratedBuildId_**' in program class com.appdynamics.eumagent.runtime.BuildInfo
Need help in configuring proguard to get rid of above warnings.
Thanks
Solved! Go to Solution.
05-23-2019 08:24 AM
Solved it using following lines in proguard config
-keep class com.appdynamics.eumagent.runtime.BuildInfo
-keep @com.appdynamics.eumagent.runtime.BuildInfo class * { *; }
07-01-2019 12:12 PM
-keep class com.appdynamics.eumagent.runtime.DontObfuscate
-keep @com.appdynamics.eumagent.runtime.DontObfuscate class * { *; }
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form