Skip to content

Commit 034ec33

Browse files
brettchabotcopybara-androidxtest
authored andcommitted
Refresh bazel environment setup instructions.
And use android-36 SDK consistently. PiperOrigin-RevId: 856263943
1 parent 5e545da commit 034ec33

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ Currently only Linux is fully supported. Mac may work but is not regularly teste
3333
on PATH.
3434
* Install the [Android SDK](https://developer.android.com/studio/install) and
3535
run the following command to ensure you have the necessary components:
36-
`cmdline-tools/latest/bin/sdkmanager "build-tools;33.0.2"`
37-
`cmdline-tools/latest/bin/sdkmanager "platforms;android-35" "build-tools;35.0.0"`
36+
`cmdline-tools/latest/bin/sdkmanager "build-tools;36.0.0" "platforms;android-36"`
3837
* Set the `ANDROID_HOME` environment variable to point to the SDK install
3938
location. For example
4039
* On Linux: `export ANDROID_HOME=/home/$USER/Android/Sdk`
4140
* On Mac: `export ANDROID_HOME=/Users/$USER/Library/Android/sdk`
4241
You can also add this command to your ~/.bashrc, ~/.zshrc, or ~/.profile file to make it
4342
permanent.
43+
*. Install Zulu Java 21 and add to PATH
4444

4545
### IDE setup
4646

opensource/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ load("@build_bazel_rules_android//android:rules.bzl", "android_library")
55
java_import(
66
name = "androidsdk_compiletime",
77
jars = [
8-
"@androidsdk//:platforms/android-35/android.jar",
8+
"@androidsdk//:platforms/android-36/android.jar",
99
],
1010
neverlink = 1,
1111
visibility = [

0 commit comments

Comments
 (0)