Unable To Build Project With Gradle 4.1: "unknown Element * Found"
After updating to Gradle 4.1 I'm unable to build my project (all works fine with previous releases). Basically it doesn't recognize AndroidManifest tags anymore and gives me errors
Solution 1:
The issue has been fixed in new gradle release (gradle-4.1-rc-2).
To solve add in your gradle-wrapper.properties
:
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-rc-2-all.zip
Solution 2:
For now using gradle 4.1, or even 4.2 on your gradle wrapper will break builds that have dependencies
I solved this issue by taking back my gradle classpath depency back to gradle 2.3.3
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
Solution 3:
You should check your AndroidManifest.xml,make sure every element like 'action' or 'category' is in right position.
Solution 4:
I have got the similar issue recently, The way I solved is by invalidating the cache. You can do that in android studio-> File-> Invalidate cache/ Restart.
After that it stop showing me those ActivityFeed error.
Post a Comment for "Unable To Build Project With Gradle 4.1: "unknown Element * Found""