doc: Explain a workaround for Android Studio
A misalignment like this happens once in a year, for a few days or even weeks. Suggest a possible workaround in the Android Studio integration docs. Bug: None Change-Id: Ida6e1301d34bb1e570fe60f671d05faa3d251b76 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2985639 Reviewed-by: Peter Wen <wnwen@chromium.org> Commit-Queue: Egor Pasko <pasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#895657}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
9fdf12afdc
commit
634a90aa67
@ -38,6 +38,21 @@ available" notification.
|
||||
* After `gn clean` you may need to restart Android Studio.
|
||||
* File -> "Invalidate Caches / Restart..."
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
If building the Gradle files in Android Studio prints an error like this:
|
||||
|
||||
```
|
||||
Failed to find Platform SDK with path: platforms;android-31
|
||||
```
|
||||
|
||||
Then it means the SDK is being updated to the new release. A workaround is to
|
||||
ask for an older SDK version in `args.gn`:
|
||||
|
||||
```
|
||||
android_sdk_version = 30
|
||||
```
|
||||
|
||||
## How It Works
|
||||
|
||||
By default, only an `_all` module containing all java apk targets is generated.
|
||||
|
Reference in New Issue
Block a user