将Android Studio升级至最新版(1.0 R C4)之后,运行项目时出现问题:
Gradle DSL method not found: 'runProguard()'
从字面就能看出来,出现这个问题的原因是找不到runProguard()这个方法了(调用这个方法的地方在每个Module对应的build.gradle文件中)。...
分类:
移动开发 时间:
2014-12-08 10:48:10
阅读次数:
134
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array....
分类:
其他好文 时间:
2014-12-08 00:54:38
阅读次数:
172
从widow转到ubuntu环境,折腾了几天,遇到不少问题,现记录如下:
开发工具
1.anroid开发环境,eclipse jdk adt插件 或者 androidstudio。这个介绍的很多。
2.adb 64位兼容包 在终端中输入adb devices 提示sudo: adb: command not found。但是明明已经配置好android开发环境和路径。原因在于...
分类:
移动开发 时间:
2014-12-07 23:13:18
阅读次数:
187
我在VS中编译程序遇到这个错误:error C3861: 'ReadDirectoryChangesW': identifier not found, even with argument-dependent lookup差了一下MSDN,说是要包含 windows.h 头文件,我照做了,但是错误依...
分类:
其他好文 时间:
2014-12-07 19:10:19
阅读次数:
170
刚开始在网上看别人说的adt版本太高了我的adt是23,我就按他的方法下载了一个22的adt结果集成不了,这种方式果断放弃!!
然后我就注意到了新建项目的时候控制台有这个日志输出
AppWidget declare-styleable AppWidgetProviderInfo not found in file /Users/liping/Desktop/adt-bundle-mac-x...
分类:
移动开发 时间:
2014-12-07 16:28:09
阅读次数:
204
今天在eclipse中编写pom.xml文件时,注释中的中文被eclipse识别到错误:Invalid byte 1 of 1-byte UTF-8 sequence,曾多次遇到该问题,问题的根源是: The cause of this is a file that is not?UTF-8?is bein...
分类:
其他好文 时间:
2014-12-07 15:12:46
阅读次数:
183
项目报错如下:ld: warning: ignoring file /xxxx/xxxx/ZBarSDK/libzbar.a ld: symbol(s) not found for architecture x86_64项目设置支持64位,如下图:原因:ZBarSDK不支持64位所致。支持64位.....
分类:
其他好文 时间:
2014-12-07 12:28:07
阅读次数:
1348
keil链接时出现这样的问题,电脑中有同时安装ADS与Keil,那应该是他们冲突了。linking....\Obj\Hello.axf: Warning: L6373W: libattrs.map file not found in System Library directory C:\Progr...
分类:
其他好文 时间:
2014-12-07 11:14:49
阅读次数:
587
Linux下,使用unzip解压时,报错:End-of-central-directory signature not found. Either this file is nota zipfile, or it constitutes one disk of a multi-part archiv...
分类:
其他好文 时间:
2014-12-06 20:16:37
阅读次数:
417
如果编写的判断式不满足strict weak ordering,就会出现Invalid operator< assertion error错误。网页:http://support.microsoft.com/kb/949171VS(其他编译器还没试过)中,sort函数要求比较函数是strict we...
分类:
其他好文 时间:
2014-12-06 20:13:54
阅读次数:
182