[英]Plugin with id 'com.android.feature' not found
While converting my existing app to instant app using this codelab tutorial encountered this error.使用此 Codelab 教程将我现有的应用程序转换为免安装应用程序时遇到此错误。
Plugin with id 'com.android.feature' not found.
I have checked that I have Instant app development SDK on Android Studio 3.0我已经检查过我在 Android Studio 3.0 上有即时应用开发 SDK
Can someone point what i am missing here?有人可以指出我在这里缺少什么吗?
I figured out the solution:-我想出了解决办法:-
I have to add google() repository under Project's build.gradle like this我必须像这样在项目的 build.gradle 下添加google()存储库
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 "
为了解决我必须遵循的第一个建议“将插件版本升级到 3.0.0-beta7 并同步项目”
Next I landup upon this :-接下来我登陆这个: -
which I followed as suggested and successfully rebuild my project :)
我按照建议遵循并成功重建了我的项目:)
Happy coding!快乐编码!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.