'New Android studio 4.2 Preview having this error when creating buildSrc and build.gradle.kts
I am trying to use buildSrc for dependency management in the new Android 4.2 Preview version and getting this error.
Cannot access 'java.lang.Object' which is a supertype of 'org.gradle.api.artifacts.repositories.MavenArtifactRepository'. Check your module classpath for missing or conflicting dependencies
Cannot access class 'java.net.URI'. Check your module classpath for missing or conflicting dependencies
Solution 1:[1]
delete
project/.ideafolderdelete
project/.gradlefolderrestart and reopen the project
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ryan Hoo |
