Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plugin with id 'com.android.feature' not found. Android

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 :)

like image 920
Arduino Avatar asked Nov 01 '25 09:11

Arduino


1 Answers

kindly refer to this

old plugin: com.android.feature

changed to

new plugin: com.android.dynamic-feature

like image 196
Arduino Avatar answered Nov 03 '25 00:11

Arduino



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!