com.google.android.gts.placement.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail

 GTS 4.0运行时会报如下错误:
 com.google.android.gts.placement.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail junit.framework.AssertionFailedError: Mandatory core GMS packages not found as system apps:

 从报错信息看出系统未检测到Hangout导致测试fail.但这是Google要求,将强制预置App Hangout更换为Duo,所以可以去申请waive

具体分析如下:
testCoreGmsAppsPreloaded case test preloaded mandatory core app list,
 but Duo app has replaced hangouts app from GMS gms-oem-mnc-6.0.1-signed-r10-20161111 and gms-oem-N-7.0-signed-r4-20161111 version on Telephony devices, so case do not find com.google.android.talk app:

com.google.android.gts.placement.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail: junit.framework.AssertionFailedError: Mandatory core GMS packages not found as system apps:
 com.google.android.talk
 at junit.framework.Assert.fail(Assert.java:50)
 at junit.framework.Assert.assertTrue(Assert.java:20)
 at
 com.google.android.gts.placement.CoreGmsAppsTest.checkGeneralCoreGmsAppsPreloaded(CoreGmsAppsTest.java:175)
 at com.google.android.gts.placement.CoreGmsAppsTest.testCoreGmsAppsPreloaded(CoreGmsAppsTest.java:228)
 at java.lang.reflect.Method.invoke(Native Method)
 at junit.framework.TestCase.runTest(TestCase.java:168)
 at junit.framework.TestCase.runBare(TestCase.java:134)
 at junit.framework.TestResult$1.protect(TestResult.java:115)
 at android.support.test.internal.runner.junit3.AndroidTestResult.runProtected(AndroidTestResult.java:77)
 at junit.framework.TestResult.run(TestResult.java:118)
 at android.support.test.internal.runner.junit3.AndroidTestResult.run(AndroidTestResult.java:55)
 at junit.framework.TestCase.run(TestCase.java:124)
 at android.support.test.internal.runner.junit3.NonLeakyTestSuite$NonLeakyTest.run(NonLeakyTestSuite.java:63)
 at android.support.test.internal.runner.junit3.AndroidTestSuite$1.run(AndroidTestSuite.java:97)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
 at java.util.concurrent.FutureTask.run(FutureTask.java:237)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
 at java.lang.Thread.run(Thread.java:761)

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值