Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App with AdmobFullscreenAd doesn't compile anymore for android #3806

Open
lacsap3 opened this issue May 17, 2024 · 5 comments
Open

App with AdmobFullscreenAd doesn't compile anymore for android #3806

lacsap3 opened this issue May 17, 2024 · 5 comments
Assignees

Comments

@lacsap3
Copy link

lacsap3 commented May 17, 2024

My App with AdmobFullscreenAd doesn't compile anymore for android after adding these build hints:

android.newFirebaseMessaging=true
possibly android.playService.ads=22.6.0

I use the CN1Extensions:

  • Admob Fullscreen Ads (version 3)
  • Codename One CodeScanner Library (version 9)
  • QR code generator (version 1)
  • QRScanner (version 4)

I've attached the error log:
error_log.txt

@shai-almog shai-almog assigned shai-almog and shannah and unassigned shai-almog May 17, 2024
@Eric-Chomba
Copy link
Contributor

I reported a similar problem here

Admob Fullscreen Ads Dependancy is missing in the Extensions.

Is there a temporary solution to add it to the project?

@Eric-Chomba
Copy link
Contributor

@lacsap3 can you successfully run this project with AdMobFullScreen in a simulator?

From your build error log, InterstitialAd class which is part of AdMobManager is missing. But if the project with AdMobFullScreen runs successfully in a simulator, it should build android app successfully.

Also note, according to this you shouldn't use CodeScanner & QRScanner together.

@lacsap3
Copy link
Author

lacsap3 commented Jul 15, 2024

The APP runs in the simulator without any problems.
In the past, before I updated the BuildHints, building was no problem either.
I will try adding the missing library manually.

I have both CodeScanner & QRScanner in, as one is needed for android and the other for ios.

@lacsap3
Copy link
Author

lacsap3 commented Nov 1, 2024

I tried a bit more and found out that if you increase android.playService.ads above 19.4.0 the app crashes (e.g. at 19.6.0) and if you increase it to 22.6.0 it won't build anymore.

@Eric-Chomba
Copy link
Contributor

I tried a bit more and found out that if you increase android.playService.ads above 19.4.0 the app crashes (e.g. at 19.6.0) and if you increase it to 22.6.0 it won't build anymore.

Try version 19.8.0.

Why not remove this build hint and let builder to automatically insert the version which is compatible by default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants