java.lang.SecurityException: Binder invocation to an incorrect interface




Asked on July 26, 2015
I am  creating AIDL application and getting the error

07-20 06:19:21.990: E/AndroidRuntime(1164): Caused by: java.lang.SecurityException: Binder invocation to an incorrect interface
07-20 06:19:21.990: E/AndroidRuntime(1164):     at android.os.Parcel.readException(Parcel.java:1465)
07-20 06:19:21.990: E/AndroidRuntime(1164):     at android.os.Parcel.readException(Parcel.java:1419)

How to resolve?



Replied on July 26, 2015
Check .aidl file in server and client both. They should be exactly same including package name.
The error you are getting is because that, they are differing in package name.


Write Answer










©2024 concretepage.com | Privacy Policy | Contact Us