- 博客(7)
- 收藏
- 关注
原创 解决JMonkeyEngine SDK 3.1 版本之后界面中文乱码的问题
JMonkeyEngine SDK 3.1 之后界面中文会显示乱码,如图:其原因是3.1版本之后默认使用dark monkey 主题导致,这个主题不支持中文,在外观里面把主题改成windows就可以了...
2019-04-30 16:53:27
978
原创 关于Integer对象是否相等的问题
废话不多说,直接上代码public class Main { public static void main(String[] args){ Integer i1 = 129; Integer i2 = 129; Integer i3 = 127; Integer i4 = 127; System.out.println(new Integer(12
2017-09-15 10:33:20
307
原创 springmvc默认忽视后缀的映射规则
感觉后缀在springmvc里只起一个配置拦截规则的作用,刚刚试了一下,拦截规则如果是"/" 那么@RequestMapping(“/index")的映射你可以加任意后缀(除了.jsp)访问,比如index.action、index.do、index.html甚至是index.abcdefg
2017-04-26 09:22:07
3198
原创 关于解决真机调试时DDMS里不能打开data文件夹时遇到的一些列问题
已解决:5037端口被占用error:unknown host service 360MobileLoader进程杀不死 /system/bin/sh: su: not found DDMS下file explorer空白
2016-08-31 21:04:53
959
原创 关于java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.Att
在使用自定义的View时报错java.lang.NoSuchMethodException: [class android.content.Context, interface android.util.Attr代码如下:布局文件<com.wupei.shadertest.MyView android:layout_width="match_parent"
2016-08-31 10:48:46
1021
原创 关于错误 Error opening trace file: Permission denied (13)
今天在学习Android的一个小例子时发现运行后主线程阻塞,并且logcat提示如下错误08-30 02:28:54.018 3029-3029/? E/cutils-trace: Error opening trace file: Permission denied (13)看到Permission denied我还以为是没有读取文件的权限,结果后来才发现犯了一个低级错误——我还没有
2016-08-30 11:14:13
4364
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人