【问题标题】:android inapp billing error IInAppBillingService.aidlandroid inapp 计费错误 IInAppBillingService.aidl
【发布时间】:2016-06-29 12:08:15
【问题描述】:

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

C:\Users\user\AndroidStudioProjects\Blessd\app\src\main\aidl\IInAppBillingService.aidl:46 接口 IInAppBillingService 应在名为 com\android\vending\billing\IInAppBillingService.aidl 的文件中声明。

【问题讨论】:

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


【解决方案1】:

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

com\android\vending\billing\IInAppBillingService.aidl

【讨论】:

  • 感谢您和 solar 的帮助,SO 需要你们更多人。我在 app > src > main >aidl 下创建了一个新包,并将文件移动到 Android Studio 中的那个包中。
【解决方案2】:

此屏幕截图可以帮助您,无需任何文字! 另外,不要忘记将包名 OT .AIDL 文件更改为您自己的包文件。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-27
    • 1970-01-01
    • 1970-01-01
    • 2015-02-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多