doesitarm icon indicating copy to clipboard operation
doesitarm copied to clipboard

Android Emulator

Open shatyuka opened this issue 4 years ago • 9 comments

The official name of the app Android Emulator

Is there a supported version available on a stable release channel? No

Proposed App Status ✅ Yes, Full Native Apple Silicon Support

Proposed App Category Developer Tools

Related Issue Tracker Link or discussion https://androidstudio.googleblog.com/2020/12/android-emulator-apple-silicon-preview.html https://github.com/741g/android-emulator-m1-preview

An Official App Download Page https://github.com/741g/android-emulator-m1-preview/releases/tag/0.1

Additional context Android Studio page also needs an update. Screenshot: screenshot

shatyuka avatar Dec 06 '20 10:12 shatyuka

Thanks for the App Request!

This has definitely been a big blocker for Android Developers.

We can't actually list it as fully supported until the supported build is moved to the App's normal stable release channel.

I have, however, added a link to the Android Studio page.

We'll leave this issue open until the full stable build is released

ThatGuySam avatar Dec 06 '20 20:12 ThatGuySam

@ThatGuySam It is stable by now, the emulator was added to the sdk, so, the emulator preview is no longer needed. https://github.com/google/android-emulator-m1-preview#note-no-longer-needed

thejoaov avatar Apr 12 '21 23:04 thejoaov

@thejoaov However, the SDK Manager will download the x64 emulator. And inside it, there is a bash file darwin-aarch64-replace.sh. It will download the aarch64 emulator from github and replace the x64 one. That is, still preview yet.

EMULATOR_DOWNLOAD_BASE_NAME="emulator-darwin-aarch64-0.2"
rm -rf ${EMULATOR_DOWNLOAD_BASE_NAME}
echo "curl -L https://github.com/google/android-emulator-m1-preview/releases/download/0.2/${EMULATOR_DOWNLOAD_BASE_NAME}-engine-only.zip -o ${EMULATOR_DOWNLOAD_BASE_NAME}.zip"
curl -L https://github.com/google/android-emulator-m1-preview/releases/download/0.2/${EMULATOR_DOWNLOAD_BASE_NAME}-engine-only.zip -o ${EMULATOR_DOWNLOAD_BASE_NAME}.zip && \
echo "unzip ${EMULATOR_DOWNLOAD_BASE_NAME}.zip" && \
unzip ${EMULATOR_DOWNLOAD_BASE_NAME}.zip && \

shatyuka avatar Apr 13 '21 07:04 shatyuka

Idk the specifics but you can download arm64 compatible Android emulator even on stable Android Studio 4.2.1: image This is a screenshot from the stable Android Studio build. I have the latest Canary, Beta builds from Google and installed the official one so that this issue can be closed, wanted to prove you don't need a Beta or Canary (which as IDEs have support for Apple Silicon, let's separate the emulator part -> it wouldn't be integrated into the IDE and you would still have to download the 5GB Preview .app from GitHub) to install a natively supported emulator.

moffpage avatar Jun 28 '21 04:06 moffpage

@moffpage Seems that you are talking about the system image, not the emulator itself. Also, this image goes ahead of the GitHub one. So you still need preview version of Android Emulator to get ADB functionable.

shatyuka avatar Jun 28 '21 04:06 shatyuka

I don't really understand how do they differ. Do you really need the emulator as a separate app? What does "this image does ahead of the Github one" mean?

moffpage avatar Jun 28 '21 04:06 moffpage

I don't really understand how do they differ. Do you really need the emulator as a separate app? What does "this image does ahead of the Github one" mean?

No, separate app is not needed. As described above, for stable version, there is a bash file exist in the emulator directory. Execute it and you will get an aarch64 emulator downloaded form github. But it is outdated and not compatible with newer system images (see this). You still need the preview version of emulator to get it work.

shatyuka avatar Jun 28 '21 06:06 shatyuka

Please remove "Waiting for Stable Release", it's already built in Android Studio Beta

moffpage avatar Jul 14 '21 07:07 moffpage

By that I meant also update the website and close the issue 😂

moffpage avatar Jul 17 '21 19:07 moffpage