-
Notifications
You must be signed in to change notification settings - Fork 507
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
Error compiling Cython file #1769
Comments
I have similar one, when u got a solution, would u mention me pls |
@xxxkvastarasxxx |
That is what I have in my buildozer.spec file title = Test App package.domain = org.test source.include_exts = py,png,jpg,kv,atlas,data,ep,ico version = 0.1 requirements = python3==3.7.6,hostpython3==3.7.6,cython==0.29.33,kivy,kivymd==1.1.1,pillow presplash.filename = %(source.dir)s/data/presplash.jpg orientation = portrait osx.python_version = 3.7.6 fullscreen = 1 android.permissions = android.permission.INTERNET,android.permission.WRITE_EXTERNAL_STORAGE,android.permission.READ_EXTERNAL_STORAGE And the message that appears after compilling. RAN: /usr/bin/python3 '-cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main());' ./kivy/core/image/_img_sdl2.pyx STDOUT: Error compiling Cython file:... cdef size_t rwops_bytesio_write(SDL_RWops *context, const void *ptr, size_t size, size_t num) noexcept:
|
@xxxkvastarasxxx |
thanks, it was my bad! |
I ran into the same issue and the proposed fix worked for me. Though I can now build the APK, when it runs on device it crashes and shows log:
Is this as simple as specifying Edit: |
Versions
buildozer.spec
Command:
Spec file:
Logs
The text was updated successfully, but these errors were encountered: