The first Android Android Studio project

 

To create a

  • Start a new Android Studio project 

  

  •  Select Empty Activity

     

  • Setting Android project name, location, language development

  

  •  Open the initial interface

   

 

Android preliminary understanding of project structure

  • Android mode

  

  • Edit the file activity_main.xml  

  

  •  View MainActivity.kt (Kotlin language selection here, ending .kt) 

  

 

Creating a simulator

  • Open AVD Manager open management simulator

  

  • Create Virtual Device create a simulator

   

  •  Select a device

   

 

   

 

  

 

   

   

   

Installation HAXM

  intel hardware accelerated implementation manager, is a use Intel Virtualization Technology (VT) to speed up the development speed Android * hardware-assisted virtualization engine (hypervisor). AMD's CPU can not be installed, increasing the control hardware in the CPU, when the corresponding VT is open, some of the simulation start command (or new portions of the base instruction) to accelerate the operation, to reduce each period to achieve optimal performance. Open HAXM time, android simulator speed will be significantly faster.

  

 

   

 

 

Run the simulator

  

 

   

 

 

 Running the Project

  

 

Guess you like

Origin www.cnblogs.com/xqz0618/p/first_app.html