Today I started to get the error Unable to load class 'kotlin.collections.CollectionsKT'
(as show in this image) every time I try to gradle sync my project. I couldn't find anything on this error and the only solution seems to be to disable kotlin plugin on Intellij. Some of my projects doesn't have kotlin, but others have (the ones without kotlin also throw this error when trying to sync), so that isn't viable option.
Does anyone have any clue on what it could be?
Strange, I started experiencing this issue today as well. In my case, I did not need to disable the Kotlin plugin, but I did need to upgrade the Gradle distribution (in the gradle-wrapper.properties) from 3.3 to 4.1 Someone logged a ticket in the issue tracker for this. If you could provide your feedback there and vote up that issue, it may help to get this resolved quicker.
Proguard obfuscation will also do this; you may need to set minifyEnabled false
in your build.gradle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With