Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel sync project with build file failed in Android Studio #730

Closed
SmartAndroidCoder opened this issue May 22, 2020 · 1 comment
Closed

Comments

@SmartAndroidCoder
Copy link

SmartAndroidCoder commented May 22, 2020

I have imported a project in android studio with the option Generate from Build file
BUILD
directories:
#readprojectsettings,e.g.,.bazelrc
.
-mediapipe/java
-mediapipe/examples/android
targets:
//mediapipe/examples/android/...:all
//mediapipe/java/...:all
android_sdk_platform:android-29

I am facing sync error

ERROR: /home/users/yogendra.singh/.cache/bazel/_bazel_yogendra.singh/2b078f59f89ffa98a61c405a3f330576/external/androidndk/BUILD.bazel:41:1: in cc_toolchain_suite rule @androidndk//:toolchain-libcpp: cc_toolchain_suite '@androidndk//:toolchain-libcpp' does not contain a toolchain for cpu 'k8'

Screenshot

I'd really appreciate it if someone could share the correct way of doing it. Thanks!

@mgyong mgyong closed this as completed Jun 2, 2020
@sheep94lion
Copy link

I met a similar problem. Have you solved it?
#402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants