[英]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.