0

I'm implementing billing in app and getting following error while building project.

C:\Users\user\AndroidStudioProjects\Blessd\app\src\main\aidl\IInAppBillingService.aidl:46 interface IInAppBillingService should be declared in a file called com\android\vending\billing\IInAppBillingService.aidl.

DharaPPatel
  • 12,035
  • 9
  • 31
  • 49
the_big_blackbox
  • 1,056
  • 2
  • 15
  • 35

2 Answers2

1

You should not copy the IInAppBillingService.aidl in your own directory(aidl\IInAppBillingService.aidl). It should be there in this directory only.

com\android\vending\billing\IInAppBillingService.aidl
Kumar M
  • 994
  • 6
  • 21
  • thanks to you and solar for the assistance SO needs more of you guys. I created a new package under app > src > main > aidl, and moved the file into that package in Android Studio. – the_big_blackbox Jun 29 '16 at 17:11
0

This Screenshot can help you without any words ! also, DO NOT FORGET TO CHANGE PACKAGE NAME OT .AIDL file TO YOUR OWN PACKAGE FILe.

enter image description here

Dharman
  • 30,962
  • 25
  • 85
  • 135
mohammad jalili
  • 187
  • 2
  • 10