the application has stopped unexpected。please try again错误提示以及logcat不能打印解决
来源:互联网 发布:决胜网seo 编辑:程序博客网 时间:2024/05/17 07:50
1. 运行程序后弹出: The application (……)has stopped unexpectedly. Please try again. 然后会要求强制退出。
这是一个经典错误, Socket不能对外连接,具体错误不会被报出,也要看情况而定,比如是网络的权限没开,或者是访问GPS的权限没有开,仔细检查一下,特别是AndroidManifest.xml里面的内容
今天我的一个程序在里面加上
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
这两个权限再次运行程序,就OK了,具体的问题依照具体情况而定咯。
2.logcat不能打印信息
这个主意原因就是DDMS中没有选定device
1.是否为你的工程指定了模拟器
2.是否开启了多个模拟器。如果是,则在DDMS中选择你要启动的模拟器:
打开Device窗口:DDMS-->Device 然后选择你要启动的模拟器,打开LogCat窗口便可以看到打印信息。
- the application has stopped unexpected。please try again错误提示以及logcat不能打印解决
- the application has stopped unexpected。please try again
- the application has stopped unexpected。please try again的解决办法
- 安卓学习之调试 the application has stopped unexpected。please try again 的错误
- the applicatein has stopped unexpected .please try again
- android:The application has stopped unexpectedly, please try again.
- 【Android】The application has stopped unexpectedly.Please try again.
- Application has stopped unexpectedly. Please try again." android解
- The Application xxx (process cn.bzu.case1) has stopped unexpectedly .Please try again 异常
- Android跳转页面出现THe Application has stopped unexpectedly,please try again
- 目前遇到的这个错误的“The application *** hans stopped unexpectedly. Please try again.”的原因。
- 我的开机启动的app遇到the application has stop unexpectedly please try again
- 跳转出现错误 the application test has stopped unexpectedly 的解决
- The application ... has stopped unexpectedly
- The application has stopped unexpectedly
- The process android.process.acore has stopped unexpectedly. please try agian
- anroid开发遇到问题:跳转出现错误 the application xxx has stopped unexpectedly
- 解决The file XXX can not be found.Please check the location and try again!
- android ListView详解
- 【开源项目】花密(Flower Password)VB版之鼠标按键钩子模块
- 自定义的Qt程序打印调试信息的方法
- msvcprtd.lib(MSVCP90D.dll) : error LNK2005
- GridView中TextBox失去焦点或文本改变时更新本行(获取本行某列的值)
- the application has stopped unexpected。please try again错误提示以及logcat不能打印解决
- 未能从程序集“mscorlib,Version=2.0.0.0,Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载类型“System.DateTi
- 3D MAX 快捷键
- Activity的重定向
- 【开源项目】花密(Flower Password)VB版之内存优化模块
- 6、WEB开发由浅入深系列BLOG-6(JSP简单小案例)[ip获取国家地区、获取提示消息、脚本控制、生命周期]
- 实现类似Android的网格效果的列表视图
- 引用 android string.xml文件中的整型和string型代替
- 要做好性能测试,该掌握些什么?