I need help fixing an error specific to Android Studio. In a nutshell, an error I am getting while building an Android Studio Application has a number of possible solutions but the most popular solution and marked on stackoverflow as the answer is to upgrade gradle from the gradle-wrapper.properties file from 4.10.1 to 4.10.2.
When I searched on gradle.org how to do this, I was led down a series of hyperlinks that suggested I install gradle anew. But Android Studio has already installed gradle, I think. I don’t want to do anything that will further break anything. I want a tried and true method of fixing this bug since I am new to all of this.
The error I am getting is:
com.android.ide.common.signing.KeytoolException:
Failed to read key wintec_mapping from store “/home/worker/REDACTED/android_keystore”:
DerInputStream.getLength(): lengthTag=109, too big.
And the error posted on stackoverflow is:
com.android.ide.common.signing.KeytoolException:
Failed to read key AndroidDebugKey from store “/home/note-300/.android/debug.keystore”:
DerInputStream.getLength(): lengthTag=109, too big.
They are similar enough to have the same cause and probably the same fix. Upgrading gradle is checked as the effective fix. So, how exactly do I do this for my particular situation?
There are other fixes listed on stackoverflow and superuser, but If they do not work, I will turn to answers and suggestions I hope will be posted here in response to this post.