-
Notifications
You must be signed in to change notification settings - Fork 498
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
App crashes on android when using plyer camera #522
Comments
Adding "android" to the buildozer requirements worked for me... as I found out after hours of screwing around with plyer code. |
Thanks for the note, maybe the plyer recipe should depend on the android module, although it's not strictly a hard dependency. |
@benjamingeorgedanielryan adding "android" to the buildozer requirements --- do you mean in the buildozer.spec? |
@Shamsyuhada Yes, add to the requirements list in the buildozer.spec alongside python2, kivy etc in the example above. |
i have the same problem but put "android" on the requirements don't work. |
I also have same problem, putting "android" in .spec file isn't working!!!! App crashes |
This isn't a buildozer issue to me. |
Is there any resolution to this ? I came here with the same problem. What do I need to provide to get some assistance ? |
@codinghedgehog-python Please feel free to open a bug on the plyer repository, but it's unlikely anyone will pick it up soon. If you'd like help debugging it yourself, I suggest asking on the kivy discord channels. |
Hi all,
I am trying to build an apk package using buildozer. The app uses kivy plyer camera. The app starts normally on the phone and crashes when trying to access the camera. I couldn't find the exact cause, after some searching I realized that maybe it is related to the new python-for-android package. Below you can find the code.
main.py
buildozer.spec:
The app originally from:
http://blog.rhesoft.com/2014/07/19/python-for-android-tutorial-2-taking-a-picture/
The text was updated successfully, but these errors were encountered: