Graphic tutorial for setting up AndroidNDK development environment in Ubuntu

Source: Internet
Author: User
1. To set up the AndroidSDK development environment, refer to setting up the AndroidSDK development environment under Ubuntu (image and text). First, set up the AndroidSDK development environment under Ubuntu. 2. Download The NDK Development Kit and open the official website: Workshop ~ /Bin object 1: Build the Android SDK Development Environment

Refer to setting up the Android SDK Development Environment (image and text) In Ubuntu. First, set up the Android SDK development environment in Ubuntu.


2. Download The NDK Development Kit

Open the official website: http://developer.android.com/sdk/ndk/index.html download NDK Development Kit, the current latest version is r7b, such:

Download and unzip ~ For details about how to decompress the tar.bz2 package in the/bin directory, refer to the link: how to package various decommission commands in Linux

3. Configure NDK Environment Parameters

Open ~ /. Bashrc file:

  1. $ Sudo vim ~ /. Bashrc

Add the following command in the last line of the file:

  1. Export PATH = $ PATH :~ // Bin/android-ndk-r7b
Save and close.

After this configuration, you can easily use the tools included in the NDK package.

Run the following command to open the terminal:

  1. $ Ndk-build-v
If the following figure is displayed, it indicates yes.


Complete!

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.