This method is used for AIDL file communication between processes when AIDL cannot find the file error solution!

Create an.aidl file to declare the type you just defined. Note the difference between the.aidl file and the specific business.

But when I refer to it in the next project

An error has been reported

So I used the official AIDL to generate the file

The display needs to be unique so I’ll give it another name

Found compilation or error cannot be found

After several attempts to create the AIDL manually, I found that the AIDL created by the system left a folder behind

These two folders are essentially the same but the index in AndroidStudi is probably not a file THAT I created directly

Compile by using normal