You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
Is it possible to build an android bundle on MacBook M1?
Question Description
As M1 currently supports JDK 17 only, how do we build android on M1? I have seen android studio uses its native JDK version instead of system JDK, is it possible to use JDK from Android Studio?
The text was updated successfully, but these errors were encountered:
you probably could do this by specifying JAVA_HOME, but I think we also validate the version of java in PATH, so you would also need to override it somehow.
Can't you install an older java version under rosetta?
As a side note turtle-cli is local alternative for classic builds that will be soon considered legacy builds and replaced by EAS, we will support cloud builds for while, but I don't expect turtle-cl will get much development in the future, so I recommend switching to eas, especially if you want to run builds on your own machine
EAS Build is currently in feature-preview phase ( it will go GA this year) and available only for paying users(there will be a free tier after GA), but local builds are available for everyone
Turtle is having some issues with this for me, the CLI doesn't install under Node 14 on my M1. But it installs under Node 17. However, Node 17 doesn't work for my app (incompatibilities on M1).
This is, I am also using Azul Zulu OpenJDK, and I can install setup:android under turtle-cli when I have it installed under Node 17. But it will fail (probably because all dependencies were installed under Node 14).
Let me know if this is a different problem to yours, so I can create a different issue.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Question Checklist
Question Subject
Is it possible to build an android bundle on MacBook M1?
Question Description
As M1 currently supports JDK 17 only, how do we build android on M1? I have seen android studio uses its native JDK version instead of system JDK, is it possible to use JDK from Android Studio?
The text was updated successfully, but these errors were encountered: