代码报错 android.view.WindowManager$BadTokenException: Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@44ee42b0 is not valid; is your activity running? 错误代码: AlertDia
Android中显示AlertDialog代码 new AlertDialog.Builder(getApplicationContext()).setTitle(R.string.search_result_is_null_alert_title).setPositiveButton(android.R.string.ok, new OnClickListener() {@Override