4

While converting my existing app to instant app using this codelab tutorial encountered this error.

Plugin with id 'com.android.feature' not found.

I have checked that I have Instant app development SDK on Android Studio 3.0

enter image description here

Can someone point what i am missing here?

pallav bohara
  • 6,199
  • 6
  • 24
  • 45

1 Answers1

2

I figured out the solution:-

I have to add google() repository under Project's build.gradle like this

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

After which i got this error:-enter image description here to solve which I had to follow first suggestion "Upgrade plugin version to 3.0.0-beta7 and sync project"

Next I landup upon this :- enter image description here which I followed as suggested and successfully rebuild my project :)

Happy coding!

pallav bohara
  • 6,199
  • 6
  • 24
  • 45