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 

猜你喜欢

转载自blog.csdn.net/nihb1/article/details/89467593
今日推荐