-
Notifications
You must be signed in to change notification settings - Fork 38
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
Android 10 - JNI error after set_rewarded_ad_listener() called #103
Comments
show us your python code and buildozer.spec file we can't just figure out what the issue is without any code or just logs. |
Buildozer spec and code snippet attached. |
Hi again, |
@nikosgrikos Not as of yet, I'll be working on this project soon to address some issues that have been slowly accumulating. |
I made a further observation (tested on a OnePlus 7Pro android 10 phone model GM1913) |
Hi,
My live app is working on Android 9 and lower but has problems working on Android 10.
I'm using kivy==master and branch==develop (and also tried android ndk=20b) in the buildozer spec. I borrowed an Android 10 phone and managed to obtain a log. I think it has something to do with set_rewarded_ad_listener() call as when I took it out, it functions perfectly.
I originally posted this on the Kivy users group (see link) and Robert explained that it was something to do with garbage collection with Python and Java working on the same heap.
Original post:
https://groups.google.com/d/msgid/kivy-users/0b11f407-faba-4727-af6a-894f928a91efn%40googlegroups.com.
Snippet of log below:
03-21 19:05:30.982 18943 18977 I python : [INFO ] [KivMob ] init called.
03-21 19:05:30.982 18943 18977 I python : [INFO ] [KivMob ] Android platform detected.
03-21 19:05:30.983 18943 18977 I python : [INFO ] [KivMob ] set_rewarded_ad_listener() called.
03-21 19:05:30.985 18943 18977 F onkeybuster204: indirect_reference_table.cc:60] JNI ERROR (app bug): accessed deleted Global 0x8a22
03-21 19:05:30.990 18943 18943 I onkeybuster204: The ClassLoaderContext is a special shared library.
03-21 19:05:30.992 18943 18943 I chatty : uid=10594(org.nikosgrikos.monkeybuster2048) identical 1 line
03-21 19:05:30.995 18943 18943 I onkeybuster204: The ClassLoaderContext is a special shared library.
03-21 19:05:31.055 18943 18977 F onkeybuster204: runtime.cc:630] Runtime aborting...
I really could do with some help on this one as almost 50% of android users are now using android 10.
Nick
The text was updated successfully, but these errors were encountered: