问题
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