马飞扬
马飞扬

Reputation: 11

Miss inpout file @androidsdk//:build-tools/26.0.1/aapt when compiling tensorflow android demo with bazel

I want to compile the Tensorflow Android demo in Ubuntu with Bazel

enter image description here

I also tried this command after searching but another error occurred:

sudo apt-get install lib32stdc++6 lib32z1

enter image description here

I changed WORKSPACE file buildtools to 26.0.2,and the result of compilation is as follows:

enter image description here

What I can do?

Upvotes: 0

Views: 213

Answers (1)

László
László

Reputation: 4271

  1. Use path names with ASCII characters only. I'm not sure Bazel works correctly with paths that contain non-ASCII characters.

  2. Make sure you installed the Android SDK.

  3. Open /home/fancy/AI/tensorflow/WORKSPACE in an editor, and make sure that:

    • the android_sdk_repository and android_ndk_repository rules are uncommented (don't have a # before them), and
    • these rules have a path attribute, which specifies the absolute path to the Android SDK and NDK, respectively

Upvotes: 1

Related Questions