Android SDK question - Using the latest MobileCore library on Android I get IDE warnings about Identity | Community
Skip to main content
New Participant
Nov 4, 2022 8:22 AM UTC
Solved

Android SDK question - Using the latest MobileCore library on Android I get IDE warnings about Identity

import com.adobe.marketing.mobile.Identity 

generates an IDE warning


But

Identity.registerExtension() 

still compiles despite the IDE warning of "Unresolved reference" show also there.

I have updated the libraries to the latest versions supplied here, but the results are the same:

const val adobeAnalyticsVersion             = "1.2.10"
const val adobeCoreVersion = "1.11.4"
const val userProfileVersion = "1.1.0"

(I suspect the demo code is expired?)

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
FabioMattAccepted solution
New Participant
Nov 21, 2022 11:00 AM UTC

Hello, 

I'm having the same issue as Radu. 

Compiling with the following configuration:

implementation "com.salesforce.marketingcloud:marketingcloudsdk:8.0.6"
implementation "com.adobe.marketing.mobile:mobileservices:1.1.5"
implementation "com.adobe.marketing.mobile:analytics:1.2.10"
implementation "com.adobe.marketing.mobile:userprofile:1.1.0"
implementation "com.adobe.marketing.mobile:core:1.11.4"

results in some warnings on Identity, Lifecycle, Signal. Plus, the IDE marks those classes in red as if they were not defined anywhere. 

 

Switching to this configuration

implementation "com.salesforce.marketingcloud:marketingcloudsdk:8.0.6"
implementation "com.adobe.marketing.mobile:mobileservices:1.1.5"
implementation "com.adobe.marketing.mobile:analytics:1.2.10"
implementation "com.adobe.marketing.mobile:userprofile:1.1.0"
implementation "com.adobe.marketing.mobile:core:1.11.4" <-- changing from sdk-core to core -->

results in a series compile errors on the very same classes. 

Do you have any idea on how to solve it?

 

 

 

3 replies

New Participant
Nov 22, 2022 10:24 AM UTC

Analytics 1.2.10

Core 1.7.0

Lifecycle 1.0.3

UserProf 1.1.0

Identity 1.2.0

Signal 1.0.3

 

This works for me

Translate
FabioMattAccepted solution
New Participant
Nov 21, 2022 11:00 AM UTC

Hello, 

I'm having the same issue as Radu. 

Compiling with the following configuration:

implementation "com.salesforce.marketingcloud:marketingcloudsdk:8.0.6"
implementation "com.adobe.marketing.mobile:mobileservices:1.1.5"
implementation "com.adobe.marketing.mobile:analytics:1.2.10"
implementation "com.adobe.marketing.mobile:userprofile:1.1.0"
implementation "com.adobe.marketing.mobile:core:1.11.4"

results in some warnings on Identity, Lifecycle, Signal. Plus, the IDE marks those classes in red as if they were not defined anywhere. 

 

Switching to this configuration

implementation "com.salesforce.marketingcloud:marketingcloudsdk:8.0.6"
implementation "com.adobe.marketing.mobile:mobileservices:1.1.5"
implementation "com.adobe.marketing.mobile:analytics:1.2.10"
implementation "com.adobe.marketing.mobile:userprofile:1.1.0"
implementation "com.adobe.marketing.mobile:core:1.11.4" <-- changing from sdk-core to core -->

results in a series compile errors on the very same classes. 

Do you have any idea on how to solve it?

 

 

 

Translate
VaniBhemarasetty
Employee
Nov 4, 2022 10:35 AM UTC

@radusavutiu This requires an in-depth investigation into why you are getting the warnings or errors. Please reach out to client care for additional help

Translate