Trying to build an APK from a very simple kivy app. I am running on Ubuntu 18.04 using buildozer version 0.39.
In my buildozer.spec file, I have the following lines (in addition to the standard stuff):
.
.
.
[INFO]: Building python3 for armeabi-v7a
[INFO]: -> directory context /home/jra/PycharmProjects/kivyPlay/tmp/.buildozer/android/platform/build/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/android-build
[WARNING]: Doing some hacky stuff to link properly
[INFO]: -> running cp /home/jra/.buildozer/android/platform/android-nd...(and 60 more)
[INFO]: -> running cp /home/jra/.buildozer/android/platform/android-nd...(and 58 more)
[INFO]: -> running configure --host=arm-linux-androideabi --build=x86_...(and 190 more)
wo[INFO]: -> running make all -j 4 INSTSONAME=libpython3.7m.sos active (PGO, etc),
working: changing mode of build/scripts-3.7/pyvenv from 644 to 755 [INFO]: <- directory context /home/jra/Downloads/python-for-android-master
[INFO]: Building sdl2 for armeabi-v7a
[ERROR]: Build failed: Couldn't find executable for CC. This indicates a problem locating the arm-linux-androideabi-gcc executable in the Android NDK, not that you don't have a normal compiler installed. Exiting.
Searching path are: '/home/jra/.buildozer/android/platform/android-ndk-r19/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/:/home/jra/.buildozer/android/platform/android-ndk-r19/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/:/home/jra/.buildozer/android/platform/android-ndk-r19:/home/jra/.buildozer/android/platform/android-sdk/tools:/home/jra/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/jra/Downloads/brlcad-build/bin:/usr/lib/jvm/default-java/bin:/home/jra/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jra/bin'
I have attached the complete buildozer.spec and the complete log.
I have seen other complaints about this problem, but no fixes. Can anyone help me?