3

this might be a duplicate question but I'm seriously stuck trying to create an instant app using a new project.

Requirements for instant app in build.gradle file:

  1. apply plugin: 'com.android.feature'
  2. baseFeature = true
  3. remove = applicationId "com.example.instantapptest"

The problem occur "Plugin with id 'com.android.feature' not found."

Error Msg

Error Msg

SDK installed

SDK installed

these are my findings this and this, below is what I have and error still persist :

Classpath =

classpath "com.android.tools.build:gradle:4.0.2"

my all projects =

allprojects {
repositories {

    jcenter()
    google()
   }
}

Much help appreciated :)

Arduino
  • 285
  • 1
  • 3
  • 17

1 Answers1

6

kindly refer to this

old plugin: com.android.feature

changed to

new plugin: com.android.dynamic-feature

Arduino
  • 285
  • 1
  • 3
  • 17