This message was deleted.
# android
s
This message was deleted.
n
Are they using a native M1 JDK or a rosetta translated JDK?
h
They are using default Android Studio JDK, which I’m sure is for M1 (aarch64)
n
I'm not sure to be honest. I would report this to Google if possible.
👍 1
d
IIRC, they go for open jdk as their default. But I’d suggest Liberica’s ARM64 JDK and change AS to use your JDK and not the built in. Not really sure why studio allows for an override by default, we’ve run into many issues where it works from studio but not from the command line. Had an engineer that ran into this because studio was pointing to their internal JDK but the one specified by
JAVA_HOME
was for JDK 18, which caused the issue he was seeing.
👍 1
c
I think they use a m1 compatible jdk only if they are on a fairly new version of studio. I was an early m1 adopter and know that AS versions weren't shipping an m1 compatible jdk. Also. FWIW I used rosetta on the first m1 macbook air to develop android apps and it worked fine. no hangs. If you have something reproducible then I would file a bug with the studio team like @ no said. Also. if you care this is the version of the jdk that I use (jakewharton recommended it) https://github.com/mdogan/homebrew-zulu
👍 1