人生必须的知识就是引人向光明方面的明灯。这篇文章主要讲述app.honeycomb.Shell$HomeActivity failed to start相关的知识,希望能为你提供帮助。
错误警报:
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.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.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)
【app.honeycomb.Shell$HomeActivity failed to start】错误原因
字串中包含 "
$"
, 该字符无法被 Shell 识别导致传给系统时, 字串被截断为 "
com.google.android.youtube/.app.honeycomb.Shell"
. 系统找不到该字串对应的组件, 无法启动. 导致该测项失败.
解决方法
该测项 google 有 waive. R4会解掉这个问题.
https://partnerissuetracker.corp.google.com/issues/74354093
推荐阅读
- 如何在Unity中开发Leap Motion桌面版(Non-VR)APP
- 消灭选择困难APP
- test_app.sh
- android-读取MediaProvider
- 关于进程线程应用程序域(AppDomain)
- 聊聊Java happens-before原则
- App功能测试的注意点
- Android查缺补漏(线程篇)-- IntentService的源码浅析
- Android_ImageView简单实现图片翻转