0

Since my app achieved multidex I start getting the next error:

MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/package_info)

I have package_info package in my dependencies, actually it works just fine before I added facebook package.

I also updated my gradle file with next code:

    defaultConfig {
        minSdkVersion 21
        ...
        multiDexEnabled true
    }

    dependencies { 
        implementation 'com.android.support:multidex:1.0.3'
    }

properties here:

android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true

but it still doesn't work. I have a feeling that it might be cos the package_info related code is not in the main dex. Can it be true? Anyway, any ideas on how it might be fixed?

Andriy Antonov
  • 1,360
  • 2
  • 15
  • 29

1 Answers1

0

Andriy Antonov, I had this issue after upgrading flutter to 1.24 stable channel, and this issue gone for me after updating the package to the latest version:

package_info: ^0.4.3+2
Jhakiz
  • 1,519
  • 9
  • 16