I Need Help Fixing An Error Specific to Android Studio

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.

You are getting a problem in Android Studio and with an exception from com.android.ide...., so what makes you think it is a Gradle issue or can be fixed by a change in Gradle?
I’d suggest you instead ask in some Android forum or search on the Android bug tracker as it does not instantly look like it is Gradle related.