-
Notifications
You must be signed in to change notification settings - Fork 207
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
Duplicate class #254
Comments
I have this problem too |
не могу понять, что за модуль moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0), есть идея что я делаю не так? |
Same happen, any solution? |
Not sure how it works, but seems like this works
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Доброе утро!
При миграции на android x при запуске появляются ошибки про дубликацию классов
Duplicate class com.arellomobile.mvp.DefaultView found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.DefaultViewState found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.InjectViewState found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.MvpDelegate found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.MvpFacade found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.MvpPresenter found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.MvpPresenter$Binder found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.MvpProcessor found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.MvpView found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.PresenterBinder found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.PresenterStore found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.PresentersCounter found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.RegisterMoxyReflectorPackages found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.ViewStateProvider found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.presenter.InjectPresenter found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.presenter.PresenterField found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.presenter.ProvidePresenter found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.presenter.ProvidePresenterTag found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.MvpViewState found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.ViewCommand found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.ViewCommands found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.strategy.AddToEndSingleStrategy found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.strategy.AddToEndStrategy found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.strategy.OneExecutionStateStrategy found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.strategy.SingleStateStrategy found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.strategy.SkipStrategy found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.strategy.StateStrategy found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
Duplicate class com.arellomobile.mvp.viewstate.strategy.StateStrategyType found in modules moxy-1.5.5.jar (com.arello-mobile:moxy:1.5.5) and moxy-x-1.7.0.jar (tech.schoolhelper:moxy-x:1.7.0)
не могу понять в чем дело, так как в moxy-x-androidx-1.7.0.jar всего 3 класса (MvpAppCompatActivity, MvpAppCompatDialogFragment, MvpAppCompatFragment)
градл выглядит вот так
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.blocknotische"
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
// implementation 'com.android.support:appcompat-v7:28.0.0'
implementation "androidx.appcompat:appcompat:1.0.2"
// implementation 'com.android.support:design:28.0.0'
implementation 'com.google.android.material:material:1.1.0-alpha07'
// implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
// implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
// annotationProcessor 'com.arello-mobile:moxy-compiler:1.5.5'
// implementation 'com.arello-mobile:moxy-app-compat:1.5.5'
implementation 'tech.schoolhelper:moxy-x-androidx:1.7.0'
implementation 'tech.schoolhelper:moxy-x-material:1.7.0'
}
repositories {
mavenCentral()
}
The text was updated successfully, but these errors were encountered: