ERROR WHILE RUNNING #5581
-
Operating SystemWINDOWS Android Studio VersionAndroid Studio Bumblebee | 2021.1.1 Patch 3 RAM size8 GB Free disk space198 GB Which step are you stuck on?when ever i try to run apk in my device by ubs it show this error Error LogError: Execution failed for task ':app:packageDebug'.
Cause: A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
Inner Cause: com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users\Sonu.android\debug.keystore": Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
Caused by:
java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
### Approaches already used to resolve the issue
_No response_
### Additional information
_No response_ |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Delete the I don't know why but it works.If anyone knows the exact reason behind this error, please share your insights with us. |
Beta Was this translation helpful? Give feedback.
-
Build is successful, but does anyone know what are those errors ? |
Beta Was this translation helpful? Give feedback.
-
Gradle sync failed ?? |
Beta Was this translation helpful? Give feedback.
-
The error indicates that Android's build process failed because the signing key used for debug builds (debug.keystore) couldn't be read. Specifically, the issue is due to the algorithm This is likely due to incompatible Java versions. For example, you might have run an Android Studio build with a newer version of Java, before using the Oppia-supported version. |
Beta Was this translation helpful? Give feedback.
Delete the
debug.keystore
file in locationC:\User\Sonu\.android
, and rebuild the project .I don't know why but it works.
If anyone knows the exact reason behind this error, please share your insights with us.