我有一段时间没有更新我的Android应用程序 . 现在我想使用Alpha Test来运行应用内购买功能的一些测试 .
问题是,我没有看到如何使用Play商店在我的设备上安装Alpha版本 . 我做了以下事情:
-
在
Android Studio 2.1
创建了APK -
登录Google Play开发者控制台
-
选择我的应用并切换到
APK/Alpha-Test
-
上传了APK Alpha测试和 published it
-
这是一个封闭的Alpha测试,我是唯一的测试人员 . The e-mail address I entered in the tester list perfectly matches the address of the Play Account I am using on the device.
-
在我的设备上的Chrome中打开了激活网址 . 显示Play商店网页,说 I am a tester .
-
点击了Play商店的链接,下载了我的应用的当前版本
-
检查是否有Alpha版本的更新, but there is not
我在 three days ago 上传/发布了alpha APK . 即使更新到达商店需要几个小时,三天应该足够长,不应该吗?
我发现其他线程处理这类问题,在某些情况下解决方案是 clean the cache of the Play Store App and restart the app . 然而,这并没有改变我的情况 .
所以,我找到的建议解决方案都没有为我工作 . 还有什么想法我能做什么?
UPDATE:
仍无法更新为alpha版本 . 我现在使用 Google+ Community 从 Closed Alpha Test 切换到Alpha测试 . 但是,结果是一样的:
-
使用我的开发者帐户登录后,我切换到Google并创建了一个新社区 .
-
邀请我的测试用户(我的其他帐户之一)加入该组 .
-
将Goole社区的URL复制到Developer Console中的Aplha Testing部分 .
-
发布了更改 .
-
访问测试网址(https://play.google.com/apps/testing/com.mycompany.myapp)时收到消息“ You are not a tester ”
-
检查我的测试帐户的电子邮件 . 找到了Google社区的邀请并加入了 .
-
访问测试URL时,我现在可以单击 Become a tester ,现在我是测试人员 .
-
使用我的测试帐户从Play商店下载了应用程序 . 刚收到公开版 .
-
No update to the Alpha version available...
UPDATE 2:
切换到 Public Alpha Test 后仍然没有可用的更新 .
我的想法已经不多了......
1 回答
两周后,我终于能够解决这个问题了 . 我在这里分享解决方案,以防有人遇到相同类型的问题:
我联系了Google支持,了解是否有任何已知问题导致测试版本无法下载 . They told me, that the uploaded APK was not compatible with my test device (Nexus 5) due to an incompatible ABI version.
这非常令人困惑,我的应用程序 did not use any native code 因此根本没有配置任何ABI版本 .
最后Google告诉我,APK的
ABI
版本被识别为commons-io-2.4.jar
. 这仍然没有意义,因为这显然不是ABI版本 . 然而,通过这些信息,我能够继续前进并找到避免问题的方法 .Android Stuido将
commons-io-2.4.jar
文件复制到APK中的lib
文件夹中 . 开发者控制台将此文件夹的内容标识为ABI
版本(没有任何意义),因此APK被标记为与设备不兼容 .Android Studio中存在错误(将文件复制到lib文件夹中)或Dev控制台(识别lib内容als ABI版本) .
SOLUTION
Since I did not need the commons-io-2.4.jar anymore, I could simply remove it from the project and the new version is distributed without any problem in the Alpha/Beta Test Channel. 如果应用程序依赖于这个库,我不知道我会做什么 .
开发人员控制台中的信息,特定设备是否支持APK,这是非常令人困惑的:
APK的公开版本(当然)与数千种不同的设备兼容,包括我用于测试的Nexus 5 . 开发者控制台也为测试APK显示相同的信息(公共APK之一) . 因此我假设,测试APK是正确和兼容的 . 通过单击开发者控制台中的APK,只能看到有关测试APK的信息 .