Windows7 Android x86_64 and armv8-a operation steps

Source: Internet
Author: User

1. Download android-ndk-r10d-windows-x86_64.exe from https://developer.android.com/tools/sdk/ndk/index.html and Android-ndk-r10d-linux-x86_64.bin;

2. Install Ndkr10d:./android-ndk-r10d-linux-x86_64.bin through terminal in Ubuntu1404 64 bits;

3. Via the command sudo vi/etc/profile, open the profile file, and at the end of this file, add

Export Ndkroot=/home/spring/ndk/android-ndk-r10dexport path= $NDKROOT: $PATHexport ndkbin=/home/spring/ndk/ Android-ndk-r10d/toolchains/aarch64-linux-android-4.9/prebuilt/linux-86_64/bin

4. Restart Ubuntu, enter Ndk-build, display the Android NDK and other related information, the configuration NDK success;

5. Install Android-ndk-r10d-windows-x86_64.exe on Windows and install to the d:/programfiles/android/android-sdk/directory;

6. Download the 5.0.1 or 5.1 SDK via SDK Manager.exe;

7. Under Windows, you need to modify the/.bash_profile configuration in Cygwin to add the ndkr10d path:

android_ndk_root=/cygdrive/d/programfiles/android/android-sdk/android-ndk-r10dpath=/cygdrive/d/programfiles/ android/android-sdk/android-ndk-r10d:/cygdrive/d/soft/java/eclipse/plugins/org.apache.ant_1.8.4.v201303080030/ Bin: $PATH

8. If compiling x86_64, you will need to assign the App_abi in application.mk: app_abi: = x86_64

9. If compiling armv8-a, you will need to assign the App_abi in application.mk: app_abi: = arm64-v8a

10. Other basic operation steps can refer to: (1), http://blog.csdn.net/fengbingchun/article/details/10439281; (2), http://blog.csdn.net/fengbingchun/article/details/11580983; (3), http://blog.csdn.net/fengbingchun/article/details/38798023;

App_abi currently available values include: (1), 32-bit: Armeabi, ARMEABI-V7A, x86, MIPS, (2), 64-bit: arm64-v8a,x86_64, MIPS64;

12. Note: (1), the current simulator only x86_64 without arm64-v8a, (2), in the use of real machine test armv8-a, it is best to first through the ADB shell, cat/proc/cpuinfo, to see if the real machine is supported armv8-a; (3 ), Arm32, and arm64 Some configuration parameters cannot coexist, such as-msoft-float only supported under the ARM32 bit, not supported under the ARM64 bit.

Windows7 Android x86_64 and armv8-a operation steps

Related Article

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.