Android Studio 3.2 - Could not find com.android.tools.build:aapt2:3.2.0-4818971

前端 未结 6 536
一向
一向 2020-12-05 12:50

I was following a tutorial to develop icon pack for android and when I imported the project I got several errors and it was solved here - Gradle Version 4.6 - Absolute path

6条回答
  •  温柔的废话
    2020-12-05 13:33

    For those people who still face exactly the same problem even after adding two google to BOTH positions in relevant gradle file.I would suggest you to check Android Studio -> Preferences -> HTTP Proxy page.
    If you find it says some warnings like "...have set JVM proxy to 127.0.0.1".Then you should consider vpn-related issues which depends on your context.
    If your desktop is MacOS, then go to Network setting page, advance->proxy tab,uncheck all the checkbox there.
    Back to your IDE as following steps: Android Studio->File->Invalidate Caches/Restart.After that,go back to check Android Studio -> Preferences -> HTTP Proxy page again,previous warnings should be gone.Run again.

提交回复
热议问题