Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The plugins which i used for card scanner is cordova(card.io) and it was successfully installed, but after the build function i cant able to generate any apk file, it throws an error.

How can i solve it??


Error: Error code 1 for command:/android/gradlew with args: cdvBuildRelease,-b,/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true

What I have tried:

I tried to resolve it by using the translation plugin but again it throws an same error after the build function.
Failed to install 'cordova-plugin-ignore-lint-translation':CordovaError:
Posted
Comments
Darren_vms 6-Feb-17 8:12am    
what happens when you run the same command from the command line with the same arguments ?

What is in /android/build.gradle ?

Darren
Vitheya Monikha 8-Feb-17 4:24am    
Actually I'm getting this error line after installing cordova build --release android step.
The version of the gradle in the structure is gradleVersion = '2.8' & minSdkVersion="14" android:targetSdkVersion="23".
I need the solution for this,how can i solve it??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900