简体   繁体   English

未找到 ID 为“com.android.feature”的插件

[英]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.

相关问题 Android Studio:未找到 ID 为“com.android.feature”的插件 - Android Studio: Plugin with id 'com.android.feature' not found 找不到 ID 为“com.android.feature”的插件。 Android - Plugin with id 'com.android.feature' not found. Android 功能 andoid 模块 - 不允许使用应用插件:'com.android.feature' - feature andoid module - not permite to use apply plugin: 'com.android.feature' 找不到ID为“ com.android.application”的插件 - Plugin with id 'com.android.application' not found 找不到ID为“ com.android.application”的插件 - Plugin with id 'com.android.application' not found “找不到id'com.android.application'的插件” - “Plugin with id 'com.android.application' not found” 找不到ID为“ com.android.application”的插件 - plugin with id 'com.android.application' not found Android Studio错误:(3,0)找不到ID为'com.android.application'的插件 - Android Studio Error:(3, 0) Plugin with id 'com.android.application' not found Android studio:找不到ID为'com.android.application'的插件 - Android studio : Plugin with id 'com.android.application' not found 无法修复“未找到 ID 为 'com.android.application' 的插件” - Unable to fix “Plugin with id 'com.android.application' not found”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM