The IDE, simulator and emulator images and associated SDKs are all quite large.Ĩ. Note: Make sure you have at least 40GB of free disk space. Install Appium from the terminal (skip if you install Appium Desktop) Note: If you haven't changed the default installation path then you'll have the Android SDK installed in ~/Library/Android/sdkĪdd the following lines to your login scriptĮxport ANDROID_HOME="$HOME/Library/Android/sdk"Įxport ANDROID_SDK_ROOT="$HOME/Library/Android/sdk"Ħ. Drag and drop Android Studio into the Applications folder, then launch Android Studio. Changing Android Studio runtime Trying various JDK versions for Gradle build purpose Reinstalling Mac OS, all SDK tools, Android studio, etc. Set the ANDROID_HOME and ANDROID_SDK_ROOT environment variable to match this path Install Android Studio on Mac OS X Launch the Android Studio DMG file. (Optional) A USB cable to connect your Android device to your computer through their USB ports. An Android device, such as a phone or tablet running Lollipop or later. (change adoptopenjdk-8.jdk to the installation folder of your JDK)Ĥ. What youll need Android Studio downloaded and installed on your computer. Put this in your login script ( ~/.bash_profile for up to macOS 10.14 ~/.zshrc for macOS 10.15 and above):Įxport JAVA_HOME="/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home" And on OSX in particular, they will often be different. The version of the JDK that it uses to get the Java compiler from These two can be (and usually are) the same, but you can configure them individually. MacBook Pro 16GB of RAM and and SSD drive, dual 24 1920x1200 monitors. Issue I have been running Android Studio on my Macbook for over a year perfectly fine. Set JAVA_HOME environmental variable to where JDK is installed Mac OSX JDK Selection Android Studio requires two different JDKs: The version of Java that the IDE itself runs with. I have been using Android Studio under Mac for the past 18 months and it works just fine.
0 Comments
Leave a Reply. |