分层同步失败:找不到id为'com.android.feature'的插件。没有找到Android即时应用功能插件
请帮我解决。我已经关注了关于即时应用环境设置的Google文档。请在此处检查设置指南:https://developer.android.com/topic/instant-apps/getting-started/setup.html
分层同步失败:找不到id为'com.android.feature'的插件。没有找到Android即时应用功能插件
请帮我解决。我已经关注了关于即时应用环境设置的Google文档。请在此处检查设置指南:https://developer.android.com/topic/instant-apps/getting-started/setup.html
你在你的build.gradle文件更新了Android插件的gradle:
dependencies{
classpath 'com.android.tools.build:gradle:3.0.0-alpha4'
}
,它会工作
尝试this..change到
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
}
如果您使用的是稳定的android studio