Build Error in "tflite-runtime" Recipe
I'm using Buildozer to build a Python program using "tflite-runtime" and generate an APK file for installation on Android(SmartPhone). I set up the Buildozer environment and directory structure, and ran Buildozer using the "tflite-runtime" directory in the "python-for-android-release-2024.01.21" recipe, but I get the following error. I'm having trouble with this.
■Build Error (excerpt)
undefined symbol: tflite::ops::builtin::BuiltinOpResolver::BuiltinOpResolver()
■Environment ・Base OS: Ubuntu 22.04
■Python Virtual Environment: ・Python version: 3.10.12 ・Buildozer version: 1.5.0
■Directory Structure at Build Time ~/test_build/ ├── main.py ├── buildozer.spec └── recipes/ └── tflite-runtime/ ├── CMakeLists.patch ├── init.py └── build_with_cmake.patch ※ I created a local directory and copied the recipe from into it. I have not modified any files inside the directory. In , I’ve set .
■Build Steps
- Activated the Python virtual environment .
- Navigated to the directory.
- Ran the following command: "buildozer -v android debug 2>&1 | tee buildozer_build_$(date +%Y%m%d_%H%M%S).log"
I would greatly appreciate any guidance on how to resolve this error and successfully generate the APK file. Thank you in advance for your support!
Supplement: As a supplement, I am attaching the "buildozer.spec" I am currently using and the build log file.