You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Juraj Vitko (JIRA)" <ji...@apache.org> on 2016/03/15 00:17:33 UTC

[jira] [Commented] (CB-10386) Use of NDK is not supported with cordova-android 5.1

    [ https://issues.apache.org/jira/browse/CB-10386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15194365#comment-15194365 ] 

Juraj Vitko commented on CB-10386:
----------------------------------

This doesn't work from Android Studio, e.g. when debugging the app, which I think is one of common cases of using Cordova when developing for Android, and used to work fine in the previous Cordova versions.

> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org