I've encountered this error when I set Gradle JDK 16, downgrading to Java Version 11 seems to fix the issue.
If downgrading is not an issue for you then this will fix it.
--
Here's what I'm using
- Android Studio Arctic Fox | 2020.3.1 Canary 15
- Gradle 7.0
- Amazon Correto 16.0.1 (bug)
- Java Version 11.0.1 (fix)
Top comments (0)