I’ve gotten the Gradle android Compiler working only very briefly. It keeps falling on me as (I think) Unity is using functions that Gradle recommends you update Gradle in order to use. However, doing so breaks Gradle because Unity is also using Depreciated Gradle functions.
Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 34
This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32
This warning can be suppressed by adding
android.suppressUnsupportedCompileSdk=34
to this project's gradle.properties
The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 34