Hi AppDynamic team,
I have faced an issue when enable the code obfuscation in ProGuard after upgrade appDynamic version from 20.11.1 to 22.2.2 .
also add below code into progurad-rule.pro
-keep class com.appdynamics.eumagent.runtime.DontObfuscate -keep @com.appdynamics.eumagent.runtime.DontObfuscate class * { *; }
it failed in
> Task :app:appDynamicsProcessProguardMappingDevRelease FAILED
Execution failed for task ':app:appDynamicsProcessProguardMappingDevRelease'.
> Bad Credentials, please verify the account and licenseKey in your build.gradle file.
But I could confirm that the LicenseKey was correct and did not changed,(it works fine in version 20.1.1)
Could you please help me out for this?
Thanks
Hi Tianlin,
Which customer account are you with? Have you tried to get some help through AppD Support for this? That would be the fastest way to make progress on this issue.
Emily Wang
End User Monitoring Product Lead
Hi Emily,
Sorry, we could not post from our customer account since the security policy, and could I ask where I should get the support from appD Support?
Hi @Tianlin.Feng,
Following up from my above question
HI @Ryan.Paredez ,
Thanks for your reply, for the account and license key I did not use the trail account, I was using our customer's license Key which encountered the error.
The current result is once we enable the code obfuscation, the AppDynamic returns a Bad credential error
After that we did some testing:
for both testing versions, we added the below code into progurad-rule.pro
-keep class com.appdynamics.eumagent.runtime.DontObfuscate -keep @com.appdynamics.eumagent.runtime.DontObfuscate class * { *; }
AppDynamic version 22.2.2
appdynamic_gradle_plugin version: 22.2.2
it failed in
> Task :app:appDynamicsProcessProguardMappingDevRelease FAILED
Execution failed for task ':app:appDynamicsProcessProguardMappingDevRelease'.
> Bad Credentials, please verify the account and licenseKey in your build.gradle file.
and the logcat from Android studio shows
Error clearing beacons from database
Error reading beacons from database
I think it should be the code obfuscation still makes the inter error for the AppDynamic.
2. appDynamic version: 20.11.1
appdynamic_gradle_plugin version: 20.11.1
it failed in
':app:appDynamicsUploadProguardMappingRelease' (type 'UploadProguardMappingFileTask').
- In plugin 'adeum' type 'com.appdynamics.android.gradle.UploadProguardMappingFileTask' property 'applicationName' is missing an input or output annotation.
Hi @Tianlin.Feng,
Did you get assigned an Account/Sales Rep through any of your trial sign up emails?