File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -95,14 +95,21 @@ Select "Bazel Command" as Configuration type and add `//:testdpc` as
95
95
96
96
You can now run the project from inside Android Studio.
97
97
98
-
99
98
## Building with Bazel
100
99
101
100
The repository includes a `build.sh` script to build the application. The required
102
101
[setupdesign library](https://android.googlesource.com/platform/external/setupdesign/+/refs/heads/main)
103
102
is now imported and patched dynamically using the command line utility `ed`. This needs to be
104
103
available on the path to successfully build the project.
105
104
105
+ ### `ANDROID_HOME` environment setup
106
+
107
+ Bazel requires that you set the `ANDROID_HOME` environment variable to the path of your Android SDK.
108
+ As an example, you can add to your `.bashrc` on linux:
109
+ ```
110
+ export ANDROID_HOME=<Path to the Android SDK >
111
+ ```
112
+
106
113
## Support
107
114
108
115
If you've found an error in this sample, please file an issue:
You can’t perform that action at this time.
0 commit comments