-
Notifications
You must be signed in to change notification settings - Fork 523
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
Unable to add "requirements" buildozer.spec #109
Comments
Resolved. The syntax requires modules to be comma separated w/o space So (1) works but (2) does not. (1) requirements = requests,kivy Recommendation : Update the comment in the buildozer.spec file with a sample. |
Would also be really good if when you omitted the requirements field in the spec file, buildozer checked to see if there was a requirements.txt file in the folder and if there was use it? |
Thoses are unfortunately not the same. Requirements might not match the one from python-for-android, even if we try to. Specially the version tag. That's said, it should be done anyway. |
And right now, as the user reported, this is a perfect example of not using the requirements.txt, as the one he showed includes lot of pyobjc. This is needed for desktop, but would be awful to get it on mobile. Cython is not needed on the target, it is only needed for compilation. Etc. Specific requirements is needed for your app anyway, and using |
I am getting a bit frustrated with kivy. I am just using online sample codes and still it does not work. on my Ubuntu 14.04 terminal after I type buildozer android debug deploy run it shows things are going well and at the end it types: Application pushed.Run on 4df149060fbf6f21Run '/home/yjon701/.buildozer/android/platform/android-sdk-20/platform-tools/adb shell am start -n com.wordpress.bytedebugger.accelplot/org.renpy.android.PythonActivity -a org.renpy.android.PythonActivity'Cwd /home/yjon701/.buildozer/android/platformStarting: Intent { act=org.renpy.android.PythonActivity cmp=com.wordpress.bytedebugger.accelplot/org.renpy.android.PythonActivity } Application started.but on my Samsung Galaxy III the screen of the 'loading ...' appears but then it crashes. Most of the codes I made for the android end in the same way. So I don't know what is wrong. Any idea? Thanks |
@YJonmo Please open a new issue, don't add to this old closed one which refers to a different problem. But before you do that, use |
When we use pip-install , it will install all indirect dependency, but it doesn't seem like buildozer would do that? |
When I add "requirements" to buildozer.spec, it does not seem to work.
Snippet from buildozer.spec
How pip free clearly shows that Cython is installed :
The text was updated successfully, but these errors were encountered: