gpt4 book ai didi

java - 程序类型已存在 : org. json.CDL

转载 作者:行者123 更新时间:2023-12-01 21:31:42 26 4
gpt4 key购买 nike

我的应用程序运行良好。它在模拟器和真实设备上运行良好。最近我在我的项目中添加了一个新的 SDK。然后,当我尝试生成签名的 APK 时,我收到此错误。程序类型已存在:org.json.CDL

这是我的build.gradle(应用程序)文件:

    implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

//Lifecycle Aware components
def lifecycle_version = "2.1.0"
// ViewModel and LiveData
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"

//Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.6.2'
implementation 'com.squareup.retrofit2:converter-scalars:2.6.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'

//Picasso
implementation 'com.squareup.picasso:picasso:2.71828'

implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'

//SpinnerDatePicker
implementation 'com.github.drawers:SpinnerDatePicker:2.0.1'

//Fancy Button
implementation 'com.github.medyo:fancybuttons:1.9.1'

//Spin kit view progress bar
implementation 'com.github.ybq:Android-SpinKit:1.4.0'

implementation 'io.reactivex.rxjava2:rxjava:2.2.9'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'

implementation 'io.reactivex:rxjava:1.1.6'
implementation 'io.reactivex:rxandroid:1.2.1'
implementation 'com.squareup.retrofit2:adapter-rxjava:2.1.0'

//Firebase Analytics
implementation 'com.google.firebase:firebase-analytics:17.2.1'

//Firebase Cloud messaging
implementation 'com.google.firebase:firebase-messaging:20.0.0'

//Firebase Remote config
implementation 'com.google.firebase:firebase-config:19.0.3'

implementation 'com.android.support:multidex:1.0.3'

implementation(name: 'aepslib', ext: 'aar')

def room_version = "2.2.1"

implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"


implementation project(path: ':epmoneylib-paisanikal')


//Paisanikal
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.3.50"

implementation "com.squareup.retrofit2:adapter-rxjava2:2.5.0"
implementation "com.squareup.retrofit2:converter-moshi:2.5.0"
implementation "com.squareup.okhttp3:logging-interceptor:3.14.1"
implementation 'com.google.code.gson:gson:2.8.5'


implementation 'org.greenrobot:eventbus:3.1.1'

implementation 'com.squareup.okhttp3:okhttp:3.14.1'
implementation 'com.github.bumptech.glide:okhttp3-integration:4.1.1@aar'
implementation group: 'commons-codec', name: 'commons-codec', version: '1.10'
implementation 'com.budiyev.android:code-scanner:2.1.0'

//Glide
implementation 'com.github.bumptech.glide:glide:4.10.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'

//ImageCircleIamge
implementation 'de.hdodenhof:circleimageview:3.0.0'

debugApi files('libs/finosdk_new_uat.aar')
releaseApi files('libs/finosdk_live.aar')

implementation 'de.greenrobot:greendao:2.1.0'
implementation 'com.karumi:dexter:5.0.0'

implementation 'com.datatheorem.android.trustkit:trustkit:1.0.2'

如何解决此问题并生成签名的 APK?

最佳答案

使用排除组:

implementation project(path: ':epmoneylib-paisanikal') {
exclude group: 'org.json'
}

关于java - 程序类型已存在 : org. json.CDL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58812532/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com