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 b'org/kivy/android/PythonActivity$ActivityResultListener' #2039

Closed
tomgold182 opened this issue Dec 16, 2019 · 1 comment
Closed
Labels

Comments

@tomgold182
Copy link
Contributor

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()
Copy link

👋 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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants