w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
IInAppBillingService.aidl cannot generate Java file in Android Studio

There is some misplacement of directories in your project as shown in attached screenshot.

Your main directory should be inside the src directory and IInAppBillingService.aidl must be on the below mentioned path

/src/main/aidl/com/android/vending/billing/IInAppBillingService.aidl

so create a directory inside your main and then create the package as mentioned and put your .aidl file inside.

Make the necessary changes and sync Your project with gradle.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.