First, make sure your .aidl files .aidl located in the same package as your .java files inside the src folder.
You can verify this by right-clicking on the .aidl file and check the path to this file. If the path does not contain the name of your package specified in the src folder, copy the .aidl file and place it inside the package specified in the src folder.
After that, clean the project and create it and look in the gen folder, .java files will be created for the corresponding .aidl files.
source share