i am creating a new aidl service, which will be used by 3rd party and facing one problem while updating the AIDL file in server side.
suppose.
Server AIDL file rivison 1: one API is there
1. Add(int a, int b) 

Client AIDL file Rivision 1: one api is there 
1. Add(int a, int b)

now i have updated the server AIDL 
Server AIDL file rivision 2: two APIs are there 
1. Subtract(int a, int b);
2. Add(int a, int b);

when i am running my second rivision server with first revision client instead of calling add it is calling subtract method.. is there any solution to this problem ? is it a restriction from android that both Server and client end AIDL function order should be same.??