BUILD FAILURE: No main.py(o) found in your app directory.
See original GitHub issueVersions
- Python: 3.7.1
- OS: ArchLinux
- Kivy:1.10.1
- Cython:0.29.1
Description
What am I doing wrong?? please help, I will be very grateful for any hint
Logs
[user@revenge kivy1]$ p4a apk --private main --name "Main4Kivy" --version 0.1 --bootstrap=sdl2 --requirements=kivy --arch=armeabi-v7a --package=org.example.main4
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI: 28
[INFO]: Available Android APIs are (28)
[INFO]: Requested API target 28 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK: /home/user/Documents/sdk_and_ndk/android-ndk-r17c-linux-x86_64/android-ndk-r17c
[INFO]: Got NDK version from $ANDROIDNDKVER: r17c
[INFO]: Found Android API target in $NDKAPI
[INFO]: Using Google NDK r17c
[INFO]: Found virtualenv at /usr/bin/virtualenv
[INFO]: ccache is missing, the build will not be optimized in the future.
[INFO]: Found the following toolchain versions: ['4.9']
[INFO]: Picking the latest gcc toolchain, here 4.9
[INFO]: Of the existing distributions, the following meet the given requirements:
[INFO]: unnamed_dist_1: min API 27, includes recipes (hostpython2, sdl2_image, sdl2_mixer, sdl2_ttf, python2, sdl2, six, pyjnius, kivy), built for archs (armeabi-v7a)
[INFO]: unnamed_dist_1 has compatible recipes, using this one
[INFO]: Of the existing distributions, the following meet the given requirements:
[INFO]: unnamed_dist_1: min API 27, includes recipes (hostpython2, sdl2_image, sdl2_mixer, sdl2_ttf, python2, sdl2, six, pyjnius, kivy), built for archs (armeabi-v7a)
[INFO]: unnamed_dist_1 has compatible recipes, using this one
[INFO]: -> directory context /home/user/.local/share/python-for-android/dists/unnamed_dist_1
BUILD FAILURE: No main.py(o) found in your app directory. This
file must exist to act as the entry point for you app. If your app is
started by a file with a different name, rename it to main.py or add a
main.py that loads it.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
BUILD FAILURE: No main.py(o) found in your app directory
BUILD FAILURE: No main.py(o) found in your app directory. This file must exist to act as the entry point for you app. If...
Read more >BUILD FAILURE: No main.py(o) found in your app directory.
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...
Read more >[buildozer] No main.py(o) found in your app directory.
BUILD FAILURE: No main.py(o) found in your app directory. This file must exist to act as the entry point for you app. If...
Read more >I keep compiling my kivy to .APK and I keep getting errors
BUILD FAILURE: No main.py(o) found in your app directory. github.com. BUILD FAILURE: No ... Author. Inside the TeeMah folder, there's .buildozer folder.
Read more >kivy-Buildozer: packed to android apk - Karobben
WARNING: Received a --sdk argument, but this argument is deprecated and does nothing. BUILD FAILURE: No main.py(o) found in your app directory.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Change your main source code file name to main.py. It will be in the folder in which you have initialized buildozer (bulldozer init)
I don’t get the
--private
thing, is it a flag to add along with buildozer?