问题描述
解决方案
com.google.android.placement.gts.CoreGmsAppsPrivappPermissionsTest#testCoreGmsAppsPermissionsWhitelisted fail android.content.pm.PackageManager$NameNotFoundException: com.google.android.videos at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:173) at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:144) at com.google.android.placement.gts.CoreGmsAppsPrivappPermissionsTest.testCoreGmsAppsPermissionsWhitelisted(CoreGmsAppsPrivappPermissionsTest.java:81) at java.lang.reflect.Method.invoke(Native Method) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at
->GTS6.0r1会fail,换用6.0r2单跑即可pass。
com.google.android.placement.gts.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail java.lang.AssertionError: Mandatory core GMS packages not found as system apps: com.google.android.videos at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at com.google.android.placement.gts.CoreGmsAppsTest.checkGeneralCoreGmsAppsPreloaded(CoreGmsAppsTest.java:204) at com.google.android.placement.gts.CoreGmsAppsTest.testCoreGmsAppsPreloaded(CoreGmsAppsTest.java:487) at java.lang.reflect.Method.invoke(Native Method) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at
->使用Bug ID:118858478申请豁免