今天升级了下Android Studio,然后发现更新gradle,然后在sync项目的时候总是报method not found: 'runProguard'的错误找了很多发现不对。最后解决办法是这样的,修改app下 build.gradle文件。If you are using version ...
分类:
移动开发 时间:
2014-12-12 20:39:17
阅读次数:
175
在linux下习惯使用ll、la、l等ls别名的童鞋到mac os提示command not found打开终端1 2014-461deMacBook-Pro:~ root# cd ~2 2014-461deMacBook-Pro:~ root#vim .bash_profile加入:alias ....
分类:
系统相关 时间:
2014-12-12 18:36:35
阅读次数:
2732
经过排查,发现项目里面的日志组件是logback, slf4j的一个实现方式。有效日志如下所示。 log4j:WARN?No?appenders?could?be?found?for?logger?(org.springframework.web.context.ContextLoader).
log4j:...
分类:
系统相关 时间:
2014-12-12 17:11:46
阅读次数:
259
一、JQuery
如果是用JQuery的话,可以用inArray()函数:
jquery inarray()函数详解
jquery.inarray(value,array)
确定第一个参数在数组中的位置(如果没有找到则返回 -1 )。
determine the index of the first parameter in the array (-1 if not found)....
分类:
编程语言 时间:
2014-12-12 16:45:41
阅读次数:
155
你在用Netbeans(实际上是Ant)Clean and Build你的项目生成可执行文件(例如Windows下的exe文件)时候遇到报错或者遇到这样的报错:The libs.CopyLibs.classpath property is not set up参考资料:http://www.adam...
分类:
编程语言 时间:
2014-12-12 14:41:03
阅读次数:
171
今天在一台PC上安装了CentOS 7,当时选择了最小安装模式,安装完成后马上用ifconfig查看本机的ip地址(局域网已经有DHCP),发现报错,提示ifconfig命令没找到。
[root@centos1 ~]# ifconfig
-bash: ifconfig: command not found
首先,习惯性的输入echo $PATH(查看当前PATH环境变量,跟DOS...
分类:
其他好文 时间:
2014-12-12 11:42:09
阅读次数:
279
运行Android程序出错了,不知道什么原因!!!!
分类:
其他好文 时间:
2014-12-11 19:17:37
阅读次数:
428
1、源码:改正:否则报:The tag handler class for "c:set"(org.apache.taglibs.standard.tag.rt.core.UrlTag)was not found on the Java Build Path的错误
分类:
Web程序 时间:
2014-12-11 19:09:14
阅读次数:
390
在opensips-CP访问时出现下列错误解决方法:[root@opensips~]#vim/etc/php.inishort_open_tag=On重新启动httpd[root@opensips~]#servicehttpdrestart停止httpd:[确定]正在启动httpd:[确定]再次访问问题解决
分类:
其他好文 时间:
2014-12-11 16:02:55
阅读次数:
277
styles.xml中提示如下错误,这是版本问题。
error: Error retrieving parent for item: No resource found that matches the given name
'Theme.AppCompat.Light'.
解决方法:
在Eclipse中打开任意一个.java文件,输入 android.R.style. 这时你会看到一个提示列表...
分类:
移动开发 时间:
2014-12-11 10:27:46
阅读次数:
175