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

'AndroidBridge' object has no attribute '_interstitial' #135

Open
Mahyarasadi opened this issue May 7, 2023 · 3 comments
Open

'AndroidBridge' object has no attribute '_interstitial' #135

Mahyarasadi opened this issue May 7, 2023 · 3 comments

Comments

@Mahyarasadi
Copy link

Hi,
I compiled the test program in README.md and it was transferred to phone without any error when I click on the ads button no test ad is shown and I receive the following error on adb:

eabi-v7a/build/python-installs/kivmob/arm64-v8a/kivmob.py", line 279, in _is_interstitial_loaded
05-07 13:31:07.689 18176 18176 I python  :  AttributeError: 'AndroidBridge' object has no attribute '_interstitial'

buildozer.spec:

requirements = python3, kivy, android, jnius, https://github.com/MichaelStott/KivMob/archive/refs/heads/master.zip
android.permissions = INTERNET, ACCESS_NETWORK_STATE
android.api = 33
android.minapi = 21
android.sdk = 33
android.ndk = 25b
android.gradle_dependencies = com.google.firebase:firebase-ads:21.4.0
android.enable_androidx = True
p4a.branch = master
android.meta_data = com.google.android.gms.ads.APPLICATION_ID=ca-app-pub-3940256099942544~3347511713

I have tested the following firebase versions but all of them led to the same results.

android.gradle_dependencies = com.google.firebase:firebase-ads:21.4.0
android.gradle_dependencies = com.google.firebase:firebase-ads:19.4.0
android.gradle_dependencies = com.google.firebase:firebase-ads:15.0.0
@boyintheroom
Copy link

@Mahyarasadi try 19.8.0
But clean before you build again.

buildozer android clean

@carlos-mx
Copy link

Hi. I also got the same error; modifying the firebase version didn't work out.

@Mglt-b
Copy link

Mglt-b commented Jun 25, 2023

hello, did you find an issue ?

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