cuba-labs / polymer-cordova

4 stars 1 forks source link

Build failed with exception #3

Open aydinozkan opened 5 years ago

aydinozkan commented 5 years ago

Dear Cuba Labs,

Thanks for the project, it's a really good starting point to understand the correlation between Polymer, Cordova and Android. I have a small issue while building the App. Please check below.

`> Task :app-polymer-client:installCordovaPackages npm WARN package.json com.company.demo@1.0.0 No repository field. npm WARN package.json com.company.demo@1.0.0 No README data

Task :app-polymer-client:buildCordova FAILED ANDROID_HOME=/usr/local/Caskroom/android-platform-tools/27.0.1 JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home Error: spawn EACCES

FAILURE: Build failed with an exception.

Task :app-polymer-client:installCordovaPackages npm WARN package.json com.company.demo@1.0.0 No repository field. npm WARN package.json com.company.demo@1.0.0 No README data

Task :app-polymer-client:buildCordova FAILED ANDROID_HOME=/usr/local/Caskroom/android-platform-tools/27.0.1 JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home Error: spawn EACCES

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5s 7 actionable tasks: 2 executed, 5 up-to-date `

web-devel commented 5 years ago

Hi @aydinozkan, can you please clarify what task did you run? I presume the problem you experience is realted to Androd's gradle permissions. See the following https://github.com/ionic-team/ionic-cli/issues/2835