Hello everyone i have en error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/.buildozer/android/platform/android-sdk/build-tools/35.0.0/aidl'
I tryed to use https://github.com/Android-for-Python/Android-for-Python-Users#aidl-not-found help, nothing happened new – i have the same error.
I have bash script for termux:
#!/bin/bash
GREEN='33[0;32m'
RED='33[41m=1'
# Перевірка, чи встановлено buildozer, і встановлення, якщо ні
if ! [ -x "$(command -v buildozer)" ]; then
echo '${RED} Buildozer is not installed. Installing buildozer and dependencies...'
pkg update -y
pkg upgrade -y
pkg install -y python build-essential git
pip install buildozer
#pip install kivy==2.3.0
pip install Cython
pkg install -y openjdk-17
pkg install -y unzip
pkg install -y libffi openssl readline lzma gdbm
pip install --upgrade pip setuptools
pkg install dos2unix
git clone https://github.com/madler/zlib
cd ./zlib
./configure --prefix=$PREFIX
make all
make install
fi
# Перетворення файлів у формат Unix
dos2unix /storage/emulated/0/Documents/GenCoreLite/scripts/build_script.sh
dos2unix /storage/emulated/0/Documents/GenCoreLite/buildozer.spec
# Ініціалізація buildozer, якщо buildozer.spec не існує
if [ ! -f /storage/emulated/0/Documents/GenCoreLite/buildozer.spec ]; then
echo 'Initializing buildozer...'
cd /storage/emulated/0/Documents/GenCoreLite
buildozer init
fi
# Оновлення buildozer.spec для включення необхідних файлів
sed -i 's/^source.include_exts =.*/source.include_exts = py,png,jpg,kv,atlas,ogg,wav,mp3/' /storage/emulated/0/Documents/GenCoreLite/buildozer.spec
# Запуск компіляції APK файлу
echo 'Building APK file...'
cd /storage/emulated/0/Documents/GenCoreLite
buildozer android debug
echo 'Build process finished. Check the bin directory for the APK file.'
What i need to do to fix the problem, cuz in official kivy server one mod told me that:
You won't be able to build on termux as the ndk/sdk have x86(_64) binaries and thus won't run on arm. Github Actions or Google Colab would be able to run a build, if you can run on local hardware.
I need to run buildozer in termux, so i need alternative which can use in arm system or any recomendations