android的错误异常
後起
这个作者很懒,什么都没留下…
展开
-
『android错误08之PANIC: Could not open:C:\Documents and Settings\Administrator\.android/avd/my_avd.ini』
PC安卓模拟器PANIC: Could not open:C:\Documents and Settings\Administrator\.android/avd/my_avd.ini解决方案 1、设置环境变量:ANDROID_SDK_HOME值为你的SDK目录。如我的是:变量名 ANDROID_SDK_HOME 值为 E:\java\androidsdk 2、在ecl转载 2012-12-11 11:06:50 · 3327 阅读 · 0 评论 -
『android错误09报错 』 Bad XML block: header size 289 or total size 0 is larger than data size 0
转载请注明,原文地址:http://blog.csdn.net/liu17ezlyy[2013-01-25 10:37:14 - ImageGrid] W/ResourceType( 6560): Bad XML block: header size 289 or total size 0 is larger than data size 0[2013-01-25 10:37:14原创 2013-01-25 10:40:22 · 5480 阅读 · 0 评论 -
『android错误01运行时缺少project.properties file 』
Project has no project.properties file! Edit the project properties to set one缺少project.properties这个文件,到其他工程里把这个project.properties文件拷贝过来直接用,没有关系,可以用的,都是一样的啦~原创 2013-01-22 09:08:57 · 987 阅读 · 0 评论 -
『android错误02WindowManager$BadTokenException』
Caused by: android.view.WindowManager$BadTokenException: Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@405100c0 is not valid; is your activity running?Andrdoid用仿转载 2013-01-21 09:16:22 · 790 阅读 · 0 评论 -
『android错误03Gallery NullPointerException』
异常信息如下01-05 14:46:34.593: E/AndroidRuntime(12038): java.lang.NullPointerException01-05 14:46:34.593: E/AndroidRuntime(12038): at android.widget.Gallery.setUpChild(Gallery.java:772)01-05 14:46原创 2013-01-19 10:07:00 · 1427 阅读 · 0 评论 -
『android错误06之ClassCastException』
Caused by: java.lang.ClassCastException: android.widget.TextView通常是布局的问题,clean 一下,问题解决。--------------如果有帮助到你或有不同意见,欢迎评价,大家一起讨论,分享。原创 2012-12-24 11:44:37 · 441 阅读 · 0 评论 -
『android错误07之Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead』
今天在eclipse里报这个错误:Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please fix project properties 1. 项目 右键 ->android tools ->Fix Project2. 如果不可以,检查转载 2012-12-13 09:31:44 · 670 阅读 · 0 评论 -
『android错误04之IndexOutOfBoundsException』
java.lang.IndexOutOfBoundsException: Invalid index 79, size is 42就是数组越界了,意思是你某个地方调用了数组的下标为79,但是这个数组的实际大小是42。所以有这种错误。你检查一下你的代码看哪里调用某个数组。原创 2013-01-12 10:11:02 · 632 阅读 · 0 评论 -
『android错误05之Resources$NotFoundException』
Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0如果遇到这个问题,首先考虑以下原因:你是否在setText()方法中设置了一个int型变量,比如setText(10)。这样Android系统就会主动去资源文件当中寻找, 但是它不是一个资源文件ID, 所以就会转载 2013-01-06 11:00:02 · 537 阅读 · 0 评论