Unable to automatically upload Android apps

Just starting out? Need help? Post your questions and find answers here.
Quin
Posts: 118
Joined: Wed Nov 08, 2023 4:38 pm

Unable to automatically upload Android apps

Post by Quin »

Whenever I check the box to automatically upload my debug APK's to my USB connected device (a Pixel 7 Pro), it ends up erroring out, saying something about deprecated Gradle features:

Code: Select all

> Task :app:dexBuilderDebug
> Task :app:mergeDebugJavaResource
> Task :app:mergeProjectDexDebug
> Task :app:mergeLibDexDebug
> Task :app:packageDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
> com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users\Quin\.android\debug.keystore": Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 11s
Any tips?
Thanks!
plouf
Posts: 295
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Unable to automatically upload Android apps

Post by plouf »

i have grandle 7.4.2 in spider folder
i see error about grandle 8.0 ?!
Christos
Post Reply