jaemas.blogg.se

Install android studio on mac m1
Install android studio on mac m1








Globals.fs.path.join(directory, 'jre', 'jdk', 'Contents', 'Home') : fii is a lib which can talk to native c libs on macos, we need it so much.Īndroid studio: Unable to find bundled java version.įlutter/packages/flutter_tools/lib/src/android/android_studio.dart

install android studio on mac m1

If you simply install cocoapods using the ARM64 version of ruby 2 on MacOS 11, you will fail to load the fii libs. Ruby 2 is installed on MacOS 11 by default but its fii lib is still built on top of x86_64 architecture though Apple claimed Ruby 2 on MacOS 11 is for 2 architectures such as x86_64 and ARM64, which is a lie. Then in the rosetta 2 terminal, install cocoapods by commands sudo gem install cocoapods Copy and paste a new Terminal.app to desktop and open it using Rosetta 2 like this. Install Xcode from Apps Store and install xcode command lines. Install all the SDK that you need when you open the Android Studio Preview for the first time. I had this issue with my Android Studio PreviewĪndroid Toolchains.

install android studio on mac m1

I need to build apps for desktop so i enabled this(you don't have to, this is optional if you only want to build apps for iOS and Android): When you open the android studio, don't forget to install all the SDK you need. cocoapods ( Open your Terminal.app with Rosetta 2 )

install android studio on mac m1

java sdk ( openjdk 11 from zulu built for macos arm64)Ĥ. Android studio preview 2021.1.1 Canery 3 (latest which supports m1)ģ. There's no official support since Apple silicon is still new in coding world.ġ. I can't guarantee you can make it at 100%. 标签: MacOS Apple Silicon studio install Android flutter Contentsīuilding universal apps for iOS, Android, Windows, MacOS, Linux using Flutter on a M1 Mac.










Install android studio on mac m1