When building Android on the Linux 2020.11 it says it will use Gradle 4.3.1 but it actually uses 6.5.
Edit: If I use the Linux - 2020.06 stack, it builds.
This causes the error as a previous build using the 4.3.1 Gradle built correctly
Unzipping /root/.gradle/wrapper/dists/gradle-6.5-all/2oz4ud9k3tuxjg84bbf55q0tn/gradle-6.5-all.zip to /root/.gradle/wrapper/dists/gradle-6.5-all/2oz4ud9k3tuxjg84bbf55q0tn
Set executable permissions for: /root/.gradle/wrapper/dists/gradle-6.5-all/2oz4ud9k3tuxjg84bbf55q0tn/gradle-6.5/bin/gradle
Welcome to Gradle 6.5!
Here are the highlights of this release:
- Experimental file-system watching
- Improved version ordering
- New samples
For more details see https://docs.gradle.org/6.5/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
Configure project :app
Adding classpath: com.google.gms:google-services:4.2.0
FAILURE: Build failed with an exception.
Build file ‘/builds/MySilentDiscoClub/SilentDisco/platforms/android/app/build.gradle’ line: 424
What went wrong:
A problem occurred evaluating project ‘:app’.
Failed to apply plugin [id ‘com.google.gms.google-services’]
Cannot add extension with name ‘googleServices’, as there is an extension already registered with that name.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.