Ramotion / cardslider-android

:octocat: 🃏 Cardslider is a material design UI controller that allows you to swipe through cards with pictures and accompanying descriptions.
https://www.ramotion.com/cardslider-android-ui-app-development-library-to-interact-with-cards/
MIT License
2.34k stars 358 forks source link

Error with CardsUpdater when minifyEnabled = true #37

Closed GoLangBro closed 4 years ago

GoLangBro commented 4 years ago

Hello,

i got a problem. If i turn on minifyEnabled = true then i got following error

 Caused by: java.lang.ClassNotFoundException: Didn't find class "com.noxx.cryptofiat.moneta.dashboard.cards.adapter.CardsUpdater" on path: DexPathList[[zip file "/data/app/com.noxx.cryptofiat.moneta-iWtJskWKL4q5ZPFmkK4szw==/base.apk", zip file "/data/app/com.noxx.cryptofiat.moneta-iWtJskWKL4q5ZPFmkK4szw==/split_config.en.apk", zip file "/data/app/com.noxx.cryptofiat.moneta-iWtJskWKL4q5ZPFmkK4szw==/split_config.x86.apk", zip file "/data/app/com.noxx.cryptofiat.moneta-iWtJskWKL4q5ZPFmkK4szw==/split_config.xxhdpi.apk"],nativeLibraryDirectories=[/data/app/com.noxx.cryptofiat.moneta-iWtJskWKL4q5ZPFmkK4szw==/lib/x86, /data/app/com.noxx.cryptofiat.moneta-iWtJskWKL4q5ZPFmkK4szw==/base.apk!/lib/x86, /data/app/com.noxx.cryptofiat.moneta-iWtJskWKL4q5ZPFmkK4szw==/split_config.en.apk!/lib/x86, /data/app/com.noxx.cryptofiat.moneta-iWtJskWKL4q5ZPFmkK4szw==/split_config.x86.apk!/lib/x86, /data/app/com.noxx.cryptofiat.moneta-iWtJskWKL4q5ZPFmkK4szw==/split_config.xxhdpi.apk!/lib/x86, /system/lib]]

what could be wrong here?

I appreciate for some pointers

golovin47 commented 4 years ago

Hello, @GoLangBro. It is related to ProGuard rules file and your custom class com.noxx.cryptofiat.moneta.dashboard.cards.adapter.CardsUpdater. You need to modify your proguard rules file.