Android Studio Arctic Fox | 2020.3.1 Canary 4
Build #AI-202.7319.50.2031.7049475, built on December 24, 2020
Runtime version: 11.0.8+0-b944-P17168821 amd64
VM: OpenJDK 64-Bit Server VM by N/A
Linux 5.4.0-59-lowlatency
$ java -version
openjdk version "15-ea" 2020-09-15
OpenJDK Runtime Environment (build 15-ea+32-Ubuntu-220.04)
OpenJDK 64-Bit Server VM (build 15-ea+32-Ubuntu-220.04, mixed mode, sharing)
Build from console:
$ ./gradlew assembleDebug assembleDebugAndroidTest start:lintDebug finished_code:lintDebug testDebug
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
Build from Android Studio:
Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
Аfter updating gradle up to version 6.7.1 everything works fine:
Build from console:
Build from Android Studio:
Аfter updating gradle up to version 6.7.1 everything works fine: