Android Program Analysis Environment (build step slightly)

Source: Internet
Author: User

1: Install JDK

The JDK (Java Development Kit) is the Java Language Software Development Kit (SDK). Java programs cannot be compiled without a JDK.

2: Install Android SDK

The Android SDK refers to the Android-specific software development kit.

3: Install Android NDK

The Android NDK was added in front of the SDK with the word "native", the native development Kit, which Google called the "NDK".

As is known to all, Android programs run in Dalvik virtual machines, and the NDK allows users to execute part of the program using native code languages like C + +.

The NDK includes:

    • The tools and build files required to generate the native code base from C + +.
    • Embed a consistent native library into the application package files that you can deploy on your Android device (application packages files, the. apk file).
    • Support for all future Android platforms with some column native system header files and libraries

Why use the NDK?

Broadly speaking, it is mainly divided into the following situations:

1. Protection of the code, because the Java layer Code of the APK is easy to decompile, and the C + + library is difficult to reverse the sink.

2. Call the third-party C/S library in the NDK, because most of the open source libraries are written in C/s code.

3. Easy to transplant, the library written in C + + can be reused on other embedded platforms.

4:eclipse

Eclipse is an open-source, Java-based, extensible development platform. For its part, it is just a framework and a set of services for building a development environment through plug-in components. Fortunately, Eclipse comes with a standard set of plugins, including Java development tools (Java Development kit,jdk).

5:CDT, ADT Plug-ins

CDT General Eclipse comes with it.

Using Eclipse for Android app development requires an ADT plugin for Eclipse, so eclipse can connect to the Android SDK. Easy to create, edit, and debug Android programs in the Eclipse development environment.

6: Create Android Virtual Device

Android Virtual Device Manager tools are available in the Android SDK to make it easy to run Android programs in environments that don't have a real Android device.

Android Program Analysis Environment (build step slightly)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.