Wednesday, 14 September 2022

Posted by Put Your Life On Islamic Way On 10:09 am

 Question: I am facing this issue many times when i download projects from GitHub i am using a new Android studio(bumble bee) please help me if anybody knows 

There are not any Gradle issue

actually, I have tried many solutions from stack overflow but am getting answers for Gradle but it is not a gradle-related error.

Answer: Upgrade your com.android.tools.build Gradle in your build. Gradle file to the latest version


e.g.


classpath 'com.android.tools.build:gradle:7.0.3'

And upgrade your Gradle-wrapper.properties to the latest version i.e.


#Tue Apr 12 23:39:17 AEST 2022

distributionBase=GRADLE_USER_HOME

distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip

distributionPath=wrapper/dists

zipStorePath=wrapper/dists

zipStoreBase=GRADLE_USER_HOME

Optionally, you can upgrade it using Project-Structure UI


cvc-complex-type.2.4.a: Invalid content was found starting with element 'base-extension'. One of '{layoutlib}' is expected. in android studio


0 comments:

Post a Comment