[ https://issues.apache.org/jira/browse/CB-10386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142629#comment-15142629 ]
Antoine edited comment on CB-10386 at 2/11/16 11:47 AM: -------------------------------------------------------- Android Studio show me the same error : (Error:(185, 0) 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.) http://img11.hostingpics.net/pics/221835Capture.jpg Already tried to remove android platform and add it again. I have last cordova (6.0.0) and android (5.1.0) version. I can't generate signed apk (by android studio) but I can run it on my device. Don't know if this help, but, I have the update in my gradlebuilder.js : // 10 seconds -> 6 seconds args.push('-Dorg.gradle.daemon=true'); // allow NDK to be used - required by Gradle 1.5 plugin args.push('-Pandroid.useDeprecatedNdk=true'); was (Author: titoine): Android Studio show me the same error : (Error:(185, 0) 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.) http://img11.hostingpics.net/pics/221835Capture.jpg Already tried to remove android platform and add it again. I have last cordova (6.0.0) and android (5.1.0) version. I can't generate signed apk (by android studio) but I can run it on my device. > 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