Could not find com.android.tools.lint:lint-gradle Android Studio 3

后端 未结 12 1642
青春惊慌失措
青春惊慌失措 2020-12-02 16:12

I have updated Android Studio to 3.0 and now received a lot of issues.. now stoped on point with such issue:

Could not resolve all files for configuration \'         


        
12条回答
  •  醉梦人生
    2020-12-02 17:03

    My answer is for everyone that Already have google() in repositories but still have same error

    1. goto android studio settings and search for "HTTP Proxy" and make sure you haven't set a wrong proxy there. (set it to auto-detect proxy settings if not sure)
    2. close android studio
    3. goto C:/Users/DESKTOP-NAME/ and Delete .gradle folder (yes, it's big folder but don't be scared its just keeping all versions of your old gradle files that is not needed now)
    4. goto you project folder and delete .gradle folder and app/build folder (make a backup before this just in case)
    5. restart your PROXY server Or VPN provider (if you use one) and make sure you have a working internet connection.
    6. Open Android Studio and wait until successful build (it's gonna take a little longer).

提交回复
热议问题