java - android应用程序内计费错误IInAppBillingService.aidl

标签 java android google-play google-play-services google-play-developer-api

我正在应用程序中实现计费,但在构建项目时出现以下错误。

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.

最佳答案

您不应将 IInAppBillingService.aidl 复制到您自己的目录 (aidl\IInAppBillingService.aidl) 中。它应该只存在于这个目录中。

com\android\vending\billing\IInAppBillingService.aidl

关于java - android应用程序内计费错误IInAppBillingService.aidl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38099079/

相关文章:

java - 更快地批量加载嵌套数据

Java "blank final field may not have been initialized"方法异常抛出异常

Android 应用程序在 Lg G2 上崩溃,但在其他手机上没有

android - 在应用计费相同的版本要求

android - 一个 APK 中的不同应用程序版本

java - jboss wildfly 数据源连接失败 - 在配置的阻塞超时内没有可用的托管连接

java - 如何通过main函数的参数获取Array的用户输入?

android - 为什么我的 Google 字体没有显示在移动设备上?

android - 如何通过Python启动Android应用程序

java - 如何单独更新我的 apk,而不关闭我的旧应用程序?