Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Build Error in "tflite-runtime" Recipe

オープン
#3,191 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, cmake, python

調査の方向性

添付されたビルドログとBuildozer_specFail.txtから始め、recipes/tflite-runtime/init.py、CMakeLists.patch、build_with_cmake.patchを調べてください。Androidデバッグビルドを再現し、未定義シンボルをrecipeの設定まで追跡してください。tflite-runtime recipeが正常にビルドされ、APKを生成すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

  1. Activated the Python virtual environment .
  2. Navigated to the directory.
  3. 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.

buildozer_build_20250820_103330.log
Buildozer_specFail.txt

主要言語
Python
スター
8.9k
フォーク
2k
平均マージ
3日 12時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

kivy/python-for-android のほかの issue

kivy/python-for-android の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。