0

I'm trying to build my Android project again after having switched from my previous computer. The project contains an APK and an instant app.

I have fetched all the source code from Git, but when trying to Make Project, I'm getting this error:

enter image description here

Any idea? Thanks for your help.

Rob
  • 4,123
  • 3
  • 33
  • 53
  • Have you tried a brand new project and test 1.1.0? I haven't run into this issue. Have you also tried "Invalidate Caches / Restart" ? – TWL Jun 11 '18 at 17:13

1 Answers1

0

Seems like jcenter() issue.

JCenter is a java repository, which is the largest repository in the world for Java and Android OSS libraries, packages and components. All the content in JCenter is served over a CDN, with a secure HTTPS connection.

allprojects {
    repositories {
        jcenter()
        google()
    }
}

If the same problem arises, use

implementation 'com.google.android.instantapps:instantapps:1.0.0'
IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198