android / testing-samples

A collection of samples demonstrating different frameworks and techniques for automated testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BasicSample doesn't have the common_defs.bzl

FareesHussain opened this issue · comments

I was able to run the app using gradle without any issues.
But When I run the command
bazel build :all
to check the targets I've encounterd a error

ERROR: Skipping ':all': while parsing ':all': error loading package '': cannot load '//:common_defs.bzl': no such file
WARNING: Target pattern parsing failed.
ERROR: while parsing ':all': error loading package '': cannot load '//:common_defs.bzl': no such file
INFO: Elapsed time: 0.066s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)

Sorry for the trouble. I've found it in the root package.
I was check only in the BasicSample.

I guess I need to run the bazel commands from the root package