Update README.md

This commit is contained in:
djmil 2024-06-23 22:42:13 +02:00
parent 8eb26cd064
commit 4f157904d5

View File

@ -55,7 +55,8 @@ $ANDROID_SDK_ROOT/
sdkmanager --list
```
> [!NOTE] QEMU host limitations
>[!NOTE]
> **QEMU host limitations**<br>
> It looks that Android API 27 is the latest officially supported OS image that is capable of being executed as **Aarch64** Android on **x86_64** host. Later versions of Android can be used only as **x86_64** binaries.
- Install packages for Android API 27 (MARSHMELLOW (6.0), etc)
@ -74,7 +75,12 @@ sdkmanager "emulator" "platform-tools"
- Create emulator device:
```bash
avdmanager --verbose create avd --force --name "pixel_6.0_27" --device "pixel" --package "system-images;android-27;default;arm64-v8a" --tag "default" --abi "arm64-v8a"
avdmanager --verbose create avd --force \
--name "pixel_6.0_27" \
--device "pixel" \
--package "system-images;android-27;default;arm64-v8a" \
--tag "default" \
--abi "arm64-v8a"
```
- Start emulator:
@ -82,7 +88,8 @@ avdmanager --verbose create avd --force --name "pixel_6.0_27" --device "pixel" -
emulator @pixel_6.27 -qemu -machine virt
```
> [!NOTE] -qemu -machine virt
> [!NOTE]
> -qemu -machine virt<br>
> This two options are only necessary if you are going to run **Aarch64** Android on a **x86_64** host.
## adb server