-
Notifications
You must be signed in to change notification settings - Fork 256
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
AttributeError: 'Class' object has no attribute '_JavaClass__cls_storage' #702
Comments
I upgraded pyjnius to 1.6.1,but i use bleak from bleak import BleakClient, BleakScanner
import asyncio
async def main():
return [{'name': d.name, 'addr': d.address} for d in await BleakScanner.discover() if d.name]
print(asyncio.run(main())) new error
|
python-for-android does not support Cython 3. kivy/python-for-android#2919 |
Wait, you got a problem with an old version of PyJnius. You found an issue that said "Oh, use a newer one", so you used upgraded and the problem went away. Yay. Now, you are having a different problem with bleak, which provides its own p4a recipe. This is a support problem - it doesn't belong here because we don't know (yet) if it is a problem with pyjnius at all. |
👋 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. |
Feel free to re-open the issue if it persists on a recent
pyjnius
version (on a supported Python 3 version)Originally posted by @misl6 in #608 (comment)
my environment
I used python-for-andoid to build a flask program:
When my program calls the following code :
adb show
help me
I used two mobile phones and a bluestack simulator, both of which reported the same error
The text was updated successfully, but these errors were encountered: