Expand my Community achievements bar.

SOLVED

How to I update sdk to Android Analytics 1.2.8

Avatar

Level 1

Using React Native, I need to update my sdk to 1.2.8 due to the error below

 

Can some please tell me how to do this? 

 

> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.

   > Could not find :unspecified:.

     Required by:

         project :app > com.adobe.marketing.mobile:analytics:1.2.7

 

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@harrisma 

 

 In the build.gradle file, instead of using implementation 'com.adobe.marketing.mobile:analytics: 1.+'

Bhemarasetty_vani_1-1627296747367.png

Try implementing by specifying the exact version and build it once. By adding this below line as shown in the above screenshot
implementation 'com.adobe.marketing.mobile:analytics:1.2.8'

 



View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

@harrisma 

 

 In the build.gradle file, instead of using implementation 'com.adobe.marketing.mobile:analytics: 1.+'

Bhemarasetty_vani_1-1627296747367.png

Try implementing by specifying the exact version and build it once. By adding this below line as shown in the above screenshot
implementation 'com.adobe.marketing.mobile:analytics:1.2.8'

 



Avatar

Employee

Hi @harrisma 

 

Are you including "mavenCentral()" in you Android application's repository list? If not, can you include it and try your build again using dynamic versioning for the Analytics dependency as below?

implementation 'com.adobe.marketing.mobile:analytics:1.+'

 

Thanks,

Kevin