ispsh 发表于 2018-8-19 07:07:15

app.honeycomb.Shell$HomeActivity failed to start-wx5ae68f6839bbc的博客

  错误警报:
  java.lang.AssertionError: com.google.android.youtube/.app.honeycomb.Shell$HomeActivity failed to start
  at org.junit.Assert.fail(Assert.java:88)
  at org.junit.Assert.assertTrue(Assert.java:41)
  at com.google.android.memory.gts.AllAppsMemoryHostTest.testPeakPssOfAllApps(AllAppsMemoryHostTest.java:85)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
  at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  at org.junit.runners.BlockJUnit4Cla***unner.runChild(BlockJUnit4Cla***unner.java:78)
  at org.junit.runners.BlockJUnit4Cla***unner.runChild(BlockJUnit4Cla***unner.java:57)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
  at com.android.tradefed.testtype.HostTest.runJUnit4Tests(HostTest.java:505)
  at com.android.tradefed.testtype.HostTest.runTestClasses(HostTest.java:422)
  at com.android.tradefed.testtype.HostTest.run(HostTest.java:397)
  at com.android.compatibility.common.tradefed.testtype.JarHostTest.run(JarHostTest.java:142)
  at com.android.compatibility.common.tradefed.testtype.ModuleDef.run(ModuleDef.java:258)
  at com.android.compatibility.common.tradefed.testtype.CompatibilityTest.run(CompatibilityTest.java:477)
  at com.android.tradefed.invoker.TestInvocation.runTests(TestInvocation.java:796)
  at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:471)
  at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:322)
  at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:984)
  at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:558)
  错误原因
  字串中包含 "$", 该字符无法被 Shell 识别导致传给系统时, 字串被截断为 "com.google.android.youtube/.app.honeycomb.Shell". 系统找不到该字串对应的组件, 无法启动. 导致该测项失败.
  解决方法
  该测项 google 有 waive. R4会解掉这个问题.
  https://partnerissuetracker.corp.google.com/issues/74354093

页: [1]
查看完整版本: app.honeycomb.Shell$HomeActivity failed to start-wx5ae68f6839bbc的博客