Skip to content Skip to sidebar Skip to footer

Aidl Error While Trying To Return Custom Class Object

I am trying to pass 'Response' class object using IPC in AIDL. I have made the class parcelable: public class Response implements Parcelable{ private long id; private Strin

Solution 1:

try to add public Response() {}

above to the below mentioned code.

publicResponse(Parcel in){ .....

.... }

so it should look like

publicResponse(){}

public Response(Parcel in) { ..... .... }

Post a Comment for "Aidl Error While Trying To Return Custom Class Object"