Facing issue when building app - Algorithm HmacPBESHA256 not available #5376
-
Operating SystemLinux Android Studio VersionAndroid Studio Bumblebee | 2021.1.1 Patch 3 RAM size16 gb Free disk space400 gb Which step are you stuck on?I followed all the steps as mentioned in document , after the step of setting up Gradle Jdk version to 11 , i tried installing app in my physical device , there i got this issue when installing Error LogExecution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "/home/uphar/.android/debug.keystore": Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available Approaches already used to resolve the issuei tried to invalidate cache and clean project Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Have you tried deleting debug.keystore file ? Refer this SO thread you may get solution. |
Beta Was this translation helpful? Give feedback.
-
issue is now resolved it was issue when u dont use proper jdk version |
Beta Was this translation helpful? Give feedback.
@whyash8, as @uphargaur mentioned, you need to use the correct jdk. In our case, that is jdk 11, and here is a link to the wiki section explaining how to configure it. Please let us know if we can assist further.