Reputation: 301
I get the following error message in android studio 4.0 as soon as the Gradle starts running on the ionic capacitor project.
Cause: org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext
Upvotes: 3
Views: 4999
Reputation: 720
This issue has been resolved in Capacitor version 2.1.2.
ionic-team/capacitor#3003
Please update the Capacitor dependencies in package.json to version 2.1.2 and then in Android Studio click the button to sync the project with Gradle.
"@capacitor/android": "^2.1.2", "@capacitor/core": "2.1.2",
Upvotes: 2