3

I get AndroidX error when I add add-ons to dependencies.

logger: 0.7.0 + 2, open_file: 2.0.3 error when adding plugins.

The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app. See for more information on the problem and how to fix it.

Community
  • 1
  • 1
KRAL JESUS
  • 99
  • 1
  • 11

1 Answers1

2

In your application you must be sure to use only plugin that are aligned with androidX libraries, if not it can cause some problems.

Seem that logger and open_file are yet compatible with androidX, I suspect that you never read that "AndroidX compatibility"

Consider to migrate your flutter application to AndroidX. And NOT forget to add

android.enableJetifier=true
android.useAndroidX=true

under you gradle.properties file.

Alessandro Verona
  • 1,157
  • 9
  • 23