Nikhil Khandelwal created CB-10386: -------------------------------------- Summary: Use of NDK is not supported with cordova-android 5.1 Key: CB-10386 URL: https://issues.apache.org/jira/browse/CB-10386 Project: Apache Cordova Issue Type: Bug Components: Android Reporter: Nikhil Khandelwal
REPRO: 1. Create a cordova project 2. Add android platform 3. Add a plugin that depends on NDK e.g.: λ cordova plugin add cordova-plugin-crosswalk-webview 4. Build cordova: λ cordova build android ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk JAVA_HOME=C:\Program Files\java\jdk1.8.0_60 embedded FAILURE: Build failed with an exception. * Where: Build file 'D:\apps\app\platforms\android\build.gradle' line: 185 * What went wrong: A problem occurred evaluating root project 'android'. > Error: NDK integration is deprecated in the current plugin. Consider trying > the new experimental plugin. For details, see > http://tools.android.com/tech-docs/new-build-system/gradle-experimental. Set > "android.useDeprecatedNdk=true" in gradle.properties to continue using the > current NDK integration. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 8.628 secs ERROR building one of the platforms: Error code 1 for command: cmd with args: /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true" You may not have the required environment or OS to build this project Error: Error code 1 for command: cmd with args: /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true" -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org