Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Android provide any versioning mechanisms for AIDL interfaces?

Tags:

android

aidl

We're planning to export an application layer AIDL interface. What are some best practices with regards for managing version compatibility? Does Android provide any version-related mechanisms for AIDL interfaces?

like image 541
zer0stimulus Avatar asked Jan 30 '26 10:01

zer0stimulus


1 Answers

Today - almost 6 years after you posted this question - I am asking myself the same question and there still seems to be no official solution. The official documentation simply states:

Caution: Any changes that you make to your AIDL interface after your first release must remain backward compatible in order to avoid breaking other applications that use your service. That is, because your .aidl file must be copied to other applications in order for them to access your service's interface, you must maintain support for the original interface.

like image 52
JaM Avatar answered Jan 31 '26 23:01

JaM