Skip to content

Commit

Permalink
Merge pull request wix#1953 from 3rdp/patch-1
Browse files Browse the repository at this point in the history
Enhance docs: how to download AOSP system images
  • Loading branch information
d4vidi authored Mar 11, 2020
2 parents c395134 + 5fe1922 commit 08ee137
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/Introduction.AndroidEmulatorsBestPractices.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ In particular, this applies to CI machines aimed at running automated end-to-end
>
> This will create a new emulator in the name of `Pixel_API_28_AOSP` (typically, you would use something like `"system-images;android-28;google_apis;x86_64"` or `"system-images;android-28;google_apis_playstore;x86_64"` for this). If you use this name, be sure to update it in the Detox section of your `package.json` file.
>
> You might need to download AOSP images as well prior to creating an AVD. A good indication of this is this error message: `Error: Package path is not valid. Valid system image paths are:`, if you get it when running the above command, run these first to download system image and accept the licenses:
> ```shell
> $ANDROID_HOME/tools/bin/sdkmanager "system-images;android-28;default;x86_64"
> $ANDROID_HOME/tools/bin/sdkmanager --licenses
> ```
>
> _<sup>* Regardless, it is recommend you set up quick-boot, as exaplined below in the dedicated section..</sup>_
Expand Down

0 comments on commit 08ee137

Please sign in to comment.