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
  • 11,380
  • 9
  • 28
  • 49
the_big_blackbox
  • 947
  • 2
  • 13
  • 30

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
  • 944
  • 6
  • 19
  • 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
  • 26,923
  • 21
  • 73
  • 125
mohammad jalili
  • 178
  • 2
  • 10