- 博客(3)
- 收藏
- 关注
原创 The connection to adb is down, and a severe error has occured.
当我们在运行用eclipse运行Android程序的时候 有时候控制台会提示The connection to adb is down, and a severe error has occured. 当出现这种情况的时候我们首先打开任务管理器,在进程中找到adb.exe 然后点击结束进程 这时候运行cmd 在cmd中输入adb start-server命令 常规
2015-10-09 10:34:22 225
原创 不使用setPositiveButton 如何让alertdialog消失
好像Alertdialog就没有了Dialog的dismiss()方法了 所以当在自定义AlertDialog的中 当我们想点击布局文件中某个控件让Alertdialog消失的时候就不能直接使用dismiss()方法了 我们可以这么做 //先创建一个AlertDialog AlertDialog.Builder builder = new AlertDialog.Builde
2015-04-25 19:02:52 1096
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人