Android:无法将新的应用内产品添加到应用程序...?
我正在制作一款通过应用内购买获得额外关卡的游戏。我已经实现了所有必要的代码,并且测试购买工作完美。但是,当我将产品添加到我的(未发布的)应用程序时,我在 Android 开发人员仪表板上收到以下消息:
“无法添加新的应用程序内产品,因为当前的应用程序版本不使用 BILLING 权限。”
这些是我拥有的权限:
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.com.android.vending.BILLING" />
<uses-permission android:name="android.permission.BILLING" />
所以我不明白为什么我会收到此消息。任何帮助将不胜感激,我正试图在本周末发布游戏,这是我的最后一个障碍。
提前致谢,请放心,我会接受答案,我知道这里的人有时会担心这一点。
I am making a game with in-app purchasing for extra levels. I have implemented all of the necessary code and the test purchases work perfectly. However when I go to add the products to my (unpublished) app I get the following message on the android developer dashboard:
"New in-app products cannot be added because the current application version does not use the BILLING permission."
These are the permissions I have:
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.com.android.vending.BILLING" />
<uses-permission android:name="android.permission.BILLING" />
So I can't understand why I am getting this message. Any help would be greatly appreciated, I am trying to release the game this weekend and this is my last barrier.
Thanks in advance, and rest assured I WILL accept an answer, I know people on here get worried about that sometimes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题出在许可上。使用
看起来您的应用程序获得了它所需的所有权限。我的建议是确保上传的应用程序版本是当前版本,并且您使用参考的 Google Checkout 商家帐户(这与常规 Google 或 Google Checkout 帐户不同)登录由文档提供。希望这会有所帮助!
The problem is with the permission. Use
It looks like your app gets all the permissions it needs. My advice is to make sure that the uploaded version of the app is the current version, and also that you are logged in using your Google Checkout Merchant account (this is different from a regular Google or Google Checkout account) as referenced By the docs. Hope this helps!