AppD Archive

Android gradle dynamic VersionCode sync issue

CommunityUser
Splunk Employee
Splunk Employee

In our project we are trying to add the AppDynamics SDK.

The versionCode will be determined dynamically based on Git.

For example:

http://ryanharter.com/blog/2013/07/30/automatic-versioning-with-git-and-gradle/

But using this way, syncing the gradle file, the AppDynamics plugin adeum will say:

"Error: Cause: adeum: Unable to determine versionode. Have you defined versionCode in your AndroidManifest.xml file?"

This won't be displayed, if we use a static integer as versionCode, instead of dynamically getting from git. 

Is there any solution for this?

Thank you in advance.

0 Karma
Get Updates on the Splunk Community!

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...