The Android plugin that automatically generates parcelable doesn’t have parcel code in it. Update 4.1 found that it doesn’t have parcel code.

(The plugin was originally called Android Parcelable Code Generator.)

After checking out reference 4.1, Andorid Studio comes with parceable and doesn’t need to rely on plug-ins anymore.

The first step

Add the implements Parcelable code to the class you want to add. As shown in figure

The second step

Alt and press Enter for the error, and the “Add Parcelable Implementation” option appears

Done Over