错误:找不到符号类DaggerAppComponent版本与其他依赖项冲突

问题描述 投票:1回答:1

构建Android项目时收到“错误:找不到符号类DaggerAppComponent”,我将dagger和其他依赖项的版本更改为最新版本,并且我也厌倦了旧版本但仍然出现相同的错误。

我的build.gradle文件

 // ButterKnife libraries
implementation 'com.jakewharton:butterknife:10.2.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'

// Dagger 2 libraries


implementation "com.google.dagger:dagger:2.11"
annotationProcessor "com.google.dagger:dagger-compiler:2.11"

// Components for Android
implementation group: 'com.google.android.material', name: 'material', version: '1.2.0-alpha01'

// Networking
implementation 'com.squareup.retrofit2:retrofit:2.6.2'
implementation 'com.squareup.retrofit2:converter-gson:2.6.2'
implementation 'com.squareup.okhttp3:logging-interceptor:4.2.2'
implementation 'com.squareup.okhttp3:okhttp:4.2.2'
implementation 'com.squareup.retrofit2:adapter-rxjava:2.6.2'

// gogole support design
implementation 'com.android.support:design:29.0.0'

// Lombok for pojo
implementation 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'

//Rx java and Rx android
implementation 'io.reactivex:rxjava:1.3.1'
implementation 'io.reactivex:rxandroid:1.1.0'

//Realm local DB
implementation 'io.realm:android-adapters:1.2.0'

//SmileyRating Bar
implementation 'com.github.sujithkanna:smileyrating:1.6.8'
android dependency-injection dagger
1个回答
0
投票
}
© www.soinside.com 2019 - 2024. All rights reserved.