In this chapter of the study, my main gain is how to build Android applications, install the Android NDK development environment.
Installing the Android SDK
The first step in configuring the Android application development environment is to download and install the Android SDK. You can download androidsdk for Windows, Mac OS x, and Linux platforms on the following page.
After entering the Android SDK download interface, you will see a download, the black box is the Linux version of the Android SDK, download the Android SDK, will get a Android-sdk-r16-linux.tra file (due to Android The SDK version is constantly upgraded, and the file name of the Android SDK installation package is slightly different, but both are TRA files.
Installing the Android NDK
Since the Android NDK installation cannot be run separately as an Android application, you must first install the Android SDK before using the Android NDK developer program. The Android NDK has a slightly simpler installation step than the Android SDK.
First, open the http://developer.android.com/sdk/ndk/index.html
According to the book, do not find the download.
After downloading the Android NDK Development Kit, copy it to any directory, enter the directory on the Linux terminal, and enter the following command to unzip the Android NDK Development Kit.
#tra-XVF Android-sdk-r16-linux.tra
Since the Android SDK is installed online (i.e. only one installer and the necessary tools are downloaded, more files need to be updated online), the Android SDK downloaded earlier is not complete and still requires a lot of things to install over the Internet. After you start the installation screen, you can select the desired Android version (select the previous check box) and then click the Install button to install the selected package.
Android Deep Exploration Experience (ii)