Release (.aab) signing failed.

68 views
Skip to first unread message

berk berk

unread,
Mar 23, 2023, 1:35:40 PM3/23/23
to Kivy users support
[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


Robert

unread,
Mar 23, 2023, 8:25:41 PM3/23/23
to Kivy users support
Don't know if this is you issue, but
The detailed instructions show three of those exports in quotes ""

berk berk

unread,
Mar 24, 2023, 3:23:44 PM3/24/23
to Kivy users support
well, is there a solution?

24 Mart 2023 Cuma tarihinde saat 03:25:41 UTC+3 itibarıyla Robert şunları yazdı:

Robert

unread,
Mar 24, 2023, 4:09:32 PM3/24/23
to Kivy users support
You could try following those instructions

berk berk

unread,
Mar 25, 2023, 9:13:20 PM3/25/23
to Kivy users support
where are the  instructions?

when i try this: buildozer -v android debug release
it's complete clearly but as apk, i need .aab(yes i choose .aab in buildozer)
need help
24 Mart 2023 Cuma tarihinde saat 23:09:32 UTC+3 itibarıyla Robert şunları yazdı:

Robert

unread,
Mar 25, 2023, 10:52:15 PM3/25/23
to Kivy users support
As usual start here https://github.com/Android-for-Python/Android-for-Python-Users#release-builds and see the linked documents for details.
Reply all
Reply to author
Forward
0 new messages