简体   繁体   English

代号一 Android 构建错误 - permission#com.android.vending.BILLING

[英]Codename One Android Build Error - permission#com.android.vending.BILLING

When I'm trying to do an Android build, it's giving me this error:当我尝试进行 Android 构建时,它给了我这个错误:

Merging result: ERROR /tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml:57:3-64 Error: Element uses-permission#com.android.vending.BILLING at AndroidManifest.xml:57:3-64 duplicated with element declared at AndroidManifest.xml:56:5-92 /tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml Error: Validation failed, exiting Merging result: ERROR /tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml:57:3-64 Error: Element uses-permission#com.android.vending.BILLING at AndroidManifest.xml:57:3-64 duplicated with在 AndroidManifest.xml:56:5-92 /tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml 错误中声明的元素,退出验证失败

This is happening after I've added In App Purchase code, after successfully adding my android.licenseKey to the build hints.这发生在我添加应用程序购买代码之后,在成功将我的 android.licenseKey 添加到构建提示之后。

Ah, I had uses-permission android:name="com.android.vending.BILLING" in the build hints.啊,我在构建提示中有使用权限 android:name="com.android.vending.BILLING" 。 Taking it out fixed the issue.把它拿出来解决了这个问题。 (I believe I had put it there, so that I was able to enable in-app purchase from the google play console). (我相信我已经把它放在那里,这样我就可以从谷歌游戏控制台启用应用内购买)。

暂无
暂无

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

相关问题 “com.android.vending.BILLING”和“android.permission.BILLING”的区别 - Difference Between "com.android.vending.BILLING" And "android.permission.BILLING" ANR com.android.vending.billing.IInAppBillingService - ANR com.android.vending.billing.IInAppBillingService 用户是否必须在升级/安装时授予com.android.vending.BILLING权限? - Do users have to grant the permission com.android.vending.BILLING on upgrade/install? Android Studio错误:包com.android.vending.billing.util不存在 - Android Studio error: package com.android.vending.billing.util does not exist Android应用内购买:在定位Android 6时,是否需要检查com.android.vending.BILLING权限? - Android in-app purchases: do you need to check for the com.android.vending.BILLING permission when targeting Android 6? com.android.vending.billing.PURCHASES_UPDATED何时广播? - When does com.android.vending.billing.PURCHASES_UPDATED broadcast? 程序类型已存在:com.android.vending.billing.IInAppBillingService - Program type already present: com.android.vending.billing.IInAppBillingService 无法启动服务com.android.vending.billing.IMarketBillingService - Unable to start service com.android.vending.billing.IMarketBillingService cordova-plugin-inapppurchase错误:包com.android.vending.billing不存在 - cordova-plugin-inapppurchase error: package com.android.vending.billing does not exist 导入com.android.vending.billing.IInAppBillingService中的错误; 辅助工具 - error in import com.android.vending.billing.IInAppBillingService; aidl.exe
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM