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

1.

Android:the application xxx has stopped unexpectedly

2.
Android:the application xxx has stopped unexpectedly
3.
Android:the application xxx has stopped unexpectedly
4.
Android:the application xxx has stopped unexpectedly
5.最后保存

相关文章: