Skip to content

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

@cTas0099

Description

@cTas0099

Versions

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions