Build Error in "tflite-runtime" Recipe
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- android, cmake, python
- 領域
- build-system, mobile
調査の方向性
添付されたビルドログとBuildozer_specFail.txtから始め、recipes/tflite-runtime/init.py、CMakeLists.patch、build_with_cmake.patchを調べてください。Androidデバッグビルドを再現し、未定義シンボルをrecipeの設定まで追跡してください。tflite-runtime recipeが正常にビルドされ、APKを生成すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 8.9k
- フォーク
- 2k
- 平均マージ
- 3日 12時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kivy/python-for-android のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
kivy/python-for-android#3335 · コメント 1 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Documentation easy
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
kivy/python-for-android#3326 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Documentation easy Priority: Low
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
kivy/python-for-android#3299 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
kivy/python-for-android#3381 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
kivy/python-for-android#3364 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
kivy/python-for-android の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
gradio-app/gradio#13964 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 93/100
BSData/horus-heresy-3rd-edition#3232 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jbacalso24/mimry#123 ·
メンテナーはふだん 1 日以内に返信
-
p:3-mid pydanty:bug pydanty:is-working
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
pydantic/pydantic-ai#10153 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue priority: medium size: S testing
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
cubrid-lab/cubrid-cookbook-python#316 ·
メンテナーはふだん 1 日以内に返信