There's an old app from 2012 that I want to use but it keeps crashing and it's no longer on the Play Store. After not being able to find any similar app I decided to find what exactly the problem was with this one by decompiling it using jadx-gui. I then opened the decompiled code in Android Studio but when trying to build the project it gives this error:
Gradle sync failed: Gradle version 2.2 is required. Current version is 6.1.1. If using the gradle wrapper, try editing the distributionUrl in C:\Program Files\Android\Android Studio\jre\jre\bin\gradle\wrapper\gradle-wrapper.properties to gradle-2.2-all.zip