I've recently migrated from an Intel to an M2 MBA and my JetBrains IDE settings are not syncing from my Intel executables to the Apple Silicon versions. I have full settings sync (across all IDEs) enabled, and am logged into my account in all IDEs, but nothing syncs from the Intel to the Apple versions. (How is that even possible?)
Related
Good afternoon
I can't start virtual device I created because "VT-x or SVM not supported". Lets say VT-x is required for Oracle Virtualbox and other emulators, I have VT-x enabled and I use many emulators without problems.
"Troubleshoot" window of Studio provides an option to use AVD based on ARM system image (10x slower), but when I create new device, the "Next" / "Finish" buttons are disabled if I select any image except of x86 image.
I have VT-x enabled in BIOS. All tutorials how to fix similar bugs are related to enable of this option. Both type of Graphics in the VM options (hardware or Software) tested.
System: Windows 7 x64, AMD 6 core CPU, few years ago I was running Android Studio and AVDs at the same hardware under Windows 2003 (Probably, Studio 2.0) and it worked.
Any ideas?
I've upgraded to the M1 chip 2020 Macbook Air from a 7th gen. Intel chip pc. Overall, I'm very happy and content with it but when it comes to Android Studio performance, which I use quite often, it is very disappointing I'm sorry to say. When will an Apple Silicon compatible version be available? Are any of you guys have any clue?
I had the exact problem and the solution was as follows:
Open Android Studio, go to Help -> Edit Custom VM Options and add the following lines:
-Dsun.java2d.opengl=true
-Dsun.java2d.opengl.fbobject=false
Restart the IDE and wait for the files to sync. Done, IDE running smooth again.
Starting from Android Studio Artic Fox version, they not only changed versioning number style (replaced number system with Year-styling Version names), but also introduced Android Studio for M1/Apple Silicon (arm arch 64bits).
To check if you'r using right Android Studio for your M1, click on 'About Android Studio' and check the runtime, it should show as aarch64 (ie. Arm architecture 64bits). If not, mostly you might be having x86_64 if you installed regular Mac's Android Studio.
To switch to M1's Android Studio,
first exit already installed Android Studio, if it's open.
Go to Finder and under 'Applications', rename 'Android Studio' to preferably 'Android Studio_x86_64'.
Go to Android Studio downloads page (https://developer.android.com/studio#downloads), and download the one tagged as 'Mac (64-bit, ARM)' and unzip and move to 'Applications'.
Click to open 'Android Studio' from the Finder/Applications. You may drag and add it as a Dock shortcut option.
Good thing is that there is no extra installation required and the existing project, (at least for me), opened without any issues.
Android-SDK based and Flutter projects should be good right after switch, NDK not yet there.
AS is now faster again as you are using it as intended on Apple M1's chipset. !
Now Android Studio Bumblebee (2021.1.1) is available in Stable Channel. If your version is older than Bumblebee, download it for more performance.
I find out that the link shown by default is for intel architectures.
Automatic update performed by android studio also downloads the intel version even if this download occurs on a Mac with an ARM architecture (M1) .
You should navigate to the download options and choose ARM architecture manually.
You can download version 2021.1.1.22 Bumblebee for MAC ARM (M1) here (Link updated on Mar 7 2022 )
Check Android Studio Arctic Fox (2020.3.1) Beta 3 (have apple silicon support)
https://developer.android.com/studio/archive
use Intellij CE the latest version released on April 6th has native support for m1 and its very fast and intuitive, i've been using it and it's not very different from android studio
Edit: September 21
Download m1 native supported Android studio through https://developer.android.com/studio/archive
Download Mac (Apple silicon)
All the above did not work and my emulator was completely unusable but in my case the following fixed my issues:
Android studio Preferences > Tools > Emulator
Make sure 'Launch in a tool window' is checked
'Wipe Data' on emulator and then relaunch
Having the emulator launch as a separate window caused a huge slowdown but this fixed it immediately
I installed Android Studio and I get this warning message when I want to run a virtual Android device.
I am using an Intel i5 processor and I have enabled hardware virtualisation and installed kvm.
This is just Android studio messing up, What you can do is install (even though you already might have) the HAXM, download link is here:
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
I downloaded and installed Android Studio but I am not able to install Intel-HAXM (hardware-acceleration for the emulator) because I am unable to turn on virtualization.
I downloaded Speccy and it says virtualization is disabled.
I got into BIOS using F2 on startup and it says Intel VT-x is disabled but there is no option to enable it.
When I run Android Studio I get an error saying I need Intel-HAXM installed. When I try to install intel-HAXM (running as admin) I get an error saying "This computer does not support Intel virtualization technology. HAXM can not be installed".
My laptop is a Samsung NP355V5C running a recent update to Windows 8.1 Basic. I do not have Hyper-V as that is only available for higher levels of Windows 8.1
Also I don't believe I'm qualified to hack my BIOS. Please help me find a way to enable virtualization or to use Android Studio for development without using Intel-HAXM.
Please help me find a way to enable virtualization
See if there is a BIOS update from Samsung. It is possible, though somewhat unlikely, that they have added the ability to toggle Intel virtualization extensions in a BIOS update.
Outside of that, you would need to buy a new computer.
to use Android Studio for development without using Intel-HAXM
Use the ARM emulator images instead of x86 emulator images. These do not require HAXM. However, they run a lot slower than their x86 counterparts.
Here is a screenshot of the AVD Manager from Android Studio:
The "ABI" column indicates what CPU architecture that AVD will use. Those that are listed as armeabi-v7a are ARM images, and they will work on your notebook without HAXM.
However, as I mentioned, they will be very slow, particularly for higher-resolution screens. I suggest using some fairly low-resolution screens (e.g., Nexus S) to get by.
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
after looking through some forum found suggestion about genymotion. but i want to use android studio emulator on AMD processor. appreciate if anyone would like to help.
Ensure that you have installed Intel X 86 Emulator accelarator(Haxm Installer for Intel processors) or ARM system image(AMD).
Then go to the [SDK Folder path]\extras\intel\Hardware_Accelerated_Execution_Manager and run intelhaxm-android.exe.
If you get an error Virtualization technology is not enabled, enable Hardware Virtualization in BIOS setting:http://www.sysprobs.com/disable-enable-virtualization-technology-bios.
For AMD processors to use genymotion you need to have AMD-v enabled CPU.
Using Genymotion would be a better option
If you have an AMD processor, you can download the Genymotion emulator, which supports AMD-V technology.
You need to have AMD-v enabled
First, open the Android SDK Manager: Tools -> Android -> SDK Manager, then chose any package you want to download, expand it and select ARM EABI v7a System or ARM 64 v8a System Images and install.
Then, open Android AVD Manager: Tools -> Android -> AVD Manager and create an emulator.
You should restart Android Studio for be shure it works