II. directory structure of Android applications

Source: Internet
Author: User

HelloWorld

|--res

|--values

|--layout

|--DRAWABLE-LDPI, drawavle-mdpi, drawable-hdpi

|--src

|--Storing Java files

|--androidmainifest.xml

The res directory, src directory, and androidmainifest.xml file in the file structure above are required for Android projects.

Required Files:

Res: Store various resource files of Android project, such as: Layout file, values, size resource file: drawable-ldpi, drawavle-mdpi, drawable-hdpi

SRC: Record is just a normal directory where Java source files are saved.

A system manifest file for the AndroidMainifest.xml:Android project that controls the name, icon, access rights, and so on for Android apps.

Optional files:

Build.xml:Android provides an ant build file that developers can use to build and install Android projects via Ant.

Clean: Clear Project Build Content

Complile: Pack an APK package for a debug Android app and sign with Debug key

Debug: Package an APK package for a debug Android app and sign with Debug key

Release: Pack an APK package for a released Android app

Install: Installs the generated debug APK package to the emulator

Uninstall: Uninstalling the program from the emulator

  

II. directory structure of Android applications

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.