Android:the application xxx has stopped unexpectedly

运行程序后弹出:  The application *** has stopped unexpectedly. Please try again. 然后会要祈求强制退出。  
原因是:需要访问到网络,所以,在 AndroidManifest.xml中,需要进行如下配置:在下面第三个页面 permission中,选择 Add...选择“ usespermission”,在右面 name中选择“ android.permission.INTERNET”;然后AndroidManifest.xml中会出现下面语句: 再次运行程序,就OK了

1.

2.
Android:the application xxx has stopped unexpectedly_第1张图片
3.
Android:the application xxx has stopped unexpectedly_第2张图片
4.
Android:the application xxx has stopped unexpectedly_第3张图片
5.最后保存

你可能感兴趣的:(Android)