Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Adobe Launch - SDK Android - LifecycleExtension - Failed

1_Almeida
Level 1
Level 1

Good afternoon,

I work in an analytical consulting company, and it is part of my job to do implementations and help with the initial setup of any kind of data collection technology.
First time working with Adobe, and as for the WEB part, it was not me who configured, when I started my project everything was already "up and running", however the client needs to integrate mobile app, so I resorted to the official guides on the Adobe pages and together with the client's IT department we started the integration, after several attempts and failures, and come here to the community to verify possible solutions. I am stalled and need to understand if someone can help me on this issue.

Everything seems to be done correctly except the LifecycleExtension.

In the end it ends up not being able to send data to analytics, which I deduce is due to this situation.

Below is the Android Studio log. (files names and etc were changed).

 

2021-07-07 16:44:01.453 8877-8877/company.name.env D/AdobeExperienceSDK: UserProfileCore - Core initialization was successful

2021-07-07 16:44:01.478 8877-12210/company.name.env W/AdobeExperienceSDK: LifecycleExtension - Failed to read lifecycle data from persistence

2021-07-07 16:44:01.480 8877-12203/company.name.env W/AdobeExperienceSDK: AndroidSystemInfoService - Unable to read (ADBMobileConfig.json) from the the assets folder. (java.io.FileNotFoundException: ADBMobileConfig.json)

2021-07-07 16:44:01.487 8877-12212/company.name.env D/AdobeExperienceSDK: CacheManager - Cached Files - Directory is empty (/data/user/0/company.name.env/cache/adbdownloadcache).

2021-07-07 16:44:01.490 8877-12213/company.name.env D/AdobeExperienceSDK: HttpConnectionHandler - Connecting to URL https://assets.adobedtm.com/{numbers}/launch-{numbers}.json (GET)

2021-07-07 16:44:01.574 8877-8877/company.name.env D/AdobeExperienceSDK: Core - collectData: Could not dispatch generic data event, data is null or empty.

2021-07-07 16:44:01.575 8877-12212/company.name.env D/AdobeExperienceSDK: CacheManager - Cached Files - Directory is empty (/data/user/0/company.name.env/cache/adbdownloadcache).

2021-07-07 16:44:01.579 8877-12212/company.name.env D/AdobeExperienceSDK: RemoteDownloader - Cached Files - Successfully downloaded content (https://assets.adobedtm.com/{numbers}/launch-{numbers}.json) into (/data/user/0/company.name.env/cache/adbdownloadcache/{numbers}{numbers})

2021-07-07 16:44:01.584 8877-12209/company.name.env D/AdobeExperienceSDK: IdentityExtension - generateURLEncodedValuesCustomerIdString : No Visitor ID exists in the provided list to generate for URL.

2021-07-07 16:44:01.592 8877-12225/company.name.env D/AdobeExperienceSDK: CacheManager - Cached Files - Directory is empty (/data/user/0/company.name.env/cache/configRules).

2021-07-07 16:44:01.593 8877-12213/company.name.env D/AdobeExperienceSDK: HttpConnectionHandler - Connecting to URL https://assets.adobedtm.com/{numbers}/launch-{numbers}-rules.zip (GET)

2021-07-07 16:44:01.600 8877-12209/company.name.env D/AdobeExperienceSDK: IdentityHitsDatabase - updatePrivacyStatus : Privacy Status was opt-unknown, suspending the Identity hits processing from database.

2021-07-07 16:44:01.601 8877-12225/company.name.env D/AdobeExperienceSDK: CacheManager - Cached Files - Directory is empty (/data/user/0/company.name.env/cache/configRules).

2021-07-07 16:44:01.603 8877-12225/company.name.env D/AdobeExperienceSDK: RemoteDownloader - Cached Files - Successfully downloaded content (https://assets.adobedtm.com/{numbers}/launch-{numbers}-rules.zip) into (/data/user/0/company.name.env/cache/configRules/{numbers}{numbers})

2021-07-07 16:44:01.605 8877-12209/company.name.env D/AdobeExperienceSDK: IdentityHitsDatabase - IdentityHitsDatabase.queue : Queued an identity sync call with URL: (https://dpm.demdex.net/id?d_mid={numbers}&d_ver=2&d_orgid={numbers}AdobeOrg&d_rtbd=json) resulted from the event: (e37f0cca-9f58-4bcd-940e-026d4b85c377).

2021-07-07 16:44:01.611 8877-12232/company.name.env D/AdobeExperienceSDK: IdentityExtension - IdentityHitsDatabase.process : Sending request: (https://dpm.demdex.net/id?d_mid={numbers}&d_ver=2&d_orgid={numbers}AdobeOrg&d_rtbd=json).

2021-07-07 16:44:01.612 8877-12213/company.name.env D/AdobeExperienceSDK: HttpConnectionHandler - Connecting to URL https://dpm.demdex.net/id?d_mid={numbers}&d_ver=2&d_orgid={numbers}AdobeOrg&d_rtbd=json (GET)

2021-07-07 16:44:01.627 8877-12209/company.name.env D/AdobeExperienceSDK: IdentityHitsDatabase - updatePrivacyStatus : Privacy Status was opted-in, so attempting to send all the queued Identity hits from database.

2021-07-07 16:44:01.868 8877-12232/company.name.env D/AdobeExperienceSDK: IdentityExtension - handleNetworkResponseMap : ECID Service returned (mid: {numbers}, blob: {numbers}, hint: 6, ttl: 604800).

2021-07-07 16:44:22.949 8877-8877/company.name.env D/AdobeExperienceSDK: Core - collectData: Could not dispatch generic data event, data is null or empty.

 

 

Thanks in advance

ANDROID sdk
1 Accepted Solution
CaliseCheung
Correct answer by
Employee
Employee

Hi, 
  The logs you provided looks fine.  It will be good to look at the verbose log and your launch setup (the environment file id) to understand why it is not sending the Analytics pings.
  Please log a ticket at : https://experienceleague.adobe.com/?support-solution=General#support . 
  We can follow up with you.

  I am assuming you have read the Adobe Experience Platform Mobile SDKs documentation.

Calise Cheung
Mobile Engineer
Adobe Experience Cloud



View solution in original post

4 Replies
CaliseCheung
Correct answer by
Employee
Employee

Hi, 
  The logs you provided looks fine.  It will be good to look at the verbose log and your launch setup (the environment file id) to understand why it is not sending the Analytics pings.
  Please log a ticket at : https://experienceleague.adobe.com/?support-solution=General#support . 
  We can follow up with you.

  I am assuming you have read the Adobe Experience Platform Mobile SDKs documentation.

Calise Cheung
Mobile Engineer
Adobe Experience Cloud



View solution in original post

1_Almeida
Level 1
Level 1

Good Morning,

 

Thank you in advance for your answer and advice for the support ticket.

Both myself and the IT department of the company follow the Adobe Experience Platform Mobile SDKs documentation guides. And we didn't see anything that was missing or out of place.

But I have already opened the Ticket with the Adobe support team.


Again, thank you.

CaliseCheung
Employee
Employee

Thanks for logging the ticket.   Just want to understand more about the issue, when you call MobileCore.trackAction("loginClicked", null) as an example, you are not sending event out to Analytics?

 

Calise Cheung
Mobile Engineer

1_Almeida
Level 1
Level 1

When I call MobileCore.trackState("homePage", null); nothing is sent to Analytics.

And I followed all the Guides, deployed the extensions settings in the publishing flow. And nothing shows up in Analytics.