failed linking references after update of gradle Android Studio

橙三吉。 提交于 2019-11-30 01:19:13

Change the compileSdkVersion to:

compileSdkVersion 28

These attributes were added in this version. Check here, here and here

Downgrade your gradle version to 3.1.4 i.e classpath 'com.android.tools.build:gradle:3.1.4'

Downgrade gradle on 3.1.4 . Check for your build.gradle(Modele:App) file:

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

The project was built :)

check for your graddle-wrapper.properties file

Sun Jul 08 23:40:54 KST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

check the last line the gradle version file url

try this code in this build.gradle

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

was facing this issue today after updating to the new gradle 3.0.1 to 3.2.0 for my case i deleted the ids.xml file in values folder (it was useless in the project) work for me

Set your classpath to the current build gradle and sync your project.There seems to be an issue with Android studio version 3.2. When prompted to update gradle also update the classpath values.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!