首页 > 解决方案 > 代号一 Android 构建错误 - permission#com.android.vending.BILLING

问题描述

当我尝试进行 Android 构建时,它给了我这个错误:

合并结果:错误 /tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml:57:3-64 错误:元素 uses-permission#com.android.vending.BILLING at AndroidManifest.xml:57:3-64 与在 AndroidManifest.xml:56:5-92 /tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml 中声明的元素错误:验证失败,正在退出

在我成功将我的 android.licenseKey 添加到构建提示之后,我添加了 In App Purchase 代码后会发生这种情况。

标签: androidcodenameonebilling

解决方案


啊,我在构建提示中有使用权限 android:name="com.android.vending.BILLING" 。把它拿出来解决了这个问题。(我相信我已经把它放在那里,这样我就可以从谷歌游戏控制台启用应用内购买)。


推荐阅读