cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CB-12389) Cordova can not find Android Build Tools on Ubuntu 16.04
Date Mon, 20 Mar 2017 18:15:42 GMT

     [ https://issues.apache.org/jira/browse/CB-12389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser reopened CB-12389:
-----------------------------

> Cordova can not find Android Build Tools on Ubuntu 16.04
> --------------------------------------------------------
>
>                 Key: CB-12389
>                 URL: https://issues.apache.org/jira/browse/CB-12389
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>         Environment: Ubunto 16.04
>            Reporter: Amir Karimi
>
> Hi, I am try to install Cordova after 3 months on new version of Ubuntu (16.04) but it
got error and can not find android build tools. all environmets is set for my user and also
root user and test it to echo all variables...
> but it got error yet... i search every where and do not find solution for this issus.
please help me.
> i also test ionic and this got error same this to find android build tools...
> Error log:
> cordova build
> ANDROID_HOME=/home/amir/applications/android
> JAVA_HOME=/usr/local/java/jdk1.8.0_122
> Subproject Path: CordovaLib
> Starting a new Gradle Daemon for this build (subsequent builds will be faster).
> Download https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.1/gradle-2.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.2.1/gradle-core-2.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/build/builder/2.2.1/builder-2.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/lint/lint/25.2.1/lint-25.2.1.pom
> Download https://repo1.maven.org/maven2/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.pom
> Download https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.2.1/gradle-api-2.2.1.pom
> Download https://jcenter.bintray.com/com/android/databinding/compilerCommon/2.2.1/compilerCommon-2.2.1.pom
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm/5.0.4/asm-5.0.4.pom
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-parent/5.0.4/asm-parent-5.0.4.pom
> Download https://repo1.maven.org/maven2/org/ow2/ow2/1.3/ow2-1.3.pom
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.pom
> Download https://repo1.maven.org/maven2/net/sf/proguard/proguard-gradle/5.2.1/proguard-gradle-5.2.1.pom
> Download https://repo1.maven.org/maven2/net/sf/proguard/proguard-parent/5.2.1/proguard-parent-5.2.1.pom
> Download https://repo1.maven.org/maven2/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.pom
> Download https://repo1.maven.org/maven2/org/jacoco/org.jacoco.build/0.7.5.201505241946/org.jacoco.build-0.7.5.201505241946.pom
> Download https://repo1.maven.org/maven2/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.pom
> Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom
> Download https://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
> Download https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.pom
> Download https://repo1.maven.org/maven2/com/google/google/1/google-1.pom
> Download https://repo1.maven.org/maven2/org/antlr/antlr/3.5.2/antlr-3.5.2.pom
> Download https://repo1.maven.org/maven2/org/antlr/antlr-master/3.5.2/antlr-master-3.5.2.pom
> Download https://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
> Download https://jcenter.bintray.com/com/android/tools/build/builder-model/2.2.1/builder-model-2.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/2.2.1/builder-test-api-2.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/sdklib/25.2.1/sdklib-25.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/sdk-common/25.2.1/sdk-common-25.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/common/25.2.1/common-25.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/25.2.1/manifest-merger-25.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/25.2.1/ddmlib-25.2.1.pom
> Download https://repo1.maven.org/maven2/com/android/tools/jack/jack-api/0.11.0/jack-api-0.11.0.pom
> Download https://repo1.maven.org/maven2/com/android/tools/jill/jill-api/0.10.0/jill-api-0.10.0.pom
> Download https://jcenter.bintray.com/com/android/tools/analytics-library/protos/25.2.1/protos-25.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/analytics-library/shared/25.2.1/shared-25.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/25.2.1/tracker-25.2.1.pom
> Download https://repo1.maven.org/maven2/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom
> Download https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.pom
> Download https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.pom
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.pom
> Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/25.2.1/lint-checks-25.2.1.pom
> Download https://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.5.1/ecj-4.5.1.pom
> Download https://repo1.maven.org/maven2/com/google/guava/guava/17.0/guava-17.0.pom
> Download https://repo1.maven.org/maven2/com/google/guava/guava-parent/17.0/guava-parent-17.0.pom
> Download https://jcenter.bintray.com/com/android/databinding/baseLibrary/2.2.1/baseLibrary-2.2.1.pom
> Download https://repo1.maven.org/maven2/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
> Download https://repo1.maven.org/maven2/org/antlr/antlr4-master/4.5.3/antlr4-master-4.5.3.pom
> Download https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.pom
> Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/25/commons-parent-25.pom
> Download https://repo1.maven.org/maven2/org/apache/apache/9/apache-9.pom
> Download https://repo1.maven.org/maven2/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom
> Download https://repo1.maven.org/maven2/com/android/tools/annotations/24.5.0/annotations-24.5.0.pom
> Download https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/5.2.1/proguard-base-5.2.1.pom
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.pom
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-parent/5.0.1/asm-parent-5.0.1.pom
> Download https://repo1.maven.org/maven2/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.pom
> Download https://repo1.maven.org/maven2/org/antlr/ST4/4.0.8/ST4-4.0.8.pom
> Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.2.1/layoutlib-api-25.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/dvlib/25.2.1/dvlib-25.2.1.pom
> Download https://jcenter.bintray.com/com/android/tools/repository/25.2.1/repository-25.2.1.pom
> Download https://repo1.maven.org/maven2/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
> Download https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
> Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/33/commons-parent-33.pom
> Download https://repo1.maven.org/maven2/org/apache/apache/13/apache-13.pom
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.pom
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.1.1/httpcomponents-client-4.1.1.pom
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.pom
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.1/httpcomponents-client-4.1.pom
> Download https://repo1.maven.org/maven2/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom
> Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.1/lint-api-25.2.1.pom
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.pom
> Download https://repo1.maven.org/maven2/com/intellij/annotations/12.0/annotations-12.0.pom
> Download https://repo1.maven.org/maven2/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom
> Download https://repo1.maven.org/maven2/com/google/jimfs/jimfs-parent/1.1/jimfs-parent-1.1.pom
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.pom
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.1/httpcomponents-core-4.1.pom
> Download https://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
> Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/5/commons-parent-5.pom
> Download https://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.4/commons-codec-1.4.pom
> Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/11/commons-parent-11.pom
> Download https://repo1.maven.org/maven2/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.pom
> Download https://jcenter.bintray.com/com/android/tools/external/com-intellij/uast/145.597.3/uast-145.597.3.pom
> Download https://jcenter.bintray.com/com/android/tools/annotations/25.2.1/annotations-25.2.1.pom
> Download https://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.pom
> Download https://repo1.maven.org/maven2/com/google/guava/guava-parent/18.0/guava-parent-18.0.pom
> Download https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.1/gradle-2.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.2.1/gradle-core-2.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/build/builder/2.2.1/builder-2.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/lint/lint/25.2.1/lint-25.2.1.jar
> Download https://repo1.maven.org/maven2/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar
> Download https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.2.1/gradle-api-2.2.1.jar
> Download https://jcenter.bintray.com/com/android/databinding/compilerCommon/2.2.1/compilerCommon-2.2.1.jar
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.jar
> Download https://repo1.maven.org/maven2/net/sf/proguard/proguard-gradle/5.2.1/proguard-gradle-5.2.1.jar
> Download https://repo1.maven.org/maven2/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.jar
> Download https://repo1.maven.org/maven2/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.jar
> Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar
> Download https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar
> Download https://repo1.maven.org/maven2/org/antlr/antlr/3.5.2/antlr-3.5.2.jar
> Download https://jcenter.bintray.com/com/android/tools/build/builder-model/2.2.1/builder-model-2.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/2.2.1/builder-test-api-2.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/sdklib/25.2.1/sdklib-25.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/sdk-common/25.2.1/sdk-common-25.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/common/25.2.1/common-25.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/25.2.1/manifest-merger-25.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/25.2.1/ddmlib-25.2.1.jar
> Download https://repo1.maven.org/maven2/com/android/tools/jack/jack-api/0.11.0/jack-api-0.11.0.jar
> Download https://repo1.maven.org/maven2/com/android/tools/jill/jill-api/0.10.0/jill-api-0.10.0.jar
> Download https://jcenter.bintray.com/com/android/tools/analytics-library/protos/25.2.1/protos-25.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/analytics-library/shared/25.2.1/shared-25.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/25.2.1/tracker-25.2.1.jar
> Download https://repo1.maven.org/maven2/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar
> Download https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.jar
> Download https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.jar
> Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/25.2.1/lint-checks-25.2.1.jar
> Download https://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.5.1/ecj-4.5.1.jar
> Download https://jcenter.bintray.com/com/android/databinding/baseLibrary/2.2.1/baseLibrary-2.2.1.jar
> Download https://repo1.maven.org/maven2/org/antlr/antlr4/4.5.3/antlr4-4.5.3.jar
> Download https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar
> Download https://repo1.maven.org/maven2/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.jar
> Download https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/5.2.1/proguard-base-5.2.1.jar
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.jar
> Download https://repo1.maven.org/maven2/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.jar
> Download https://repo1.maven.org/maven2/org/antlr/ST4/4.0.8/ST4-4.0.8.jar
> Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.2.1/layoutlib-api-25.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/dvlib/25.2.1/dvlib-25.2.1.jar
> Download https://jcenter.bintray.com/com/android/tools/repository/25.2.1/repository-25.2.1.jar
> Download https://repo1.maven.org/maven2/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
> Download https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.jar
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.jar
> Download https://repo1.maven.org/maven2/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar
> Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.1/lint-api-25.2.1.jar
> Download https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.jar
> Download https://repo1.maven.org/maven2/com/intellij/annotations/12.0/annotations-12.0.jar
> Download https://repo1.maven.org/maven2/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar
> Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.jar
> Download https://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
> Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
> Download https://repo1.maven.org/maven2/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar
> Download https://jcenter.bintray.com/com/android/tools/external/com-intellij/uast/145.597.3/uast-145.597.3.jar
> Download https://jcenter.bintray.com/com/android/tools/annotations/25.2.1/annotations-25.2.1.jar
> Download https://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar
> Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration
failure takes precedence.
> java.lang.IllegalStateException: buildToolsVersion is not specified.
> 	at com.google.common.base.Preconditions.checkState(Preconditions.java:173)
> 	at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:645)
> 	at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
> 	at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)
> 	at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
> 	at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
> 	at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)
> 	at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
> 	at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
> 	at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
> 	at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
> 	at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
> 	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
> 	at com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)
> 	at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
> 	at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:61)
> 	at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
> 	at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
> 	at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)
> 	at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
> 	at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
> 	at org.gradle.internal.Factories$1.create(Factories.java:22)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
> 	at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
> 	at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
> 	at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
> 	at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
> 	at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
> 	at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
> 	at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
> 	at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
> 	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
> 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
> 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
> 	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
> 	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
> 	at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
> 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
> 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
> 	at org.gradle.util.Swapper.swap(Swapper.java:38)
> 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
> 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
> 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
> 	at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)
> 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
> 	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> FAILURE: Build failed with an exception.
> * Where:
> Script '/home/amir/test/platforms/android/CordovaLib/cordova.gradle' line: 64
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > No installed build tools found. Install the Android build tools version 19.1.0 or
higher.
> * 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: 2 mins 21.386 secs
> Error: /home/amir/test/platforms/android/gradlew: Command failed with exit code 1 Error
output:
> Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration
failure takes precedence.
> java.lang.IllegalStateException: buildToolsVersion is not specified.
> 	at com.google.common.base.Preconditions.checkState(Preconditions.java:173)
> 	at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:645)
> 	at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
> 	at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)
> 	at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
> 	at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
> 	at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)
> 	at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
> 	at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
> 	at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
> 	at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
> 	at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
> 	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
> 	at com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)
> 	at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
> 	at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:61)
> 	at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
> 	at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
> 	at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)
> 	at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
> 	at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
> 	at org.gradle.internal.Factories$1.create(Factories.java:22)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
> 	at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
> 	at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
> 	at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
> 	at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
> 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
> 	at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
> 	at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
> 	at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
> 	at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
> 	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
> 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
> 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
> 	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
> 	at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
> 	at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
> 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
> 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
> 	at org.gradle.util.Swapper.swap(Swapper.java:38)
> 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
> 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
> 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
> 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
> 	at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
> 	at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)
> 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
> 	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> FAILURE: Build failed with an exception.
> * Where:
> Script '/home/amir/test/platforms/android/CordovaLib/cordova.gradle' line: 64
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > No installed build tools found. Install the Android build tools version 19.1.0 or
higher.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option
to get more log output.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message