Changes between Version 60 and Version 61 of Getting-Started/Android


Ignore:
Timestamp:
Mar 23, 2016 4:28:17 AM (5 years ago)
Author:
riza
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Android

    v60 v61  
    364364 
    365365 
     366=== Error configure-android with "--use-ndk-cflags" using android-ndk-r11b === #errndkr11b 
     367 
     368Android-ndk-r11b has removed the sample folder and changed the toolchain version, hence the configure-android with "--use-ndk-cflags" will fail with this error: 
     369{{{ 
     370configure-android error: failed to run ndk-build, check ANDROID_NDK_ROOT env var 
     371}}} 
     372As a workaround, you can copy the sample folder from older ndk and modify the configure-android script to use toolchain version 4.9: 
     373{{{ 
     374NDK_OUT=`${ANDROID_NDK_ROOT}/ndk-build -n -C ${ANDROID_NDK_ROOT}/samples/hello-jni NDK_TOOLCHAIN_VERSION=4.9 APP_PLATFORM=${APP_PLATFORM} APP_ABI=${TARGET_ABI}` 
     375}}} 
     376 
    366377== Other Android projects == 
    367378