Skip to content

:Class not found b'org/kivy/android/PythonActivity$ActivityResultListener' #2039

Closed

Description

@tomgold182

Versions

  • Python: 3.6
  • OS: android
  • Kivy: 1.11.11
  • Cython:

Description

i am trying to do the following ( used in the plyer library)

android.activity.bind(on_activity_result=self._on_activity_result)

    def _on_activity_result(self, requestCode, resultCode, intent):
        print('in activity result')
        if requestCode != 0x123:
            print('in if')
            return
        print('before unbind')
        android.activity.unbind(on_activity_result=self._on_activity_result)
        print('after unbind')
        if self.on_complete(self.filename):
            print('in if 2')
            self._remove(self.filename)

And getting the following error:

Class not found b'org/kivy/android/PythonActivity$ActivityResultListener'
 Exception in connect function: object of type 'NoneType' has no len()

Activity

  1. github-actions commented on Nov 19, 2023

    @github-actions

    👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

    If you're having trouble installing or using python-for-android, maybe you could be interested in our quickstart guide.

    Let us know if this comment was made in error, and we'll be happy to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions