Hello guys!
I need help in launching app on my device and packaging.
Here it is
Task :app:ue4BuildUniversalAPKSDebug FAILED
[BT:0.13.0] Error: Error while loading private key and certificates from the keystore.
com.android.tools.build.bundletool.model.exceptions.CommandExecutionException: Error while loading private key and certificates from the keystore.
at com.android.tools.build.bundletool.model.exceptions.CommandExecutionException$Builder.build(CommandExecutionException.java:81)
at com.android.tools.build.bundletool.model.SigningConfiguration.extractFromKeystore(SigningConfiguration.java:150)
at com.android.tools.build.bundletool.commands.DebugKeystoreUtils.lambda$getDebugSigningConfiguration$1(DebugKeystoreUtils.java:57)
at java.util.Optional.map(Optional.java:215)
at com.android.tools.build.bundletool.commands.DebugKeystoreUtils.getDebugSigningConfiguration(DebugKeystoreUtils.java:55)
at com.android.tools.build.bundletool.commands.BuildApksCommand.fromFlags(BuildApksCommand.java:483)
at com.android.tools.build.bundletool.commands.BuildApksCommand.fromFlags(BuildApksCommand.java:433)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:74)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:46)
Caused by: java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:658)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)
at java.security.KeyStore.load(KeyStore.java:1445)
at com.android.tools.build.bundletool.model.SigningConfiguration.extractFromKeystore(SigningConfiguration.java:113)
… 7 more
Task :app:ue4ExtractUniversalAPKDebug FAILED
ERROR: Unable to find AAB: build/outputs/bundle/debug/universal.apks
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:ue4BuildUniversalAPKSDebug’.
Process ‘command ‘C:\Program Files\Java\jdk1.8.0_77\bin\java.exe’’ 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. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:ue4ExtractUniversalAPKDebug’.
Process ‘command ‘C:\Program Files\Java\jdk1.8.0_77\bin\java.exe’’ 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. Run with --scan to get full insights.
============================================================================== -
Get more help at https://help.gradle.org
BUILD FAILED in 5m 17s
63 actionable tasks: 63 executed
ERROR: cmd.exe failed with args /c “D:\Unreal_Progects\Mobilegametest\Intermediate\Android\gradle\rungradle.bat” :app:bundleDebug
Took 356,1933633s to run UnrealBuildTool.exe, ExitCode=6
UnrealBuildTool failed. See log for more details. (C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_4.26\UBT-Mobilegametest-Android-Development.txt)
AutomationTool exiting with ExitCode=6 (6)
BUILD FAILED
ERROR: cmd.exe failed with args /c “D:\Unreal_Progects\Mobilegametest\Intermediate\Android\gradle\rungradle.bat” :app:bundleDebug
This error makes me angry.
I spent so much time solving this problems(created keystores,reinstalling engine,sdk,ndk,jdk).However nothing changed.I’m begging for your help.
Thanks for attention.