I'm trying to build an android game on Unity 2022....
# community-support
g
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
The message sounds pretty clear to me.
g
Great! Could you explain how I can fix it then?
v
"compileSdkVersion is not specified" => specify compileSdkVersion Whatever that is. That's something from Android Gradle Plugin, not Gradle itself