-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency errors #677
Comments
You can add below lines into your gradle.properties file:(Don't repeat if its there) |
Boos behet! |
sotoone ki boodi to! |
adding "android.enableJetifier=true" to gradle.properties solved my problem |
salam |
Hello, I'm trying to integrate GraphView to my project. Each time I do so I get the following error when I run the project:
`Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.5.0-runtime (androidx.core:core:1.5.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules core-1.5.0-runtime (androidx.core:core:1.5.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules core-1.5.0-runtime (androidx.core:core:1.5.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaDescriptionCompat found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaDescriptionCompat$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaDescriptionCompat$Builder found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaDescriptionCompatApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaDescriptionCompatApi21$Builder found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaMetadataCompat found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaMetadataCompat$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaMetadataCompat$Builder found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaMetadataCompatApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.MediaMetadataCompatApi21$Builder found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.RatingCompat found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.RatingCompat$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.IMediaControllerCallback found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.IMediaControllerCallback$Stub found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.IMediaControllerCallback$Stub$Proxy found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.IMediaSession found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.IMediaSession$Stub found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.IMediaSession$Stub$Proxy found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$Callback found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$Callback$MessageHandler found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$Callback$StubApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$Callback$StubCompat found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$MediaControllerImpl found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$MediaControllerImplApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$MediaControllerImplBase found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$PlaybackInfo found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$TransportControls found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$TransportControlsApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompat$TransportControlsBase found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompatApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompatApi21$Callback found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompatApi21$CallbackProxy found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompatApi21$PlaybackInfo found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaControllerCompatApi21$TransportControls found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$Callback found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$Callback$StubApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$MediaSessionImpl found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$MediaSessionImplApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase$Command found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase$MediaSessionStub found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase$MessageHandler found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$OnActiveChangeListener found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$QueueItem found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$QueueItem$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$ResultReceiverWrapper found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$ResultReceiverWrapper$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$Token found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompat$Token$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompatApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompatApi21$Callback found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompatApi21$CallbackProxy found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompatApi21$QueueItem found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.MediaSessionCompatApi22 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.ParcelableVolumeInfo found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.ParcelableVolumeInfo$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.PlaybackStateCompat found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.PlaybackStateCompat$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.PlaybackStateCompat$Builder found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.PlaybackStateCompat$CustomAction found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.PlaybackStateCompat$CustomAction$1 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.PlaybackStateCompat$CustomAction$Builder found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Duplicate class android.support.v4.media.session.PlaybackStateCompatApi21 found in modules media-1.0.0-runtime (androidx.media:media:1.0.0) and support-v4-22.1.1-runtime (com.android.support:support-v4:22.1.1)
Go to the documentation to learn how to Fix dependency resolution errors.`
I know for a fact the error comes from GraphView because when I remove
implementation 'com.jjoe64:graphview:4.2.2
(I also tried 4.2.1 and 4.0.0) my app runs perfectly.The text was updated successfully, but these errors were encountered: