BUILD FAILURE: No main.py(o) found in your app directory.

1,349 views
Skip to first unread message

vadr...@gmail.com

unread,
Mar 10, 2018, 6:43:00 PM3/10/18
to kivy-...@googlegroups.com
Hey

I'm trying to make a .apk but buildozer is showing this error message


BUILD FAILURE: No main.py(o) found in your app directory.

I have edited the buildozer.spec file and I have

"source.dir = ."

I'm not sure how to fix this. Please help

ZenCODE

unread,
Mar 11, 2018, 3:48:41 AM3/11/18
to Kivy users support
Do you have a main.py file in this folder? And is this the main application file?

Thanks

vadr...@gmail.com

unread,
Mar 11, 2018, 10:33:43 AM3/11/18
to Kivy users support
Hi, I somehow fixed this error, but Im getting a different one. It is saying

IOError: Errno2 No such file or directory: u /media/jack/test1/AppOne/.buildozer/android/platform/build/dists/App/build/outputs/apk/App-debig/apk

ZenCODE

unread,
Mar 11, 2018, 2:28:59 PM3/11/18
to Kivy users support
Does you app name have a space in it? If your log_level set to 2? Please post the full error log.

Thanks

vadr...@gmail.com

unread,
Mar 11, 2018, 7:35:13 PM3/11/18
to kivy-...@googlegroups.com
Hello. I'm currently away from my Computer and cannot access the Buildozer.
Yes, the name had a space in it.
I seen another post something about buildozer bug (https://github.com/kivy/buildozer/pull/597/files)
I tried doing that, but couldn't find the "buildozer/targets" file. 


ZenCODE

unread,
Mar 12, 2018, 12:29:43 PM3/12/18
to Kivy users support
Try renaming your app so there is not space in it. Remember you can always have a space in the icon or displayed name, but for buildozer, try an internal name without a space.

vadr...@gmail.com

unread,
Mar 12, 2018, 1:29:15 PM3/12/18
to Kivy users support
Tried without space. Still didn't work.

vadr...@gmail.com

unread,
Mar 13, 2018, 6:46:03 PM3/13/18
to kivy-...@googlegroups.com
What should I do ?

ZenCODE

unread,
Mar 14, 2018, 3:47:28 AM3/14/18
to Kivy users support
Post you full log file...

vadr...@gmail.com

unread,
Mar 17, 2018, 3:19:31 PM3/17/18
to Kivy users support

Alexander Taylor

unread,
Mar 18, 2018, 9:53:12 AM3/18/18
to Kivy users support
This arises from a bug in buildozer, your apk is probably in /media/jack/test1/AppOne/.buildozer/android/platform/build/dists/App/bin

vadr...@gmail.com

unread,
Mar 18, 2018, 2:21:51 PM3/18/18
to kivy-...@googlegroups.com
Hello, I checked the folder and it contains .ap_ files not .apk files. What do I do ?
Update. I checked again and it has a "AppOne-debug" .apk file, but when I ran it on an android device, it was showing the Kivy Loading splash screen image, then it said ... "Unfortunately, AppOne has stopped."
I checked the .apk on my Pc (opened it with Winrar) and it contains these files

I'm not sure what to do now. Please help :(

Ganesh J

unread,
Aug 28, 2018, 10:45:53 AM8/28/18
to Kivy users support
how you resolved can you help me.
Reply all
Reply to author
Forward
0 new messages