Tutorials All - Webdesign, Graphic Design

Visit our new Webdesign Templates,css,html5 etc

Download New Android Applications

Visit our new Collections of Android Application

22.2.12

An Simple Introduction to Android Building System

-->

Every build component folder contains a file named Android.mk, this file is the only configure file that every component need to write by itself. For example:
If you want to build a single C/C++ component in Android, maybe this component is created by yourself or an existing component, you could simple list your source files' name, needed libraries and included path in Android.mk, then if you want to build Shared Lib you should include $(BUILD_SHARED_LIBRARY), static lib include $(BUILD_STATIC_LIBRARY), app include $(BUILD_EXECUTABLE). you could refer an existing Android.mk for details.

then type "make yourmodulename" in android home folder to start building your component. yourmodulename is the name of LOCAL_MODULE in Android.mk
A similar Android.mk is also needed for build Java component, except you should include $(BUILD_PACKAGE).