(1) Creation of Android app project
- Set the name of the project, package
Set the project name to Mydiary and the package name Org.socrates.mydiary.activity
- Set the default view layout
- Setting the Startup class
Set the startup form name to Loginactivity, and the layout file name Activity_login
Complete the setup. Enter Project Mydiary
(2) Android App Project Document structure description
Core folder description
Manifests:androidmanifest.xml,android program Core configuration file, very important
Java: All Java class files in the project are placed under this folder
Res: Resource folder, drawable store picture file, layout file exists
(3) Android app project run test
- Click the Run button or SHIFT+F10 on the toolbar to run the project;
- The program is automatically packaged into an APK (Android package) file, uploaded to the AVD and automatically installed and running.
Summary: in the development process, the AVD does not close after the start, each time the program will repeat the above two steps, or repeatedly open or close the AVD is very time-consuming, impact development efficiency!
Android application development basic process and test run