我已经开发了一个应用程序,它可以(通过互联网连接)使用服务流式播放音乐,并且在手机不空闲的情况下具有真实的流式内容。 当我在开发我的应用程序时,每次我尝试下面提到的案例时,音乐都能很好地再现。此外,我已经使用HTC U Play - OS v6.0测试了应用程序,在关闭屏幕和手机不接触10+mins的情况下,流媒体可以顺利进行而不会中断。
我按照设置了浓缩咖啡。第二次测试失败。重新启动、清理、重新制作、重新安装都无能为力
java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=com.rox.espressodemo/.MainActivity } within 45 seconds. Perhaps the main thread has not gone idle within a reasonable amount