kvdroid / Kvdroid

Some Pyjnius tools for Kivy-Android developments.
MIT License
101 stars 24 forks source link

Cannot import kvdroid #5

Closed YarosMallorca closed 3 years ago

YarosMallorca commented 3 years ago

Hello, I have been trying to import kvdroid into my app but this is the error I get: ImportError: cannot import name 'activity' from 'kvdroid' (C:\Users\siuba\AppData\Local\Programs\Python\Python37\lib\site-packages\kvdroid\__init__.py)

It makes sense, because there is no activity.py inside the module folder!

yunus-ceyhan commented 3 years ago

which version of kvdroid are you using? the latest one is 0.2.0

YarosMallorca commented 3 years ago

I am using the latest version of kvdroid and kivy My OS is Windows 10 64-bit

yunus-ceyhan commented 3 years ago

Kvdroid is only callable on Android. So try to test it on Pydroid3.

https://play.google.com/store/apps/details?id=ru.iiec.pydroid3&hl=en&gl=US

YarosMallorca commented 3 years ago

Okay! Thank you!

YarosMallorca commented 3 years ago

Sorry for closing, same error!

YarosMallorca commented 3 years ago

Screenshot_20210403-141708_Pydroid 3.jpg

YarosMallorca commented 3 years ago

@yunus-ceyhan This is on pydroid3!

yunus-ceyhan commented 3 years ago

It requires Kivy.

import kivy from kvdroid import ...

YarosMallorca commented 3 years ago

Thanks!