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

E/ADBMobile: AnalyticsExtension error

  • February 13, 2019
  • 16 replies
  • 20400 views

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.
Best answer by IvanMi1

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

Adobe 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

diabolik75
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.

Adobe Employee
February 15, 2019
May 31, 2019

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

akasha53249386
July 12, 2019

Hi diabolik75​,

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

IvanMi1Adobe EmployeeAccepted solution
Adobe 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

rupaljain2408
July 15, 2019

Hi Ivan,

We are in process of integrating AEP SDK with our mobile apps (both iOS and Android), followed the steps given on adobe official guidelines for the same. However, I am not able to see any data in our report suite related to either lifecycle metrics or custom data.

Can you suggest what can cause this problem?

Adobe Employee
July 15, 2019

Do you perhaps have batching turned on for the analytics extensio? Then hits would be queued on device. Would set batching to zero for initial development

akasha53249386
July 16, 2019

Thanks Ivan, apparently I checked offline enabled, but my report suite was not time stamped. That caused the issue. I am able to see data now .

Adobe Employee
July 17, 2019

akasha53249386​ correct, if the report suite is set to not allowed and offline enabled is set to checked. Server call get excluded from the reporting.