cordovacordova-android

How to fix Cordova signing issue?


Currently I have app that is on google play, I have keystore and the password. When I try to build my app using cordova build android I works fine, got the unsigned apk. but when i try to sign cordova build android --release the app it shows me an error. the out put looks like below, can you help me to fix this ?


(node:15200) ExperimentalWarning: The fs.promises API is experimental

Android Studio project detected

Subproject Path: CordovaLib Subproject Path: app publishNonDefault is deprecated and has no effect anymore. All variants are now published. Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead. The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at build_c21n0taxk7sttbckav1bwd5za.run(C:\Users\platforms\android\app\build.gradle:144)

FAILURE: Build failed with an exception.

BUILD FAILED in 3s cmd: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.

BUILD FAILED in 3s

enter image description here


Solution

  • I degrade my gradle version and it works,