您的位置:首页 > 其它

错误日志记录

2015-11-23 14:47 246 查看
最近,事情繁多

1.

android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

2.

Android:在设置Button上面的内容(含字母时)字母被强制转换成了大写.

解决办法:在xml中加上

android:textAllCaps=”false”,使其不会自动转换为大写

3.

adb install GiftCard-Android-debug.apk

Failure [INSTALL_FAILED_OLDER_SDK]

这是因为: App minSdkVersion > 手机的版本

4. java.lang.NumberFormatException: Invalid int: “10000000581”

at java.lang.Integer.invalidInt(Integer.java:138)

at java.lang.Integer.parse(Integer.java:378)

at java.lang.Integer.parseInt(Integer.java:366)

at java.lang.Integer.parseInt(Integer.java:332)

10000000581大于了int 的最大值了,所以出现了这个异常

5.System.err W java.lang.IllegalStateException: Cannot add header view to list – setAdapter has already been called.

6.编译器 (1.8.0_66) 中出现异常错误。如果在 Java Bug Database (http://bugreport.java.com/bugreport/) 中没有找到该错误, 请在该数据库中建立 Bug。请在报告中附上您的程序和以下诊断信息。谢谢。

com.sun.tools.javac.code.Symbol$CompletionFailure: 找不到java.lang.invoke.MethodType的类文件
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: