
BUG
巫巫巫
这个作者很懒,什么都没留下…
展开
-
Android在drawable文件夹更新图片后,不能更新到程序中去。
Android在drawable文件夹更新图片后,buneng原创 2014-05-01 10:55:38 · 702 阅读 · 0 评论 -
Android Invalid project description
BUG:Invalid project description原创 2014-05-19 22:44:13 · 419 阅读 · 0 评论 -
Android SkImageDecoder::Factory returned null
BUG:SkImageDecoder::Factory returned null原因:原创 2014-05-13 13:44:15 · 650 阅读 · 0 评论 -
Android aapt.exe 应用程序错误
bug:aapt.exe 应用程序错误yua原创 2014-05-13 17:26:36 · 1212 阅读 · 2 评论 -
设置父控件的事件,需要去掉子控件的android:clickable="true" 属性。
android:clickable="true"原创 2014-04-28 18:18:18 · 2875 阅读 · 0 评论 -
java.lang.SecurityException: WifiService: Neither user 1...
BUG:java.lang.SecurityException: WifiService: Neither user 1原因:没有添加wifi访问权限原创 2014-06-10 09:52:46 · 6224 阅读 · 0 评论 -
View.setTag(key,object)异常:The key must be an application-specific resource id.
07-11 13:43:26.184: E/AndroidRuntime(10229): FATAL EXCEPTION: main07-11 13:43:26.184: E/AndroidRuntime(10229): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.txrj.sms/com.txr转载 2014-08-01 15:24:54 · 388 阅读 · 0 评论 -
java.lang.RuntimeException: Unable to instantiate activ
BUG: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.xcz1899.birthday/com.xcz1899.birthday.activity.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com原创 2014-09-09 16:17:54 · 891 阅读 · 0 评论 -
android.os.NetworkOnMainThreadException
BUG: android.os.NetworkOnMainThreadException原因:原创 2014-09-01 15:22:46 · 359 阅读 · 0 评论 -
Android org.xml.sax.SAXParseException: Unexpected end of document
bug:org.xml.sax.SAXParseException: Unexpected end of document原因:原创 2014-05-13 11:51:28 · 1543 阅读 · 0 评论 -
System services not available to Activities before onCreate()
出现故障:System services not available to Activities before onCreate()故障原因:原创 2014-04-26 23:04:34 · 4071 阅读 · 0 评论 -
Android Unable to resolve target 'android-8'
BUG:Unable to resolve target 'android-8'原因:原创 2014-05-19 17:59:44 · 472 阅读 · 0 评论 -
No orientation specified, and the default is horizontal. This is a common source of bugs when chil
问题描述:Android布局文件中出现:“No orientation specified, and the default is horizontal. This is a common source of bugs when children are added dynamically.”翻译过来就是:没有指定方向,默认的方向是水平方向。当动态添加子控件的时候,这就会成原创 2014-04-17 09:29:13 · 1004 阅读 · 0 评论 -
android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context r
BUG:android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?解决办法:原创 2014-05-07 23:43:06 · 573 阅读 · 0 评论 -
java.lang.ClassCastException: android.app.Application
BUG:java.lang.ClassCastException: android.app.Application原因:没有注册Application在原创 2014-05-08 10:33:09 · 412 阅读 · 0 评论 -
<uses-permission> tag appears after <application> tag
把权限说明放到标签前面即可原创 2014-05-10 22:54:09 · 505 阅读 · 0 评论 -
java.io.IOException: Permission denied
BUG:java.io.IOException: Permission denied原因:没有dingyi原创 2014-05-10 23:00:05 · 2075 阅读 · 0 评论 -
自定义View的时候出错
如果想使用XML文件buj自定义View的构造方法必须为:public MyView(Context context,AttributeSet attrs) {super(context,attrs);}原创 2014-04-25 11:26:15 · 441 阅读 · 0 评论 -
android.view.InflateException: Binary XML file line #24: Error inflating class xx
异常信息:android.view.InflateException: Binary XML file line #24: Error inflating class xx原因原创 2014-04-26 10:36:28 · 845 阅读 · 0 评论 -
android.content.res.Resources$NotFoundException: String resource ID #0x42
错误信息:android.content.res.Resources$NotFoundException: String resource ID #0x42原因:在调用函数的时候,b原创 2014-04-26 16:35:02 · 565 阅读 · 0 评论 -
android编程:解决异常“android.view.InflateException: Binary XML file line # : Error inflating class”
抛出异常时的main.xml与自定义View类相关代码如下:main.xml继承View的类Chessboard.java: 对于此异常,如下进行修改:添加View类的另一个构造方法 如上,问题解决了。。。转载 2014-09-17 11:32:06 · 402 阅读 · 0 评论