简体   繁体   English

android应用内计费错误IInAppBillingService.aidl

[英]android inapp billing error IInAppBillingService.aidl

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. C:\\Users\\user\\AndroidStudioProjects\\Blessd\\app\\src\\main\\aidl\\IInAppBillingService.aidl:46 接口 IInAppBillingService 应在名为 com\\android\\vending\\billing\\IInAppBillingService.aidl 的文件中声明。

You should not copy the IInAppBillingService.aidl in your own directory( aidl\\IInAppBillingService.aidl ).您不应将 IInAppBillingService.aidl 复制到您自己的目录 ( aidl\\IInAppBillingService.aidl ) 中。 It should be there in this directory only.它应该只在这个目录中。

com\android\vending\billing\IInAppBillingService.aidl

This Screenshot can help you without any words !此屏幕截图可以帮助您无需任何言语! also, DO NOT FORGET TO CHANGE PACKAGE NAME OT .AIDL file TO YOUR OWN PACKAGE FILe.另外,不要忘记将包名 OT .AIDL 文件更改为您自己的包文件。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IInAppBillingService.aidl无法在Android Studio中生成Java文件 - IInAppBillingService.aidl cannot generate Java file in Android Studio 导入com.android.vending.billing.IInAppBillingService中的错误; 辅助工具 - error in import com.android.vending.billing.IInAppBillingService; aidl.exe 升级到 billingclient:billing:2.1.0 后,IabHelper 不再导入 android.vending.billing.IInAppBillingService - IabHelper no longer imports android.vending.billing.IInAppBillingService after upgrading to billingclient:billing:2.1.0 android 计费:4.0.0 - queryPurchases(INAPP) 和 purchase.getSku() - android billing:4.0.0 - queryPurchases(INAPP) and purchase.getSku() 无法在Eclipse中运行Android项目:.aidl错误 - Unable to run the Android project in Eclipse: .aidl error API 23(Android 6.0.1)InApp计费:服务意图必须是显式的:意图 - API 23 (Android 6.0.1) InApp Billing: Service Intent must be explicit: Intent InApp计费安全和远程方法调用 - InApp Billing Security and Remote Method Invocation Android项目中的AIDL文件:奇怪的“包”语法错误 - AIDL file in Android project: strange “package” syntax error Google Play 应用内计费:ClassyTaxiAppWeb 在哪里? - Google Play inapp billing: where is ClassyTaxiAppWeb? 带有Java泛型的Android AIDL - Android AIDL with Java generics
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM