GMS申请白名单和gts测试失败的问题

GMS申请白名单
单跑一条如下case:

android版本    测试项
Android 9    run cts -m CtsSystemApiSignatureTestCases -t android.signature.cts.api.SignatureTest#testSignature
Android 8.1    run cts -m CtsSystemCurrentApiSignatureTestCases -t android.signature.cts.api.SignatureTest#testSignature
Android 8.0    run cts -m CtsSignatureTestCases -t android.signature.cts.SignatureTest#testSignature
申请APE_API_KEY
GtsPlacementTestCases 下6条CaseFail
 

com.google.android.placement.gts.DefaultIntentTest#testDefaultIntentHandlers
com.google.android.placement.gts.HomescreenLayoutTest#testFolderPlacement
com.google.android.placement.gts.HomescreenLayoutTest#testShortcutPlacement
com.google.android.placement.gts.HomescreenLayoutTest#testWidgetPlacement
com.google.android.placement.gts.InstalledAppsTest#testAppsInstalled
com.google.android.placement.gts.InstalledAppsTest#testSystemAppsInstalled


错误信息1:
java.lang.AssertionError: Unable to execute because authorization failed, please ensure the service account key is properly installed…

谷歌檢查這個key(APE_API_KEY),這把key是由認證3pl發放的。
在測試前,必須透過pc設置正確的3pl key變量,(可以echo出來看是boo設置正確)
這樣才可預通過。
key 分为public的和private,odm要自測,需要用MTK提供的public key
如果去lab送測,需要Lab提供private key 來測。
APE_API_KEY如果是MTK提供的,那要MTK来提供给贵司。
如果是3PL提供的,请联系3PL。

错误信息2:
java.lang.AssertionError: Unable to execute because service account is not authorized to access information for this device. Please verify device properties are set correctly and account permissions are configured to the Business Logic Api…

一般网络的问题,确保电脑和手机能够连接翻墙网络,
--------------------- 
作者:淡定的人O 
来源:CSDN 
原文:https://blog.csdn.net/w1764662543/article/details/84987329 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值