I'm trying to build an android game on Unity 2022.3.42f1. However, I can not build the project onto my phone. "Gradle build failed. See console for details." The console says,
Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':launcher'.
compileSdkVersion is not specified. Please add it to build.gradle
Any help would be appreciated.
v
Vampire
08/30/2024, 6:53 AM
The message sounds pretty clear to me.
g
Garrett Bunch
08/30/2024, 3:35 PM
Great! Could you explain how I can fix it then?
v
Vampire
08/30/2024, 3:49 PM
"compileSdkVersion is not specified" => specify compileSdkVersion
Whatever that is.
That's something from Android Gradle Plugin, not Gradle itself