Created
May 10, 2022 04:32
-
-
Save xavetar/0ae34ee670cd75f1192188f57cd4c850 to your computer and use it in GitHub Desktop.
Build Android Emulator (aarch64/arm64 and etc.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Original from https://developer.android.com/studio/releases/emulator#emulator_for_arm64_hosts | |
| mkdir emu | |
| cd emu | |
| repo init -u https://android.googlesource.com/platform/manifest -b emu-master-dev --depth=1 | |
| repo sync -qcj 24 | |
| cd external/qemu | |
| pip install absl-py | |
| pip install urlfetch | |
| # sudo apt-get install crossbuild-essential-arm64 | |
| python3 android/build/python/cmake.py --noqtwebengine --noshowprefixforinfo --target linux_aarch64 |
Author
x86_64-binfmt-P
I think a machine with x86_64 architecture is needed for cross-assembly to aarch64. Android Emulator does not natively support building on aarch64.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On the Jetson Nano 4 GB with Ubuntu 22.04 installed it fails :