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

旧巷老猫 提交于 2021-02-19 03:21:10

问题


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

Can someone point what i am missing here?


回答1:


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:- 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 :- which I followed as suggested and successfully rebuild my project :)

Happy coding!



来源:https://stackoverflow.com/questions/47037184/plugin-with-id-com-android-feature-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!