Код: Выделить всё
debugImplementation 'com.adyen.ipp:pos-mobile-debug:1.5.1'
implementation('com.stripe:stripeterminal-taptopay:4.4.0') {
exclude group: 'com.google.android.material'
}
implementation 'com.stripe:stripeterminal-core:4.4.0'
Зависимость полосатогоминального таппа: 4.4.0 не используется непосредственно в моем коде, но это требуется внутри полосовой Sdk. />
После обновления полосы до версии 4.4.0 я сталкиваюсь с дубликатом конфликта класса во время сборки: < /p>
Код: Выделить всё
Duplicate class ca.amadis.agnos.BuildConfig found in modules:
- kernel-debug-3.7.4.jar (com.adyen.ipp.tools:kernel-debug:3.7.4)
- stripeterminal-taptopay-4.4.0.aar (com.stripe:stripeterminal-taptopay:4.4.0)
< /code>
как Stripe, так и Adyen SDK включают в себя один и тот же пакет или класс (от ca.amadis.agnos), что приводит к столкновению во время сборки.debugImplementation('com.adyen.ipp:pos-mobile-debug:1.5.1') {
exclude group: 'com.adyen.ipp.tools', module: 'kernel-debug'
Подробнее здесь: https://stackoverflow.com/questions/796 ... -android-p
Мобильная версия