Android Studio/Emulator on macOS with ARM CPU M1
Good news !
Edit on 28 th of July 2021 /p>
Apple Silicon Support
Now, there is an arm64 release version available for Android Studio Arctic Fox (2020.3.1)
You can download it from here https://developer.android.com/studio#downloads
Easy fix to use right architecture
Tools -> SDK Manager -> SDK Tools (tab) -> Deselect 'Android Emulator' -> OK
Now, when you try to run your app, or launch device from AVD Manager, it will give the 'Install Emulator' error -> Click Ok. This will automatically download the correct version.
Use an arm64-v8a image !
- Tools -> SDK Manager
- Install Android 11 (R) or 12.0 (S) and click Apply
- Tools -> AVD Manager -> click Create Virtual Device
- Choose any device that has the Google Play Store icon and click Next
- Choose an arm64-v8a on "Other Images" tab
When NDK runs into
Unknown host CPU architecture: arm64
you can solve it hereSolved https://stackoverflow.com/a/68285501/1079990kapt
doesn't work
Android Studio [BumbleBee 2021.1.1] Emulator Timeout on Mac M1
I have found the issue so marking this as solved, however, if anyone knows why this solves the problem, please share!
I found an issue opened on Google's anroid-emulator-m1-preview repo with this answer https://github.com/google/android-emulator-m1-preview/issues/76#issuecomment-1023563846
Turns out, I just needed to uncheck 'Launch in a tool window' but again, not sure why that fixed the issue.
Updated to monetery 12.2 Mac OS, Android studio emulator not working
I had the same issue.
Quick fix, Go to Android Studio -> Preferences -> Tools -> Emulator
Now uncheck "Launch in a tool window"
Restart Android Studio.
Try starting the emulator now.
I think it's a bug.
Related Topics
Android Textview:"Do Not Concatenate Text Displayed with Settext"
Android: How to Set the Zoom Level of Map View to 1 Km Radius Around My Current Location
Drag and Drop Items in Recyclerview with Gridlayoutmanager
Android Studio 3.0 Execution Failed for Task: Unable to Merge Dex
Overlay Images Onto Camera Preview Surfaceview
Jar Mismatch! Fix Your Dependencies
Sending Intent to Broadcastreceiver from Adb
Generate Signed APK Android Studio
Application Installation Failed in Android Studio
How to Add Multiple Widgets in the Same App
Spannablestringbuilder to Create String with Multiple Fonts/Text Sizes etc Example
Findclass from Any Thread in Android Jni
How to Give Hexagon Shape to Imageview
How to Programmatically Enable/Disable Accessibility Service in Android
What Method Should I Use Now Since Firebaseinstanceid.Getinstance().Gettoken() Is Deprecated