[DEBUG]: -> running gradlew clean bundleRelease
[DEBUG]: Starting a Gradle Daemon (subsequent builds will be faster)
[DEBUG]:
[DEBUG]: > Configure project :
[DEBUG]: WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.
[DEBUG]:
[DEBUG]: > Task :validateSigningRelease FAILED
[DEBUG]:
[DEBUG]: FAILURE: Build failed with an exception.
[DEBUG]:
[DEBUG]:
* What went wrong:
[DEBUG]: Execution failed for task ':validateSigningRelease'.
[DEBUG]: > Keystore file '/home/berk/keystores/mykey.keystore,' not found for signing config 'release'.[DEBUG]:
[DEBUG]: * Try:
[DEBUG]: > Run with --stacktrace option to get the stack trace.
[DEBUG]: > Run with --info or --debug option to get more log output.
[DEBUG]: > Run with --scan to get full insights.
[DEBUG]:
[DEBUG]: * Get more help at
https://help.gradle.org[DEBUG]:
[DEBUG]: Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[DEBUG]:
[DEBUG]: You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[DEBUG]:
[DEBUG]: See
https://docs.gradle.org/7.4.1/userguide/command_line_interface.html#sec:command_line_warnings[DEBUG]:
[DEBUG]: BUILD FAILED in 1m 2s
[DEBUG]: 28 actionable tasks: 28 executed
problem is bold section, but how can i fix?
--------------------------------------------------------
(1) $ mkdir -p ~/keystores/
$ keytool -genkey -v -keystore ~/keystores/<your-new-key>.keystore -alias <your-key-alias> -keyalg RSA -keysize 2048 -validity 10000
//I used this code for create keystores, Then completed successfully.
(2)
$ export P4A_RELEASE_KEYSTORE=~/keystores/<your-new-key>.keystore
$ export P4A_RELEASE_KEYSTORE_PASSWD=android
$ export P4A_RELEASE_KEYALIAS_PASSWD=android
$ export P4A_RELEASE_KEYALIAS=<your-key-alias>
//Then I exported these (with may password)
(3) Last step before signing release I got this error :(
* Ubuntu-22.04 , wsl 2