- 博客(9)
- 收藏
- 关注
转载 Android Studio中多项目共享Library
创建一个共享的library项目,在两个Android Studio项目都能同时使用。创建共享library项目 在src/android/MySharedLibrary下创建Library项目 MySharedLibrary/src/main/java/… /build.gradle MySharedLibrary/src/main/java/…
2016-03-15 18:10:46 1361
转载 finished with non-zero exit value 2
Error:Execution failed for task ‘:phoneacompany:dexDebug’. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘D:\softing\Java\jdk1.7.0_67\bi
2016-03-09 13:01:30 327
转载 Android Studio -修改LogCat的颜色
一、 先看效果 这里写图片描述 二、设置 File->Settings 或Ctrl + Alt +S 找到 Editor -> Colors &Fonts -> Android Logcat 或在上面的搜索框中输入Logcat 点中Verbose , Info, Debug等选项,然后在后面将Use Inberited attributes 去掉勾选 再将 Foreground 前的复选框
2016-03-04 19:13:06 398
原创 Error:(54, 61) 错误: -source 1.6 中不支持 diamond 运算符 (请使用 -source 7 或更高版本以启用 diamond 运算符)
android studio导入项目报错 Error:(54, 61) 错误: -source 1.6 中不支持 diamond 运算符 (请使用 -source 7 或更高版本以启用 diamond 运算符)
2016-03-03 11:36:57 481
原创 Adroid Studio 提示Error:(2) Error retrieving parent for item: No resource found that matches
C:\Users\Joana\AndroidStudioProjects\LJB1ststep\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.1.1\res\values-v23\values-v23.xml Error:(2) Error retrieving parent for item: N
2016-03-03 11:34:06 469
原创 欢迎使用CSDN-markdown编辑器
遇到Failed binder transaction错误 这个是在intent跳转activity的时候传输数据,结果出现这个错误,百度:intent传输数据 图片大小不能超过40K,改掉之后正常!
2016-03-02 14:38:21 234
转载 iOS拼接字符串
NSString* string; // 结果字符串 02 NSString* string1, string2; //已存在的字符串,需要将string1和string2连接起来 03 04 //方法1. 05
2015-12-18 18:40:51 349
转载 IOS NSString 截取,objectAtIndex,rangeOfString,stringWithContentsOfFile,NSEnumerator
1)componentsSeparatedByString:截取指定字符串; 2) pathForResource:获取程序运行时目录 3) objectAtIndex:获取当前索引的字符串; 4) rangeOfString:获取指定短字符串在长字符串中的开始,结尾索引值; 5) stringWithContentsOfFile:按行读取文件 6) compon
2015-12-17 14:54:45 216
原创 git简单命令
1.git环境,下载git shell(windows环境下:https://desktop.github.com/) 2.1> ssh-keygen -t rsa -C "xxxxx@xxxxx.com"# Creates a new ssh key using the provided email # Generating public/private rsa key pair... 查
2015-12-16 12:00:29 221
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人