Monday 2 August 2021

Android Studio Arctic Fox : after update gradle error

Unable to load class 'org.gradle.api.publication.maven.internal.MavenPomMetaInfoProvider'.

apply plugin: 'com.github.dcendents.android-maven'

The following were changes done in app after gradle update in gradle/wrapper/gradle-wrapper.properties

-distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

and under build.gradle

-        classpath 'com.android.tools.build:gradle:4.2.2'
+        classpath 'com.android.tools.build:gradle:7.0.0'

-        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
+        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.2'


from Android Studio Arctic Fox : after update gradle error

No comments:

Post a Comment