本来程序运行好好的,未知原因出现了如下log
- Java code
07-25 13:53:38.124: V/AlarmManager(227): The statePoweron is :normal07-25 13:53:38.124: V/AlarmManager(227): sending alarm Alarm{42226580 type 0 com.huawei.message}07-25 13:53:38.124: W/ActivityManager(227): Unable to launch app com.huawei.android.pushagent/10092 for broadcast Intent { act=com.huawei.android.push.intent.HEARTBEAT_REQ flg=0x14 (has extras) }: process is bad07-25 13:53:38.124: W/ActivityManager(227): finishReceiver called but none active07-25 13:53:38.460: V/AlarmManager(227): Checking for alarms... rtc=1343224418471, elapsed=15066652207-25 13:53:38.460: V/AlarmManager(227): Checking active alarm when=1343224418471 Alarm{42681710 type 0 com.
在老外的帖子上只看到了有解决办法:
1 Uninstall your app
2 Reboot phone/emulator
3 Push new app without this attribute
或者
Uninstall the app through Settings -> Applications.
Remove the battery from the phone (using the Android "Power off" menu did not work).
Turn device on again.
Install the APK again using adb install <myapp>.
求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求求
各位大神解释!!
Unable to launch app ,为什么没会出现process is bad呢
------解决方案--------------------
看这个log,是app注册了alarm manager的定时通知,但是app却已经在收到intent之前挂掉了.
log太少了,看看com.huawei.android.pushagent的其余的log,是不是出现了exception,确定是app自己出了问题,还是给系统杀掉了。
------解决方案--------------------
这个出错是由什么操作引起的?不同的应用发送广播吗?
------解决方案--------------------
这估计跟微软的蓝屏一样,偶尔会出现吧
------解决方案--------------------
sending alarm Alarm{42226580 type 0 com.huawei.message}
------解决方案--------------------
把bin目录下dex,apk,ap_这三个文件删了,刷新运行试试
------解决方案--------------------
把这个程序卸载了
重启手机
然后再重新安装
在国外网站上看到的,呵呵