Apple Siliconに対応したAndroid Emulator Previewが「Android Studio v4.2 Preview」のAVD Managerからダウンロード可能に。

Android Emulator M1 Preview Apple Silicon Mac
記事内に広告が含まれています。
スポンサーリンク
スポンサーリンク
スポンサーリンク

 Apple Siliconに対応したAndroid Emulator Previewが「Android Studio v4.2 Preview」のAVD Managerからダウンロード可能になっています。詳細は以下から。

Android Studio Preview logo

 Googleは現在、Apple Silicon「Apple M1」チップ搭載のMacに対応したAndroidエミュレーターAndroid Emulator M1 Previewを公開し開発を続けていますが、このPreviewが公開されているリポジトリによると、Googleは03月中頃から最新のAVD(Android Virtual Device) Managerを通して、ARM64対応のAndroid Emulatorの提供を開始しているそうです。

ARM64対応のAndroid Emulator

Note: No longer needed
Support for downloading the M1-based emulator was added to SDK Manager, so it’s not necessary to go to the Github releases page to download a standalone .app anymore. In AVD Manager go to the Other Images tab as by default it doesn’t show the ARM64 images.

google/android-emulator-m1-preview – GitHub

 Apple Siliconに対応したAndroid Emulatorは「Android Studio v4.2 Preview (現在はBeta 6)」のAVD Manager → [+ Create Virtual Device] で表示されるVirtual Device ConfigurationのSelect Hardwareで[Next]を選択し、

AVD Manager

次に表示されるSystem Imageの[Other Images]からABI(Application Binary Interface)が[arm64-v8a]となっているバージョン(Release Name “R”など)を選択してダウンロードするだけで、

Application Binary Interface

後はAndroid Studio v4.2 PreviewからRunning Deviceに先程ダウンロード&インストールしたAndroid Emulatorを指定して、アプリをBuildすればEmulator上でアプリが実行されます。

Android Emulator M1 Preview on Apple Silicon

 AVD Managerで公開されているARM版のAndroid EmulatorはM1 Previewと同じくオープンソースのCPUエミュレータQEMUを利用して実行されているため、まだ利用できない機能もあると思いますが、気になる方は試してみてください。

Android Emulator M1 Preview

コメント

タイトルとURLをコピーしました