To test and enable an Android device for development requires several settings to be configured. While these processes are tedious, most of them are one-time setup unless you have to upgrade to a newer version:
The initial installation of Android Studio includes a basic SDK which includes operating system images, compilers and other tools you need to build Android apps.
Before you start creating Android apps, you will want to configure certain aspects of Android Studio to control its appearance and behavior.
There are a few settings that are highly RECOMMENDED that you can change to make your environment easier to work in:
Go to File > Settings... (CTRL+ALT+S) on Windows or go to the Android Studio menu and select Preferences (CMD + ,) on the Mac.
TIP: To reset the settings to the defaults, close Android Studio and then delete the folder .Android Studio under the Home folder in Windows and in the
/Library/Preferences/Android Studio on the Mac and then restart Android Studio. [CONFIRM]
Unlike the Windows installation, you have to install the HAXM software as a separate process for the Mac. The Intel HAXM allow you to manage FAST virtual devices on an Intel emulator instead of an ARM-based emulator.
IMPORTANT NOTE: Even though you install HAXM using the SDK manager, it may only be downloaded. To install it, you still need to do so from the ...sdk/extras/intel/Hardware_Accelerated_Execution_Manager directory and install the intelhaxm_android file.
An AVD is a configuration that combines the profiles of:
By default, Android Studio will AUTOMATICALLY create a virtual device (e.g., Nexus 5) for you that you can use. However, you can create your own as well. However, if you delete all of the virtual devices, you will start with a screen like this where you will have to click the Create Virtual Device... button:
NOTE: You can create as many virtual devices as you need to represent different screen sizes and pixel densities.
CAUTION: If you don't have HAXM installed, you will have to choose a arm... ABI instead of an x86 ABI.
TIP: Change the amount of RAM if you don't have enough or choose another device that requires less RAM.
If you have a fresh installation, you will not have to check for updates. However, you may want to come back to the menu every now-and-then to see how to check for updates to ensure you have the latest version.
Another place to check for updates in in the SDK Manager.