E/ADBMobile: AnalyticsExtension error | Community
Skip to main content
diabolik75
Level 2
February 13, 2019
Solved

E/ADBMobile: AnalyticsExtension error

Hi,

I'm trying to integrate the SDK 5 in Android and analyzing the log I found the error below

2019-02-13 14:52:59.039 22682-22739/it.test.stefanoiaboni.launchappdemo E/ADBMobile: AnalyticsExtension - Couldn't retrieve shared state for com.adobe.module.identity. Please make sure you have registered and configured the com.adobe.module.identity extension properly based on the documentation.

What could be the problem?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
IvanMi1Accepted solution
Employee
July 12, 2019

If you are seeing the shared state error on first startup you can ignore that. There is no shared state to be retrieved on this first launch. We are working on updates to the verbose "warnings" to be less aggressive.

If you are looking to make sure analytics hits are being properly sent, I'd strongly encourage you to sign-up for access to Project Griffon: Project Griffon - Adobe Experience Platform Mobile SDKs

16 replies

IvanMi1Accepted solution
Employee
July 12, 2019

If you are seeing the shared state error on first startup you can ignore that. There is no shared state to be retrieved on this first launch. We are working on updates to the verbose "warnings" to be less aggressive.

If you are looking to make sure analytics hits are being properly sent, I'd strongly encourage you to sign-up for access to Project Griffon: Project Griffon - Adobe Experience Platform Mobile SDKs

Translate
akasha53249386
Level 2
July 12, 2019

Hi diabolik75​,

Were you able to solve this issue. I am also facing the same. Please suggest.

Translate
New Participant
May 31, 2019

diabolik75​ were you able to solve this, if yes can you post that please.

Translate
Employee
February 15, 2019

Hmm. Try to add the call to Lifecycle start:

Initialize the SDK and set up tracking - Adobe Experience Platform SDKs

Translate
diabolik75
Level 2
February 14, 2019

Hi Ivan,

I have configured the onCreate app method adding the code below getting it form the install package development by launch

@Override
protected void onCreate(Bundle savedInstanceState) {

   super.onCreate(savedInstanceState);
   MobileCore.setApplication(getApplication());
   MobileCore.setLogLevel(LoggingMode.VERBOSE);
   setContentView(R.layout.activity_login);
  try {

 

Analytics.registerExtension();
            Identity.registerExtension();
            Lifecycle.registerExtension();
            Signal.registerExtension();
            UserProfile.registerExtension();
            MobileCore.start(new AdobeCallback () {
                @Override
                public void call(Object o) {
                    MobileCore.configureWithAppID("LAUNCH_EVIRONMENT_ID");
                }
            });

}catch(InvalidInitException e){

}

putting the correct ID for the string LAUNCH_ENVIRONMENT_ID and I'm not collecting data in Adobe Analytics.

Translate
Employee
February 13, 2019

Hi @diabolik75 - Make sure you are using the installation instructions found when clicking on the package icon in the Launch environment you are working on. For more information on registering the Adobe Analytics extension see: Adobe Analytics - Adobe Experience Platform SDKs

Translate