android-emulator-m1-preview icon indicating copy to clipboard operation
android-emulator-m1-preview copied to clipboard

how can I make it work with IDEA with Android plugins?

Open jasonj99 opened this issue 3 years ago • 13 comments

Hi, the emulator works well on Android Studio on M1, but I prefer to use IntelliJ IDEA with Android plugins at this time just because the IDEA runs natively on my M1 Macbook Air.

Is there any help on how to make IDEA and the preview emulator works together ?

Thanks.

jasonj99 avatar Mar 20 '21 10:03 jasonj99

Android Studio stable and canary runs natively on my m1 macbook.

ColtonIdle avatar Mar 20 '21 20:03 ColtonIdle

Android Studio stable and canary runs natively on my m1 macbook.

Really? I have downloaded android-studio-2020.3.1.10-mac, android-studio-ide-202.7188722-mac, and the lastest stable from the official website, none of it runs natively. So where is the link to download stable and canary build for apple silicon mac ?

jasonj99 avatar Mar 21 '21 01:03 jasonj99

Android Studio stable and canary runs natively on my m1 macbook.

image image

This is not native ! image

hannesa2 avatar Mar 21 '21 07:03 hannesa2

Here's a screenshot of my setup.

Showing I have an M1

Showing no rosetta installed (unless I'm missing something)

Showing my single arm64 emulator

SHowing AS stable

showing my app running from stable on the emulator

https://imgur.com/a/Jzw7ypi

ColtonIdle avatar Mar 24 '21 10:03 ColtonIdle

@ColtonIdle that apple discussions post is from 2011. That's for Rosetta 1, not Rosetta 2.

Android studio doesn't currently run natively on the M1.

nickdonnelly avatar Mar 24 '21 15:03 nickdonnelly

@nickdonnelly sorry about that. I did caveat that I could be missing something here. New to my m1 machine. 😄

ColtonIdle avatar Mar 25 '21 18:03 ColtonIdle

@nickdonnelly sorry about that. I did caveat that I could be missing something here. New to my m1 machine. smile

No worries, aren't we all! Android studio still definitely needs some love on Apple Silicon.

nickdonnellyriis avatar Mar 25 '21 18:03 nickdonnellyriis

I have the same issue , avd cant work while I am using the IDEA

betterlmy avatar Apr 03 '21 17:04 betterlmy

Replace the sqllite-jdbc-3.x.x.x.jar with a later version, such as sqllite-jdbc-3.32.3.3.jar, solve the problem (there are two sqllite-jdbc-3.x.x.x.jar to be replaced, one is at Contents/lib, the other is at Contents/plugins/svn4idea/lib). Now I can debug Android App inside IDEA.

jasonj99 avatar Apr 07 '21 02:04 jasonj99

Replace the sqllite-jdbc-3.x.x.x.jar with a later version, such as sqllite-jdbc-3.32.3.3.jar, solve the problem (there are two sqllite-jdbc-3.x.x.x.jar to be replaced, one is at Contents/lib, the other is at Contents/plugins/svn4idea/lib). Now I can debug Android App inside IDEA.

I update my idea today, and it can work normally

betterlmy avatar Apr 07 '21 17:04 betterlmy

@jasonj99 I can run both IntelliJ and Android Studio Canary natively on my M1. In IDEA, I am able to launch the emulator like you usually would be able to. image

ghost avatar May 27 '21 14:05 ghost

@D1stinct what theme is that?

ColtonIdle avatar May 29 '21 01:05 ColtonIdle

@D1stinct what theme is that?

Material UI

ghost avatar May 29 '21 12:05 ghost