Android Question FirebaseAdMob

Hello.
I have sent several problems to the Admob library but I did not get a definitive answer.

The first problem is the error that is seen in the first image and considering that these libraries have been added
#AdditionalJar: androidx.lifecycle:lifecycle-service
#AdditionalJar: androidx.work:work-runtime
But I still have the same error.






The next one is the error when publishing the app on Google

Although this access has also been given to the manifest
AddPermission(com.google.android.gms.permission.AD_ID)
But again this error appears in the console when publishing



Based on the research I conducted, this access should also be included in the library itself.

The last thing I have to ask Earl is to provide us with the complete Libs_FirebaseAdMob library with Gradle that can be exported directly in the studio or in Eclipse as a zip so that we can compile it when necessary.
There is a version of the library on GitHub, but it is not complete.

https://github.com/AnywhereSoftware/B4A/tree/master/Libs_FirebaseAdMob
 

asales

Expert
Licensed User
Longtime User
This is my experience:
#AdditionalJar: androidx.work:work-runtime
- I updated my app in Play Store, with this line, but until now Google don't release the app to test if it works.

- I updated the Ads components in the SDK manager to check if the error can be solved.

- This error is not happens with all devices. To me occours in 1% of the users of my app.

AddPermission(com.google.android.gms.permission.AD_ID)
- This line is add automatically when check the lib and add the macros in the manifest. I don't include manually.
I have dozens of apps use this way in Play Store and, until now, I get a error like you show. All apps are checked with it has the advertising ID.

Please, put all the content of your manifest and a picture of the libs that you use in the app.
Maybe this could give more information to help you.
 
Upvote 0
Thanks for your attention and response.
I have had 15 errors related to
#AdditionalJar: androidx.work:work-runtime
so far and unfortunately it is increasing

And here is a picture of my project manifest and libraries. I also created a small project and it still had the same error.






Even once I removed the
AddPermission(com.google.android.gms.permission.AD_ID)
permission and sent it, it still had an error. I sent it without this permission, it still had an error.
 

Attachments

  • 1749226580557.png
    43.3 KB · Views: 63
Upvote 0

asales

Expert
Licensed User
Longtime User
#AdditionalJar: androidx.work:work-runtime
One of my apps has been updated with this line and I will check if there are any changes when users update their installed version.

I am updating other apps but sometimes it takes longer for the Play Store to release the version.

It looks like everything is set up correctly based on your screenshots.

The problem is likely caused by an update to the Google Mobile Ads SDK (AdMob) or one of its dependencies, as the issue was fixed before and has now returned.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…