Skip to content

PythonActivity.mActivity causes app crash with new toolchain #995

@WillDHB

Description

@WillDHB

The following code causes an app to crash instantly:

from jnius import autoclass
PythonActivity = autoclass('org.renpy.android.PythonActivity')
ac = PythonActivity.mActivity

I have encountered this in a Kivy app I've built with buildozer, and have seen the issue across multiple devices. I have also reproduced this issue in the remote shell. I had not seen this occur when using the old toolchain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions