Android instant apps feature plugin not found

只愿长相守 提交于 2021-01-28 03:12:33

问题


Gradle sync failed: Plugin with id 'com.android.feature' not found.

Please help me with the solution. I have followed the google docs regarding the environment setup for Instant apps. Please check the set up guide here : Set up your environment for Instant Apps


回答1:


you have to update the android gradle plugin in your build.gradle file :

dependencies{
        classpath 'com.android.tools.build:gradle:3.0.0-alpha4'
}

and it will works




回答2:


Try this..change to

dependencies {
    classpath 'com.android.tools.build:gradle:2.3.3'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

if you are using stable android studio



来源:https://stackoverflow.com/questions/44367847/android-instant-apps-feature-plugin-not-found

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