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
Skipping '//src/main:app': no such package 'src/main': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
#213
Open
Kiru3014 opened this issue
Jul 3, 2021
· 1 comment
Hi Trying to the example
https://docs.bazel.build/versions/3.3.0/tutorial/android-app.html
on running bazel build //src/main:app cmd in powershell
getting following error
android_binary folder
android_binary(
name = "app",
manifest = "AndroidManifest.xml",
deps = ["//src/main/java/com/example/bazel:greeter_activity"],
)
android_lib
package(
default_visibility = ["//src:subpackages"],
)
android_library(
name = "greeter_activity",
srcs = [
"Greeter.java",
"MainActivity.java",
],
manifest = "AndroidManifest.xml",
resource_files = glob(["res/**"]),
)
The text was updated successfully, but these errors were encountered: