Installing and Configuring Android Studio
The following steps will describe how to download and install Android Studio on Mac OS X Yosemite. On other version of Mac OS X, the process may be slightly different but will still be very similar overall.
- Navigate to the Android developer website here. Download Android Studio.
- Once the DMG file is downloaded, open it up. Install Android Studio by copying the application file into the Applications folder.
- Open the Android Studio application. You may be prompted to download additional SDK tools. Simply follow the prompts to do so.
- If you do not have java installed, you will be prompted to do so.
- When you are redirected to the java download page, select the download button to begin. Once the DMG file is downloaded, open it up and launch the PKG file. Follow the install wizard until completion to install java.
- Open Android Studio again, and you will be prompted to import existing settings. Either do so or select that you do not have any previous settings to import, and select OK.
- Select Next on the welcome page, and then choose to perform a standard install. Select Next again.
- Accept any license agreement prompts that appear and continue following the wizard. When the install is complete, you may see an error relating to Intel emulation. For now, ignore this.
- Choose to start a new Android Studio project.
- Enter a name and filepath for the new project, and select next.
- On the Target Android Devices page, select next.
- Choose to add no activity, and select next.
- Navigate to Tools -> Android -> Android Device Monitor.
- This will open a separate Android Device Monitor application. You can choose to pin this to the Dock in order to quickly launch it for future use. In the pop up window, chose whether or not to send statistics and then select to proceed.
- With the Android Device Monitor window open, connect your Android device to the computer via USB.
- On the device, choose to allow USB debugging if prompted.
- Finally, select your device in the Android Device Monitor window, and then select the LogCat option. Real time device logs will begin appearing in the logging pane.