Building the Android development environment consists of five parts of the knowledge, first of all need to know what android low-level development needs tools, install JDK, build Android Application development environment, installation Android NDK development environment and installation cross-compilation environment.
Development, testing, and commissioningLinuxDrive,HALThe library needs to useJDK6or more versions,eclipse3.4or more versions,ADT,CDT,Android SDK,Android NDK, cross-compilation environment,LinuxKernel source code,Androidsource code and the serial tool for debugging the Development Board:minicom.
There are many ways to install the JDK in Ubuntu Linux , which is the simplest and most effective way to download and configure it directly from the official website.
Building an Android application development environment includes installing the android SDK, installing Eclipse, installing ADT , configuring ADT, creating an AVD five steps.
The Android SDK must be installed before installing the Android NDK development environment . Start by downloading the latest android NDK Development Package, install the CDT, and then compile the Android NDK program inthe command line form . Then import the android NDK Example and finally configure the Android NDK integrated development environment.
Usually the cross compiler and related tools contain many executables and resources such as a large number of shared libraries and header files, a collection of which is called a cross-compilation environment. Codesourcery The cross-compilation environment can be downloaded directly.
It is recommended to use Linux directly as a development platform for Android , which makes it easier to develop Linux drivers.
Build Android development Environment reading experience