Parcelize annotations from package 'kotlinx.android.parcel' are deprecated. Change package to 'kotlinx.parcelize'
I was using import statement like below when I was getting this warningimport kotlinx.android.parcel.Parcelize
Finally, replace old import with new import
import kotlinx.parcelize.Parcelize
Update to latest kotlin version - 1.4.20 and use below plugin
apply plugin: 'kotlin-parcelize'
No comments:
Post a Comment