The first chapter begins with your first line of Android code
1, the Environment of Android Development (Eclipse+android Sdk+adt) was introduced, just my slag notebook can not run Android Studio,eclipse first use.
2. Add LogCat to Eclipse, Step: [Window menu]->[show View]->[other]->[logcat]
3, it is important to introduce the Android system architecture, see:
- Linux kernel layer: Based on Linux2.6 Core, provides low-level driver for Android hardware (display driver, audio driver, camera driver, etc.)
- System Runtime Layer: Provides key feature support for Android systems via C + + libraries (e.g. SQLite provides database support, opengl| ES Library provides 3D drawing support, WebKit library provides browser kernel support, etc.)
- Application Framework Layer: Provides various APIs that may be used to build an application
- Application layer: All applications installed on the mobile phone belong to this layer
"Android first line code" learning record 01