应用程序无法启动三星Galaxy Tab SII

时间:2012-03-14 07:02:17

标签: java android samsung-mobile

我已经完成了很多没有问题的项目。但在目前的项目中,我测试了三星Galaxy Tab(GT-P7300),应用程序无法启动。当我运行它时屏幕闪烁,然后立即退出到家(没有强制关闭消息,主屏幕立即弹出)。 LogCat显示以下错误:

03-14 16:18:41.060: E/AndroidRuntime(4144): Set to default setting_6 : region=-Duser.region=US propRegn=US
03-14 16:18:41.070: E/AndroidRuntime(4144): /system/csc/feature.xml ==> cannot open file
03-14 16:18:41.340: E/AndroidRuntime(4154): Set to default setting_6 : region=-Duser.region=US propRegn=US
03-14 16:18:41.360: E/AndroidRuntime(4154): /system/csc/feature.xml ==> cannot open file
  

消费者关闭输入渠道或发生错误。频道是   不可挽回的破碎,将被处置!

来自LogCat的其他消息:

03-14 15:16:40.370: E/TODmobile(650): onReceive action=sec.android.intent.action.HOME_RESUME
03-14 15:16:40.380: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:40.380: E/DigitalClockWidget(650): updateWidgets
03-14 15:16:40.410: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:40.450: E/DigitalClockWidget(650): onReceive action=sec.android.intent.action.HOME_RESUME
03-14 15:16:40.450: E/TODmobile(650): onStartCommand
03-14 15:16:40.450: E/TODmobile(650): onReceive action=com.sec.android.widgetapp.DigitalClock_Start
03-14 15:16:40.460: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:40.460: E/DigitalClockWidget(650): updateWidgets
03-14 15:16:40.510: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:40.980: E/TODmobile(650): onReceive action=sec.android.intent.action.HOME_RESUME
03-14 15:16:41.010: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:41.010: E/DigitalClockWidget(650): updateWidgets
03-14 15:16:41.010: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:41.030: E/DigitalClockWidget(650): onReceive action=sec.android.intent.action.HOME_RESUME
03-14 15:16:41.030: E/TODmobile(650): onStartCommand
03-14 15:16:41.040: E/TODmobile(650): onReceive action=com.sec.android.widgetapp.DigitalClock_Start
03-14 15:16:41.050: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:41.060: E/DigitalClockWidget(650): updateWidgets
03-14 15:16:41.060: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:41.410: E/DigitalClockWidget(650): onReceive action=com.sec.android.widgetapp.APPWIDGET_RESIZE
03-14 15:16:41.410: E/TODmobile(650): onStartCommand
03-14 15:16:41.420: E/TODmobile(650): onReceive action=com.sec.android.widgetapp.DigitalClock_Start
03-14 15:16:41.420: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:41.420: E/DigitalClockWidget(650): updateWidgets
03-14 15:16:41.420: E/TODmobile(650): hour : 15    minute : 16
03-14 15:16:41.570: E/RemoteViews(362): Cannot setOnClickPendingIntent for collection item (id: 2131755055)
03-14 15:16:41.570: E/RemoteViews(362): Cannot setOnClickPendingIntent for collection item (id: 2131755055)

该程序适用于LG GT540和三星Ace。

是什么导致了这个问题?我搜索了错误信息,发现很多人遇到了它,但没有明确的解决方案。

编辑:更多信息,我尝试过Galaxy Tab(GT-P1000,运行Android 2.3.3),它也运行良好。当我在带有3.0设备的Android SDK Emulator上试用它时,程序也闪烁然后消失。所以只有Android 3.0(也许是4.0)才会引发这个问题。

1 个答案:

答案 0 :(得分:1)

喜欢。 ch说,我也看到了没有足够的内存问题,也已经安装了相同的软件包ID的软件包,即使图形需要调整大小。随着说:

如果您是supporting multiple screens,我会确保每个MDPI,HDPI,XHDPI中都有图形,并且它们是optimized并设置为appropriate DPI。这应该确保所有设备和API级别都很好。

即使这不是问题的根源,在性能和可靠性方面确保最佳实践也是好事。