tensorflow から Android の例をビルドしようとしていますが、迷惑なビルド エラーが発生し続けます。これまでの私の手順:
- SDK 用の Android Studio をインストールしました。(v24)
- ダウンロードした android NDK 10e (他のバージョンは動作しないようです)
- 追加でインストールされた SDK ビルド ツール 23.0.1 (v24 は動作しないようです)
- 開始モデルを使用して、アセット フォルダーを Android の例に追加しました
- NDK/SDK の場所を指すように WORKSPACE ファイルを編集しました。
TF のいくつかのバージョンを試しましたが、エラーが発生し続けます。何か案は?
エラー:
C++ compilation of rule '@protobuf//:protobuf' failed: namespace-sandbox failed: error executing command /home/sander/.cache/bazel/_bazel_sander/577a8dcd97360f56540bc1f3f08ac240/tf-cat-face/_bin/namespace-sandbox ... (remaining 51 argument(s) skipped).
src/main/tools/namespace-sandbox.c:697: execvp(argv[0], argv): No such file or directory
Target //tensorflow/examples/android:tensorflow_demo failed to build
Use --verbose_failures to see the command lines of failed build steps.