Application has stopped unexpectedly. Please try again." android解

来源:互联网 发布:淘宝联盟的淘口令 编辑:程序博客网 时间:2024/05/22 07:46

误将myImageButton1 写成mWebView1;变量命名写错.汗.另外, 单击ImageButton

出现 Web Page not available错误.

解决方法:

在android程序中的AndroidManifest.xml加入下列语句, 添加权限:

<uses-permission android:name="android.permission.INTERNET">
</uses-permission>

 

 

原创粉丝点击