–makefile (Global Makefile file)
–bionic (bionic meaning bionic, which is some basic C library source code)
–bootloader (boot loader)
The content in the build directory is not the code used by the target, but the scripts and tools needed to compile and configure it
–build (the content in the build directory is not the code used by the target, but the scripts and tools needed to compile and configure)
– CTS (Android Compatibility test suite standard)
–libcore (Core library related)
Dalvik virtual Machine optimized Java for embedded devices
Java Virtual machine)
–dalvik (Dalvik virtual machine, Java Virtual machine optimized for embedded devices)
–development (templates and tools needed to create the application)
Qcom
–device (some compilation scripts and libraries related to specific devices, such as Htc,qcom,samsung, etc.)
–external (some external open source frameworks and libraries used by Android)
(Application's framework layer, SDK
The interface of the SDK is basically implemented here)
–frameworks (the framework layer of the application, the interface of the SDK is basically implemented here)
–hardware (Hardware-related libraries)
Linux2.6
–kernel (Kernel source code for Linux2.6)
–NDK (Local Development Kit--C Language Development Kit)
--c
Android for various applications)
–packages (Android for various applications)
–prebuilt (Android pre-built script compiled on various platforms)
–SDK (SDK and simulator)
Some libraries on the bottom of Android)
–system (some libraries at the bottom of Android)
' –vendor (vendor-Private code)
Summary of knowledge points, the DEX (class.dex) file is a file format that can be run directly on a Dalvik virtual machine on an Android system.
Java source code is compiled into Smali language by ADT This is an optimization process, relative to the. class file, it is small in size, efficient in operation, and low in readability after compilation, and Smali to Class.dex itself is a process of shell protection.
Dex files if not well protected, hackers through anti-compilation can make the source completely exposed, can use reading source to find the design process of the app, through the process of understanding the program will be easy to piracy, malicious tampering, malicious code injection and other dangerous behavior.
In this special thank you love encryption provides encryption services to me the application of reinforcement provides protection: Http://www.ijiami.cn/AppProtect
Android source code general structure (1) Summary of basic knowledge