IDEA's first Android project
1. JDK and SDK installation and configuration
JDK installation omitted. IDEA has done JAVA projects based on the main.
SDK download link:
https://www.androiddevtools.cn/
SDK installed or unzipped
Double click
SDK Manager.exe
Fill in the content below
mirrors.neusoft.edu.cn
80
Select install
Click on
Install xx packages...
Then click Install
Configure environment variables
cmd port to check whether the installation is successful.
adb version
Add SDK to IDEA configuration
After confirming the selected path, click Apply OK.
2. Install SDK through IDEA itself
Select New Project Android and
click on the only button to install. After selecting the path, the next step will start to download and install. Finish
after installation
Install other versions as shown below:
3. Build and run the project
3.1 Setting up the project
3.2 Create AVD
3.3 Operation
References:
[1]: https://www.cnblogs.com/gufengchen/p/11038029.html
[2]: https://blog.csdn.net/qq_25189723/article/details/105544036
[3]: https ://blog.csdn.net/weixin_36785944/article/details/83659165
[4]: https://blog.csdn.net/u013905744/article/details/82223969