Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DDBA51809B for ; Fri, 12 Feb 2016 18:05:18 +0000 (UTC) Received: (qmail 14235 invoked by uid 500); 12 Feb 2016 18:05:18 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 14117 invoked by uid 500); 12 Feb 2016 18:05:18 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 13839 invoked by uid 99); 12 Feb 2016 18:05:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2016 18:05:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 421FC2C1F6B for ; Fri, 12 Feb 2016 18:05:18 +0000 (UTC) Date: Fri, 12 Feb 2016 18:05:18 +0000 (UTC) From: "Tobias Bocanegra (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10386) Use of NDK is not supported with cordova-android 5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10386?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D151449= 72#comment-15144972 ]=20 Tobias Bocanegra commented on CB-10386: --------------------------------------- wouldn't it be better to create a {{gradle.properties}} file instead of jus= t adding the build arguments? this way it also works OOTB with android stud= io. > 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.: > =CE=BB cordova plugin add cordova-plugin-crosswalk-webview > 4. Build cordova: > =CE=BB cordova build android > ANDROID_HOME=3DC:\Program Files (x86)\Android\android-sdk > JAVA_HOME=3DC:\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 t= rying the new experimental plugin. For details, see http://tools.android.c= om/tech-docs/new-build-system/gradle-experimental. Set "android.useDepreca= tedNdk=3Dtrue" in gradle.properties to continue using the current NDK integ= ration. > * 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 a= rgs: /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b d:\apps\= app\platforms\android\build.gradle -Dorg.gradle.daemon=3Dtrue" > 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\platfo= rms\android\gradlew cdvBuildDebug -b d:\apps\app\platforms\android\build.gr= adle -Dorg.gradle.daemon=3Dtrue" -- 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