Android Gradle Plugin requiere que Java 11 se ejecute. Actualmente estás usando Java 1.8
Under Java Platform, Standard Edition, select either the current release, or
click Previous Releases to install an earlier supported version. You can use
either the JDK or JRE. The JDK includes the JRE. Do not use any non-supported
version or edition of the Java JRE or JDK.
cd android && ./gradlew --version
Coding Era