Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1950 closed defect (fixed)

Failure in configure-android when specifying --use-ndk-cflags with Android NDK r11 or later

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.6
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Starting from r11, Android NDK has removed the sample folder and changed the toolchain version, hence the configure-android with "--use-ndk-cflags" will fail with this error:

samples/hello-jni: No such file or directory.  Stop.
configure-android error: failed to run ndk-build, check ANDROID_NDK_ROOT env var

Change History (2)

comment:1 Changed 8 years ago by ming

  • Resolution set to fixed
  • Status changed from new to closed

In 5409:

Fixed #1950: Failure in configure-android when specifying --use-ndk-cflags with Android NDK r11 or later

  • Create our own dummy (empty) Android sample app
  • Unspecify the toolchain version and use default instead

comment:2 Changed 8 years ago by riza

In 5413:

Re #1950: Check for ndk-build on configure-android.

Note: See TracTickets for help on using tickets.