Я использую две разные библиотеки в моем проекте. Проект работает нормально в режиме отладки, но не может создать из него подписанный APK.
вот библиотеки. 1.
implementation (project(':aeps_lib-release')) {
exclude module: 'org.json.Cookie'
}
2
implementation project(path: ':epmoneylib-paisanikal')
Если я удаляю один из подписанных APK генерируется без каких-либо ошибок. Но это не так, когда я включаю их оба.
Я пытался исключить org. json, но это не помогает.
Я пытался добавить этот фрагмент кода внутри android блокировать также. По-прежнему появляется та же ошибка.
configurations {
all*.exclude group: 'org.apache'
all*.exclude group: 'com.google.android'
all*.exclude group: 'org.json', module: 'json'
}
Пожалуйста, помогите мне решить эту проблему. Я застрял в этом
Вот файл моего приложения Gradle.
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation project(path: ':epmoneylib-paisanikal')
implementation (project(':aeps_lib-release')) {
exclude module: 'org.json.Cookie'
}
implementation 'com.google.android.material:material:1.0.0'
//Retrofit
implementation "com.squareup.retrofit2:retrofit:2.7.1"
implementation "com.squareup.retrofit2:adapter-rxjava2:2.7.1"
implementation "com.squareup.retrofit2:converter-moshi:2.5.0"
implementation "com.squareup.retrofit2:converter-gson:2.5.0"
implementation "com.squareup.okhttp3:logging-interceptor:3.14.1"
implementation 'com.google.code.gson:gson:2.8.5' //Rx
implementation "io.reactivex.rxjava2:rxjava:2.2.0"
implementation "io.reactivex.rxjava2:rxandroid:2.1.0"
implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'com.squareup.okhttp3:okhttp:3.14.4'
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.9.0'
kapt 'com.github.bumptech.glide:compiler:4.9.0'
//Image
implementation 'de.hdodenhof:circleimageview:3.0.1'
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 'androidx.multidex:multidex:2.0.1'
implementation 'com.datatheorem.android.trustkit:trustkit:1.0.2'
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.3.61"