C compiler cannot create executables

267 views
Skip to first unread message

Dirk Van Essendelft

unread,
Aug 29, 2023, 9:18:42 PM8/29/23
to Kivy users support
I'm trying to make my first android app from a simple example I found on youtube.  I am running on windows 11.  I can get the app to run in windows by running 'python main.py' and it launches and runs just fine.  I am trying to get this to build into an android app using 'buildozer android debug' and it ends in a 'C compiler cannot create executable' error.  I've attached the main.py file, buildozer.spec file and the screen output in the log.txt file.  I'm not sure where to go from here.  I've tried doing a 'chmod 777 -R .buildozer'.
main.py
log.txt
buildozer.spec

Dirk Van Essendelft

unread,
Aug 29, 2023, 9:19:57 PM8/29/23
to Kivy users support
I should also say that I am running buildozer in Ubuntu using wsl and it is the 64 bit version.

Dirk Van Essendelft

unread,
Aug 29, 2023, 9:46:55 PM8/29/23
to Kivy users support
google searching is not really helpful in trying to find a solution.  I started searching in here and found some advice about setting the wsl to version 2.  I thought my default was 2 but for some reason the ubuntu was installed with version 1.  updating it got me past the error.  its still building and taking quite a while.  I will let you know if it builds or if I have more errors

Robert

unread,
Aug 29, 2023, 10:25:49 PM8/29/23
to Kivy users support

Dirk Van Essendelft

unread,
Aug 29, 2023, 11:25:42 PM8/29/23
to Kivy users support
Thanks Robert.

Ok it built after about an hour.  It made an apk and I copied that to my phone and installed it, but the application loads a splash screen saying "loading" and then quits.  Now what should I look into. I'm trying to run on an pixel 4a with android 13.  Any advice here would be appreciated.  I'm new to making android apps.

Robert

unread,
Aug 29, 2023, 11:38:21 PM8/29/23
to Kivy users support
Reply all
Reply to author
Forward
0 new messages