Cannot access 'java.io.Serializable' which is a supertype of

Probably your project structure does not specify the sdk correctly