1. Usage scenarios:
A (with Aidl) AAR; B (with Aidl) AAR depends on a;
C (APP) relies on a and B AAR libraries
At this time, both a and B have the same Aidl interface class to report the above error!
2. Problem solving
B (Aidl) AAR depends on A. you can remove the Aidl interface class in class B.