Home > Mobile >  The Duplicate class android. Support. The v4. App. INotificationSideChannel found in modules
The Duplicate class android. Support. The v4. App. INotificationSideChannel found in modules

Time:05-26

Duplicate class android. Support. The v4. App. INotificationSideChannel found modules in the core - 1.3.1 - the runtime (androidx. Core: the core: 1.3.1) and support - v4-22.2.0 - the runtime (com) android) support: support - v4:22.2.0)

CodePudding user response:



You can add below lines into your gradle. The properties file:

Android. UseAndroidX=true
Android. EnableJetifier=true

Details:

If you want to use androidx - namespaced libraries in a new project, you need to set the compile the SDK to Android 9.0 (API level 28) or who the and set to both of the mentioned Android Gradle plugin flags to true.

Android. UseAndroidX: When this flag is set to true, the android plugin USES the appropriate AndroidX library home a Support if the flag is false by default if it is not specified.

Android. EnableJetifier: When this flag is set to true, the android plugin automatically migrates existing third - party libraries to use AndroidX dependencies by rewriting their binaries. The flag is false by default if it is not specified.

CodePudding user response:

Androidx and support a mixture
  • Related