You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a source Android Library (no app), in the test package, I create an Android Binary and try to use composer_instrumentation_test error is linked below
# Test app and library
android_binary(
name = "test_app",
manifest = "AndroidManifest.xml",
deps = ["//android/observer"],
# ...
)
composer_instrumentation_test(
name = "BasicSampleComposerTest",
test_apk = ":test_app",
device_type = "pixel", # pixel, pixel_c, nexus_4, generic_4_7, etc.
api_level = 28, # Ensure that you have the required system image downloaded into your SDK
google_apis = True,
)
ERROR: /Users/changd/dev/xplat/android/dbx/base/observer/src/androidTest/java/com/dropbox/base/observer/BUILD.bazel:31:1: every rule of type composer_instrumentation_test implicitly depends upon the target '@androidsdk//:tools/bin/avdmanager', but this target could not be found because of: no such target '@androidsdk//:tools/bin/avdmanager': target 'tools/bin/avdmanager' not declared in package ''; however, a source file of this name exists. (Perhaps add 'exports_files(["tools/bin/avdmanager"])' to /BUILD?) defined by /private/var/tmp/_bazel_changd/ce997885b764ebcf5b86af5c7d6656de/external/androidsdk/BUILD.bazel
ERROR: /Users/changd/dev/xplat/android/dbx/base/observer/src/androidTest/java/com/dropbox/base/observer/BUILD.bazel:31:1: every rule of type composer_instrumentation_test implicitly depends upon the target '@androidsdk//:tools/emulator', but this target could not be found because of: no such target '@androidsdk//:tools/emulator': target 'tools/emulator' not declared in package ''; however, a source file of this name exists. (Perhaps add 'exports_files(["tools/emulator"])' to /BUILD?) defined by /private/var/tmp/_bazel_changd/ce997885b764ebcf5b86af5c7d6656de/external/androidsdk/BUILD.bazel
The text was updated successfully, but these errors were encountered:
I have a source Android Library (no app), in the test package, I create an Android Binary and try to use
composer_instrumentation_test
error is linked belowSetup
Bazel 1.0.0
MacOSX 10.15
Error
The text was updated successfully, but these errors were encountered: