-
Notifications
You must be signed in to change notification settings - Fork 506
Open
Description
I followed the macOS setup guides but skipped installing Android Studio since it was listed as optional and I’m currently targeting iOS only. After bootstrapping successfully using the -p flag to skip project sync, I ran into an error during the iOS install step. The error appears to be related to the ANDROID_NDK_HOME environment variable.
valdi install ios
No application specified querying available targets...
Running Bazel command: bazel query 'attr("tags", "valdi_ios_application", //...)'
Starting local Bazel server and connecting to it...
checking cached actions
Loading: 0 packages loaded
Only one valdi_application target found, using it: //:traveler_tospik_app_ios
Building: //:traveler_tospik_app_ios
Installing iOS application...
Running Bazel command: bazel run //:traveler_tospik_app_ios --snap_flavor=platform_development --repo_env=VALDI_PLATFORM_DEPENDENCIES=ios
INFO: Repository androidndk instantiated at:
/Users/dorukgunes/Projects/Personal/traveler_tospik/WORKSPACE:58:27: in <toplevel>
/private/var/tmp/_bazel_dorukgunes/b593f73ae4d2e49f60312032854ed114/external/valdi/bzl/workspace_init.bzl:165:31: in valdi_initialize_workspace
/private/var/tmp/_bazel_dorukgunes/b593f73ae4d2e49f60312032854ed114/external/valdi/bzl/workspace_init.bzl:77:27: in _register_android_deps
Repository rule android_ndk_repository defined at:
/private/var/tmp/_bazel_dorukgunes/b593f73ae4d2e49f60312032854ed114/external/rules_android_ndk/rules.bzl:127:41: in <toplevel>
ERROR: An error occurred during the fetch of repository 'androidndk':
Traceback (most recent call last):
File "/private/var/tmp/_bazel_dorukgunes/b593f73ae4d2e49f60312032854ed114/external/rules_android_ndk/rules.bzl", line 28, column 13, in _android_ndk_repository_impl
fail("Either the ANDROID_NDK_HOME environment variable or the " +
Error in fail: Either the ANDROID_NDK_HOME environment variable or the path attribute of android_ndk_repository must be set.
ERROR: Analysis of target '//:traveler_tospik_app_ios' failed; build aborted: Either the ANDROID_NDK_HOME environment variable or the path attribute of android_ndk_repository must be set.
INFO: Elapsed time: 0.466s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target
FAILED:
Fetching repository @@local_jdk; starting
Fetching repository @@bats_toolchains; starting
Fetching repository @@build_bazel_rules_swift_local_config; starting
Failed to run target: //:traveler_tospik_app_ios
Metadata
Metadata
Assignees
Labels
No labels