简体   繁体   中英

Android studio 3.6.3 not showing dependencies updates in build.gradle

Guys

Strange behaviour i have with the Android studio 3.6.3 Currently i work on two projects. Only for the one of the projects, the studio highlights, whenever there is a new version for the dependencies in build.gradle file.

The both projects using the same gradle and build tools version. There is no difference if i declare the dependency via exported constant or as a hardcoded string.

implementation "com.google.firebase:firebase-analytics:$rootProject.firebaseAnalytics"
implementation "com.google.firebase:firebase-analytics:17.0.0"

Currently i can't find what cause the problem.

Note: I know that i can manually check the dependencies in Suggestions tab, but i want to fix the highlight functionality.

I've been able to fix this by enabling the "Obsolete Gradle Dependency" Lint check.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM