A list,
Android Studio is the official IDE for developing Android applications, based on Intellij IDEA. Make sure you have the Java JDK installed before installing Android Studio.
-
Android Studio official download
-
JDK Installation Process
-
MAC to view the local JDK version:
// JDK version $/usr/libexec/java_HOME -v // Java version $Java --versionCopy the code
Installation and project creation
1, Open the installed Android Studio, if you do not have your own native configuration, use the system, choose the first.
2. If you have multiple versions of Android Studio, you will be prompted to delete them. If you want to keep them, delete the old ones.
3. Then go to the main menu and select the first create test project
4, choose an empty project, so convenient to build their own
5, fill in the project information, create the project, after selecting, click Finish to create the project!
6, enter the project for the first time, need to load some things, waiting time may be quite long! The loading progress is usually shown on the bottom bar.
Three, basic configuration
1. Modify the font and open the Settings.
2, run the emulator, if not installed will pop up the installation box, you can also install a third-party emulator, if installed, but not found, you can restart the emulator or editor.
Third, directory structure
1, page main folder, the following two ways to find the file is a, there is no difference, just for the convenience of development.
MinSdkVersion: 16 is API 16 in the Minimum SDK list.
3. Add authorization
4. App generates storage directory
5. Activity_main.xml basic layout differentiation
6. Location of third-party reference packages
7. Sign the APP and generate a.jks signature file.
8. Switch between mobile phone and tablet