From what I’ve been able to glean so far, it looks like the gradle versions mentioned in two (?) settings files need to be the “right” ones. Would anyone point me to either the right versions to specify, or where/how I might be able to determine the right versions to specify in those files?
I notice that in my project’s build.gradle file created by the OF project generator, there is a comment:
// Using the gradle-experimental version that supports c++
But apparently this needs to be set to be compatible with the line in gradle\wapper\gradle-wrapper.properties that from whatever source was set to:
I tried adjusting them individually and separately to different versions that Internet Q&A results suggested might make sense, but they never built and just changing those text files got Android Studio to start freaking out about Gradle possibly running too many instances or being corrupt.
So I did the “Invalidate Caches and Restart” thing, and it’s back to how it was originally, able to build but when asked to make a code-signed APK, it’s:
The project is using an unsupported version of Gradle.
Please point to a supported Gradle version in the project's Gradle settings or in the project's Gradle wrapper (if applicable.)
Which again makes me wonder if I need to use an older version of Android Studio? It doesn’t mention what thinks the version of Gradle in the settings isn’t “supported”?
@FedeBlock This looks to me like a similar problem to the one you reported in this other question which didn’t seem to get answered.
@Irene You has asked (a couple of years ago) on that other thread if anyone had had issues getting OF to run in Android Studio version 3.0. Is this Gradle issue with code-signing the APK one you’re familiar with, or might you know what Gradle versions to specify?