1. Build the Environment:
The initial use of ADT, but has been a variety of problems, and later use of Android Studio, is really powerful, a variety of support packages online download, really do not worry about the environment, to Google a praise!
2. Directory structure:
Src:java Code
Gen: Automatically generated, there is an R file, add any file will be automatically generated to this file, do not go to manually modify it, remember!
Assets: Not commonly used, webview loading local Web page files are placed here.
Bin: Compile the APK package, install to the phone, launch the app directly.
Libs: The third-party jar package storage location.
Res: Pictures, layouts, strings, and so on. drawable: Picture layout: Layouts Menu: Menus file
Androidmanifest.xml: Permissions, versions, components, and so on.
Project.Properties: A line of code that specifies the version of the SDK used for compilation.
# Project Target.
Target=android-24
android.library.reference.1=. /appcompat_v7
3.5 levels of log, easy to find errors. Verbose, debug, info, warn, error, assert.
Android first day