private void showDialog(String msg){
Builder builder =**new AlertDialog.Builder(HttpUtil.this);**
// AlertDialog.Builder builder =new Builder(HttpUtil.this);
builder.setMessage(msg)
.setCancelable(false)
.setPositiveButton("确定", new DialogInterface.OnClickListener(){
public void onClick (DialogInterface dialog,int id){
}
});
AlertDialog alert =builder.create();
alert.show();
}
加粗部分提示The constructor AlertDialog.Builder(HttpUtil) is undefined