-1
I’m having the following problem:
When I run the following command on Ionic 6.6.0
ionic cordova run android -l
The project compiles, but when it will try to emulate brings the following problems:
[cordova]
[cordova] FAILURE: Build failed with an exception.
[cordova]
[cordova] * What went wrong:
[cordova] Execution failed for task ':app:packageDebug'.
[cordova] > Failed to read key AndroidDebugKey from store "/home/brito/.android/debug.keystore": keystore password was incorrect
[cordova]
[cordova] * Try:
[cordova] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full
insights.
[cordova]
[cordova] * Get more help at https://help.gradle.org
[cordova]
[cordova] BUILD FAILED in 10s
[cordova] /home/brito/Documentos/Projetos/raynero/raynero-app/platforms/android/gradlew: Command failed with exit code 1 Error output:
[cordova] FAILURE: Build failed with an exception.
[cordova]
[cordova] * What went wrong:
[cordova] Execution failed for task ':app:packageDebug'.
[cordova] > Failed to read key AndroidDebugKey from store "/home/brito/.android/debug.keystore": keystore password was incorrect
[cordova]
[cordova] * Try: [cordova] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[cordova]
[cordova] * Get more help at https://help.gradle.org
[cordova]
[cordova] BUILD FAILED in 10s
[ERROR] An error occurred while running subprocess cordova.
cordova build android exited with exit code 1.
Re-running this command with the --verbose flag may provide more information
I’ve already executed the following command and nothing’s working:
keytool -genkey -alias raynero -keystore ./keystore/debug.keystore
I also tried to copy the file debug.keystore
generated for the folder ~/.android
and it didn’t work either
Where I direct the debug.Keystore to my keytore folder within the project?
What else should I do so when rotating the ionic cordova run android -l
can recognize the debug.Keystore of my specific folder?