android - 代号一 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 代码后会发生这种情况。
解决方案
啊,我在构建提示中有使用权限 android:name="com.android.vending.BILLING" 。把它拿出来解决了这个问题。(我相信我已经把它放在那里,这样我就可以从谷歌游戏控制台启用应用内购买)。
推荐阅读
- php - PHP 数组的正确逻辑
- azure-database-postgresql - 如何分析 Azure PostGreSQL-PaaS 的性能不佳
- excel - 对象 htmldivelement 不点击 IE11
- java - 具有 LAZY 关系的 Spring 数据 JPA 克隆实体
- vb.net - Vb.net 数据未递增并添加到列表中
- python - 使用 Anaconda/Jupyter 的 TesseractNotFoundError
- python - 用python过滤json文件
- ios - 使用 SCNSceneRender prepareObjects:withCompletionHandler 时如何避免严重的帧率下降:
- amazon-web-services - 存储桶记录表单 Applicationloadbalancer 的访问被拒绝:请检查 S3bucket 权限
- mongodb - 在 MongoDB 中复制和重命名文档字段