Gradle Build Error : aidl.exe finished with non-zero exit value 1
Run Gradle with debug enabled (e.g. gradlew build --debug
) to see the actual reason.
Common issues include:
- Package doesn't match manifest
- Multiple methods with the same method name (aidl doesn't support this as far as I can tell)
After a lot of search I found solution
Because of we copied IInAppBillingService.aidl file from trivial drive project into our project.
The package name of that file is not changed according to our project so we need to manually change the package name of IInAppBillingService.aidl file which is written at the first line of the file.
This solve the problem of **aidl.exe finished with non-zero exit value 1 **
Check your package declaration in your Aidl file. Also if that doesn't solve then show complete log.