Android application development basic process and test run

Source: Internet
Author: User

(1) Creation of Android app project

  • File-new-new 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.