cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Goffioul (JIRA)" <>
Subject [jira] [Created] (CB-13646) Unable to compile native code (android.useDeprecated.Ndk not supported anymore)
Date Thu, 07 Dec 2017 13:58:00 GMT
Michael Goffioul created CB-13646:

             Summary: Unable to compile native code (android.useDeprecated.Ndk not supported
                 Key: CB-13646
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-android
    Affects Versions: 7.0.0
            Reporter: Michael Goffioul
            Assignee: Joe Bowser
            Priority: Critical

A cordova project that contains native/jni code fails to compile, because android.useDeprecatedNdk
is not supported anymore.

Steps to reproduce:
1) create a new cordova project
2) add android platform
3) mkdir platforms/android/app/src/main/jni
4) touch platforms/android/app/src/main/jni/
5) cordova build android

It fails with the following error:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugNdk'.
> Error: Flag android.useDeprecatedNdk is no longer supported and will be removed in the
next version of Android Studio.  Please switch to a supported build system.
  Consider using CMake or ndk-build integration. For more information, go to:
   To get started, you can use the sample ndk-build script the Android
   plugin generated for you at: .../testnative/platforms/android/app/build/intermediates/ndk/debug/
  Alternatively, you can use the experimental plugin:
  To continue using the deprecated NDK compile for another 60 days, set 
  android.deprecatedNdkCompileLease=1512654767567 in

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message