Hi folks, a colleague is having a problem setting ...
# android
c
Hi folks, a colleague is having a problem setting up Android Studio. Has anyone had this error on installation? (see pic below) She’s running a new Macbook Pro with M1 chip, and trying to install the new Android Studio Canary (Arctic Fox) Slack Conversation
K 1
c
I'm not sure if AS works with the M1 chips yet? I have an m1 laying around. I'll try also and let you know what I see.
Update. Got my m1. installed jdk through open jdk. installed jet brains toolbox for Apple chip. In JB toolbox there is a list of "Apple Silicon" IDEs and another with all IDEs. I installed Android Studio stable (which I don't think has m1 support technically) and it installed fine, and I ran through the Android Studio Setup Wizard with no issues to my surprise. The only issue was that it said it could not install HAXM (which makes sense since that's an intel thing) Hope that helps @Chris Fillmore
c
thanks @Colton Idle! I have read that, at least for AS stable, it installs fine on M1, without HAXM. Perhaps there’s more work to do for Canary
It’s tough to troubleshoot because my colleague of course is wfh, she’s not an Android developer nor even a programmer, so we’re just walking through it over a call. Fortunately it’s not urgent
thanks for looking into it!
c
It sounds like something might have just intermittently gone wrong with the install? Maybe just try a reboot as a sanity check? I did choose "custom installation" when I went through the wizard, but I ended up choosing all defaults anyway.
I'm still unsure of the state of java/intellij/AS on m1 macbook which is why I haven't even tried it yet. This message spurred me to open the box again. lol
c
good call, we’ll try some more tomorrow
c
Yeah. The error message just sounds like it couldn't reach the network to download some install configs or something.
For what it's worth. I downloaded Intellij Ultimate for Apple Silicon EAP and created a compose desktop app and everything ran fine. So that's good. Trying an AS project on stable now.
Tried opening up the emulator that came during the new project wizard. It won't open. Plugged in my pixel 5. Launched without issue! Not bad! Last thing I'll say is I don't actually know if I have rosetta installed and if it's doing any of the magic here, but the fact that stable works is surprising to me!
c
that’s good news
c
Installed arm v8 emulator image for api 30 and after the install the emulator boots up.
And... the app deploys. Looks like stable should be a fully functional dev machine!
barely used the emulator here (like 1 minute max) but its buttery smooth. 😄
After creating a new compose project in canary I was able to deploy to that same emulator. 💯
c
mmmm ok thanks for the heads up
I’ll circle back with my colleague!