[
https://issues.apache.org/jira/browse/CB-10386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107235#comment-15107235
]
ASF GitHub Bot commented on CB-10386:
-------------------------------------
GitHub user nikhilkh opened a pull request:
https://github.com/apache/cordova-android/pull/249
CB-10386 Add android.useDeprecatedNdk=true to support NDK in gradle
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-android ndkFix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-android/pull/249.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #249
----
commit 058a20af3ffc03bc2ef7bf89a8b74d3d4f61ac86
Author: Nikhil Khandelwal <[email protected]>
Date: 2016-01-19T19:16:04Z
CB-10386 Add android.useDeprecatedNdk=true to support NDK in gradle
----
> 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: [email protected]
For additional commands, e-mail: [email protected]