Skip to content

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

@Mahyarasadi

Description

@Mahyarasadi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions