在谷歌初始化失败IAP游戏吗? [英] On Initialization Failure in google play IAP?

查看:475
本文介绍了在谷歌初始化失败IAP游戏吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Google Play控制台在我的应用中创建IAP.我已经在内部测试轨道中上传了APK,并在管理产品"标签中添加了1个产品.当我尝试在Android手机中运行它时,OnInitializeFailed InitializationFailureReason:NoProductsAvailable出现在日志中.但是,当我在编辑器中运行它时,它会返回OnInitialized:Pass.

I'm trying to create IAP in my app using google play console. I already uploaded an APK in the internal test track and added 1 product in Manage Product Tab. When I tried to run it in an android phone, OnInitializeFailed InitializationFailureReason:NoProductsAvailable appears in the logs. But when I run it in my editor, it returns OnInitialized:Pass.

我是否需要创建alpha/beta来测试IAP?

Do I need to create an alpha/beta just to test IAP?

编辑者日志:

Android移动日志:

Warning
Unavailable product book_1 -book_1
UnityEngine.Purchasing.Extension.UnityUtil:Update()

Log
OnInitializeFailed InitializationFailureReason:NoProductsAvailable
IAPManager:OnInitializeFailed(InitializationFailureReason)
UnityEngine.Purchasing.Extension.UnityUtil:Update()

Log
UnityIAP Promo: Clearing promo product metadata
UnityEngine.Purchasing.Extension.UnityUtil:Update()

推荐答案

您似乎没有将发布发布到内部测试轨道.按下EDIT RELEASE按钮,向下滚动.您将看到几个按钮:保存",查看".按下REVIEW按钮后,您将看到一个新页面.查看发行版,然后按START ROLLOUT按钮.这将使您的应用可以通过Google Play供测试人员使用.确保完成所有先决条件,例如此答案: https://stackoverflow.com/a/50468247/2556378

It looks like you did not published a release to the internal test track. Press EDIT RELEASE button, scroll down. You will see several buttons: SAVE, REVIEW. After you press a REVIEW button, you will see a new page. Review a release and then press a START ROLLOUT button. This will make your app available for testers via Google Play. Make sure to complete all prerequisites, like in this answer: https://stackoverflow.com/a/50468247/2556378

但是,这无法解决问题,因为按照以下文章,只有在将应用发布到打开"或关闭"测试轨道后,才可以进行应用内结算. com/google/play/billing/billing_testing"rel =" nofollow noreferrer> https://developer.android.com/google/play/billing/billing_testing

However, this will not solve the problem, because in-app billing is available only after app is published to either Open or Closed test track, as per this article: https://developer.android.com/google/play/billing/billing_testing

请记住,应用程序本身和应用程序内产品仍然仅对测试人员可用. IE.除非使用设备上的测试者帐户登录,否则您仍然会收到错误消息.

Keep in mind, that the app itself and in-app products will still be available to testers only. I.e. you will still get an error unless logged in with tester account on the device.

这篇关于在谷歌初始化失败IAP游戏吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆