Skip to content
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

Cant build demo app #10

Closed
svyd opened this issue Nov 27, 2019 · 2 comments
Closed

Cant build demo app #10

svyd opened this issue Nov 27, 2019 · 2 comments

Comments

@svyd
Copy link

svyd commented Nov 27, 2019

Hi, Juliano
thinking about modularization/componetization and found your talk.
Just tried to build your sample app and got the following errors.
Could you please advise what is wrong? Seems smth wrong on my side..
Android Studio Beta 3.6 Beta 4

Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)
Duplicate class android.support.v4.os.IResultReceiver found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)
Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)
Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)
Duplicate class android.support.v4.os.ResultReceiver found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)
Duplicate class android.support.v4.os.ResultReceiver$1 found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)
Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)
Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules classes.jar (androidx.core:core:1.1.0-rc02) and classes.jar (com.android.support:support-compat:27.0.0)

Go to the documentation to learn how to Fix dependency resolution errors.

@avinash-savant
Copy link

@svyd try out Android Studio > Refactor > Migrate to Android X... worked for me.

@svyd
Copy link
Author

svyd commented Jan 16, 2020

Thanks @avinash-savant
It works for me.
Closing

@svyd svyd closed this as completed Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants