Error while running Android platform in Cordova

Asked

Viewed 57 times

0

When executing the command Cordova run android, of the following error:

:mergeDebugJniLibFolders UP-TO-DATE
:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
:processDebugJavaRes UP-TO-DATE
:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:validateDebugSigning
:packageDebug UP-TO-DATE
:zipalignDebugUnable to open '/app_cliente/platforms/android/build/outputs/apk/android-debug-unaligned.apk' as zip archive
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':zipalignDebug'.
> Process 'command '/home/user/Android/Sdk/build-tools/23.0.3/zipalign'' finished with non-zero exit value 1

* 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: 21.26 secs
Error: Error code 1 for command: /app_cliente/platforms/android/gradlew with args: cdvBuildDebug,-b,/app_cliente/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true

So far I’ve found nothing about this problem.

Does anyone know what it can be?

  • Have you tried upgrading in Cordova? sudo npm install -g Cordova

  • I did, but you’re still making the same mistake.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.