- 博客(12)
- 资源 (5)
- 收藏
- 关注
原创 Eclipse之NDK编译——常见错误的解决方法记录
在工程目录下的jni文件夹下编写的c/c++代码在编译时,通常会遇到如下的几种类型错误:1、Unresolved inclusion:2、syntax error3、Function 'XXX' could not be resolved4、Type 'XXX' could not be resolved5、Symbol 'XXX' could not be resolved
2015-02-05 13:41:23
7559
转载 libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
public void createTest() throws IOException{ // 需要创建多级目录 String path = "sdcard/test/test1"; File folderFile = new File(path); if(!folderFile.exists()){ //
2014-10-08 10:29:19
1135
原创 Found 3 versions of android-support-v4.jar in the dependency list
an依赖列表中有3个版本
2014-09-12 16:43:52
1505
转载 json数据中的Unicode转utf-8
private static String decodeUnicode(String theString) { char aChar; int len = theString.length(); StringBuffer outBuffer = new StringBuffer(len); for (int x = 0; x < len;) { aChar = theString.ch
2014-09-09 14:25:38
2317
原创 Can't create handler inside thread that has not called Looper.prepare()
解决方法:定位到错误地方,在gai
2014-09-02 15:01:30
557
原创 vs2008编译通过,ndk编译有undefined reference to的错误
问题:如题原因:undefined reference to
2014-07-22 10:08:14
708
原创 Android中不同activity或service中引用对象
使用intent传递对象(Serializable、Parcelable),传递的是对象值,
2014-07-08 13:49:43
642
原创 原来Cocos2d-x里面有对json解析的库
花了一整个下午的时间在网上查找资料,了解不同的json库进行对比。找到的有libjson、jsonCpp和JsonBox根据使用的难易程度首先选择JsonBox,确实看起来更简单些,但是编译到Eclipse上会有error:undefined reference to 'JsonBox::Value::Value()'这样的错误,在网络里花费了好久的时间也没有找到解决方案。于是最终舍弃。
2014-04-17 16:39:23
2535
Java简易计算器制作
2012-12-17
操作系统进程管理
2012-12-17
计算机组成原理试题及答案
2012-12-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人