错误日志记录

最近,事情繁多

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的类文件

7.
System.err W android.content.res.Resources$NotFoundException: String resource ID #0x0
给一个TextView设置了一个int值

你可能感兴趣的:(线程,hierarchy)