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

Class not found 'org/renpy/android/PythonActivity' #15

Closed
CikoXp opened this issue Jun 6, 2020 · 1 comment
Closed

Class not found 'org/renpy/android/PythonActivity' #15

CikoXp opened this issue Jun 6, 2020 · 1 comment

Comments

@CikoXp
Copy link
Contributor

CikoXp commented Jun 6, 2020

Builded my kivy apk with buildozer and installed on my Android 10 Pie (API 29), App crashes immediately after start and ADB Logcat give me this error.
After some days of research i founded the way to fix building the 1st apk only to populate the .buildozer folder and manually editing this file:

kivy_garden/xcamera/android_api.py

where at line 7 i changed:

AndroidPythonActivity = autoclass('org.renpy.android.PythonActivity')

with

AndroidPythonActivity = autoclass('org.kivy.android.PythonActivity').

This fix solves the error and Apk works as expected, but ther's a reason if github repo is not updated? Can someone consider to apply this update?
Or someone knows a way to set buildozer to auto edit this line before compile? Maybe a sort of patch?
Thanx for the help.

@AndreMiras
Copy link
Collaborator

Yes please make a pull request. The renpy was dropped some weeks ago and not all project made the transition it seems

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

2 participants