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
Ivan_Mironchuk
Employee
Ivan_Mironchuk
Employee
12-07-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
Ivan_Mironchuk
Employee
Ivan_Mironchuk
Employee
15-07-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
Lukáš_Čech
Lukáš_Čech
10-09-2019
An this somehow not very obvious message when we did everything according to the docs is in the same area of being ok?
09-10 14:12:50.402 1260 1496 E AdobeExperienceSDK: EventHub(AMSEventHub) - Circular shared-state dependency between com.adobe.module.analytics and com.adobe.module.identity, you may have a live-lock.
Ivan_Mironchuk
Employee
Ivan_Mironchuk
Employee
10-09-2019
This warning can be ignored. Sometimes you will see this on the initial startup as there is no shared state yet to retrieve. If you see that hits are being sent from device you are good to go!
harish_kumar
Employee
harish_kumar
Employee
16-07-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.
Ivan_Mironchuk
Employee
Ivan_Mironchuk
Employee
15-02-2019
Hmm. Try to add the call to Lifecycle start:
Initialize the SDK and set up tracking - Adobe Experience Platform SDKs
Ivan_Mironchuk
Employee
Ivan_Mironchuk
Employee
13-02-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
abhinavb3891714
abhinavb3891714
04-12-2019
i can see the data now. Seems there was an issue with the specific report suite. The initial warnings can be ignored as mentioned above.
abhinavb3891714
abhinavb3891714
28-11-2019
I have also followed all the instructions provided in the documentation but still facing this error due to which i am not even getting data into RS
Lukáš_Čech
Lukáš_Čech
10-09-2019
I have the same issue here:
09-10 11:19:01.489 7271 7327 E AdobeExperienceSDK: AnalyticsExtension - Couldn't retrieve shared state for com.adobe.module.configuration. Please make sure you have registered and configured the com.adobe.module.configuration extension properly based on the documentation.
We double-checked everything with our Android developer - everything looks like in the docs (modules are imported, registered, configured in Launch, app is initialized via bundled file and lifecycleStart and Pause is called).
Tracking seems to work including Experience Cloud ID, but we don't know what this error message suggests.
akasha53249386
akasha53249386
16-07-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 .
rupaljain2408
rupaljain2408
15-07-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?
akasha53249386
akasha53249386
12-07-2019
Hi diabolik75,
Were you able to solve this issue. I am also facing the same. Please suggest.
nandeeshtank
nandeeshtank
31-05-2019
diabolik75 were you able to solve this, if yes can you post that please.
diabolik75
diabolik75
14-02-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.