我收到的报告显示在" progress.show()"
的行上发生异常 R.string.loading_details
="加载详细信息"
任何人都知道问题是什么?
@Override
protected void onPreExecute() {
progress = new ProgressDialog(context);
progress.setMessage(act.getString(R.string.loading_details) + "...");
progress.setOnDismissListener(new OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
task.cancel(true);
}
});
progress.show();
super.onPreExecute();
}
java.lang.RuntimeException:包管理器死了 android.app.ApplicationPackageManager.getActivityInfo(ApplicationPackageManager.java:261) 在 com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3472) 在 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:336) 在 com.android.internal.app.AlertController.installContent(AlertController.java:241) 在android.app.AlertDialog.onCreate(AlertDialog.java:337)at android.app.ProgressDialog.onCreate(ProgressDialog.java:198)at android.app.Dialog.dispatchOnCreate(Dialog.java:363)at android.app.Dialog.show(Dialog.java:264)at com.xxxxxxx.xxxxxxx.xxxxxxx.xxxxxxx $ a.onPreExecute(SourceFile:80)at at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:587)at com.xxxxxxx.xxxxxxx.xxxxxxx.xxxxxxx.mymethod(SourceFile:59)at at com.xxxxxxx.xxxxxxx.xxxxxxx.xxxxxxxActivity $ 8.onItemClick(的SourceFile:355) 在android.widget.AdapterView.performItemClick(AdapterView.java:308) 在android.widget.AbsListView.performItemClick(AbsListView.java:1476) 在android.widget.AbsListView $ PerformClick.run(AbsListView.java:3497) 在android.widget.AbsListView $ 3.run(AbsListView.java:4814)at android.os.Handler.handleCallback(Handler.java:733)at android.os.Handler.dispatchMessage(Handler.java:95)at android.os.Looper.loop(Looper.java:157)at android.app.ActivityThread.main(ActivityThread.java:5293)at java.lang.reflect.Method.invokeNative(Native Method)at java.lang.reflect.Method.invoke(Method.java:515)at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:1265) 在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)at dalvik.system.NativeStart.main(Native方法)引起: android.os.TransactionTooLargeException at android.os.BinderProxy.transact(Native Method)at android.content.pm.IPackageManager $存根$ Proxy.getActivityInfo(IPackageManager.java:2059) 在 android.app.ApplicationPackageManager.getActivityInfo(ApplicationPackageManager.java:256) ......还有24个