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

Update tutorials.rst #124

Merged
merged 4 commits into from
Jan 29, 2023
Merged

Update tutorials.rst #124

merged 4 commits into from
Jan 29, 2023

Conversation

nekoprog
Copy link
Contributor

@nekoprog nekoprog commented Jan 28, 2023

Latest version of SDK, NDK and firebase-ads that's working.

Will eliminate errors such as

Execution failed for task ':checkDebugAarMetadata'.

and

android:exported needs to be explicitly specified for element <receiver#com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver>

Will close #99, #118, #122 and #123

Latest version of SDK, NDK and firebase-ads that's working.
Set android.enable_androidx = True
@nekoprog
Copy link
Contributor Author

Ads not showing, got errors

01-28 23:46:03.580 10547 10663 I python  : [INFO   ] [KivMob      ] __init__ called.
01-28 23:46:03.580 10547 10663 I python  : [INFO   ] [KivMob      ] Android platform detected.
01-28 23:46:03.584 10547 10663 I python  : [INFO   ] [KivMob      ] new_banner() called.
01-28 23:46:03.585 10547 10547 I python  :  Traceback (most recent call last):
01-28 23:46:03.585 10547 10663 I python  : [INFO   ] [KivMob      ] request_banner() called.
01-28 23:46:03.586 10547 10547 I python  :    File "/home/test/testmob/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/testmob/arm64-v8a/android/runnable.py", line 38, in run
01-28 23:46:03.586 10547 10663 I python  : [INFO   ] [KivMob      ] show_banner() called.
01-28 23:46:03.590 10547 10547 I python  :    File "/home/test/testmob/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/testmob/arm64-v8a/kivmob.py", line 188, in __init__
01-28 23:46:03.590 10547 10547 I python  :  NameError: name 'MobileAds' is not defined
01-28 23:46:03.602 10547 10547 I python  :  Traceback (most recent call last):
01-28 23:46:03.602 10547 10547 I python  :    File "/home/test/testmob/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/testmob/arm64-v8a/android/runnable.py", line 38, in run
01-28 23:46:03.603 10547 10547 I python  :    File "/home/test/testmob/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/testmob/arm64-v8a/kivmob.py", line 204, in new_banner
01-28 23:46:03.603 10547 10663 I python  : [WARNING] [Base        ] Unknown <android> provider
01-28 23:46:03.603 10547 10547 I python  :  NameError: name 'View' is not defined
01-28 23:46:03.604 10547 10663 I python  : [INFO   ] [Base        ] Start application main loop
01-28 23:46:03.609 10547 10663 I python  : [INFO   ] [GL          ] NPOT texture support is available
01-28 23:46:03.610 10547 10547 I python  :  Traceback (most recent call last):
01-28 23:46:03.610 10547 10547 I python  :    File "/home/test/testmob/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/testmob/arm64-v8a/android/runnable.py", line 38, in run
01-28 23:46:03.615 10547 10547 I python  :    File "/home/test/testmob/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/testmob/arm64-v8a/kivmob.py", line 221, in request_banner
01-28 23:46:03.615 10547 10547 I python  :    File "/home/test/testmob/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/testmob/arm64-v8a/kivmob.py", line 290, in _get_builder
01-28 23:46:03.616 10547 10547 I python  :  AttributeError: 'AndroidBridge' object has no attribute '_test_devices'
01-28 23:46:03.618 10547 10547 I python  :  Traceback (most recent call last):
01-28 23:46:03.619 10547 10547 I python  :    File "/home/test/testmob/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/testmob/arm64-v8a/android/runnable.py", line 38, in run
01-28 23:46:03.619 10547 10547 I python  :    File "/home/test/testmob/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/testmob/arm64-v8a/kivmob.py", line 225, in show_banner
01-28 23:46:03.619 10547 10547 I python  :  NameError: name 'View' is not defined

@MichaelStott
Copy link
Owner

tyvm!

@MichaelStott MichaelStott merged commit 94239b6 into MichaelStott:master Jan 29, 2023
@diogokravetz
Copy link
Contributor

Hello, even after the changes the errors in gradle still remain, when compiling buildozer return :
[WARNING]: ERROR: /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/kivmob/gradlew failed!

@diogokravetz
Copy link
Contributor

What could be the problem?

@MichaelStott
Copy link
Owner

I can try taking a look in a little bit. Haven't been able to dedicate much time to this project as of late.

@nekoprog
Copy link
Contributor Author

nekoprog commented Jan 31, 2023

Hello, even after the changes the errors in gradle still remain, when compiling buildozer return : [WARNING]: ERROR: /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/kivmob/gradlew failed!

@diogokravetz is the error about build.gradle': 79: Unexpected input: '{'?
I hope my latest PR #125 will fix it, forgot to remove single quote from my test build.spec before uploading to git.

I can try taking a look in a little bit. Haven't been able to dedicate much time to this project as of late.

@MichaelStott thanks, probably they have updated the admob pointer in new firebase-ads
i want to help, but not very familiar with java and jnius.

@diogokravetz
Copy link
Contributor

@nekoprog yes the error is in build.gradle': 79: Unexpected input: '{'

@mecrayavcin
Copy link

@nekoprog yes the error is in build.gradle': 79: Unexpected input: '{'

same

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

Successfully merging this pull request may close these issues.

can kivmob work with api 29?
4 participants