Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Nov 24, 2019

Fixes #520 #510

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

The plyer's Android camera module had an unused and deprecated PythonActivity. Removing it avoids crashing.

@tomgold182
Copy link

@franccisco i have checked your fix. it not crushing about the deprecated import anymore,
but now it crashes with this error:
Class not found 'org/jnius/NativeInvocationHandler

@ghost ghost changed the title Fix for Android camera module Remove deprecated PythonActivity from android/camera Jan 23, 2020
Copy link

@Fak3 Fak3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

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.

jnius.jnius.JavaException: Class not found b'org/renpy/android/PythonActivity' when trying to use the takePicture function

2 participants