导Android项目时碰到个头疼的NoclassDefFoundError。
项目导入之后是没有报错的,但是运行就报这个错误
java.lang.NoClassDefFoundError: android.support.v4.view.ViewConfigurationCompat
而去查看v4的包,ViewConfigurationCompat这个类确实是存在的。
在解决这个报错的过程...
分类:
移动开发 时间:
2014-10-30 20:59:26
阅读次数:
338
一、简介 Google Guava包含了Google的Java项目许多依赖的库,如:集合 [collections] 、缓存 [caching] 、原生类型支持 [primitives support] 、并发库 [concurrency libraries] 、通用注解 [common ann.....
分类:
系统相关 时间:
2014-10-30 16:58:03
阅读次数:
380
jquery, desktop, jquery desktop, jquery mac, jquery mac osx, jquery osx, jquery apple
==support desktop grid, this is the special feature
==support screen thumbnail, this is the special feature
==support osx-window
==support osx-dock
==support osx-menu
==s...
分类:
Web程序 时间:
2014-10-30 11:47:38
阅读次数:
243
1>GridLayout,4.0版本以上新增的网格布局,以下版本需要引用支撑包package com.brady.est;import android.annotation.SuppressLint;import android.os.Bundle;import android.support.v7...
分类:
其他好文 时间:
2014-10-30 10:50:15
阅读次数:
665
【错误级别】2 E_WARNING:非致命的run-time错误。不暂停脚本执行。8 E_NOTICE:Run-time通知。脚本发现可能有错误发生,但也可能在脚本正常运行时发生。256 E_USER_ERROR:致命的用户生成的错误。trigger_error()设置的E_ERROR。512...
分类:
其他好文 时间:
2014-10-29 23:49:46
阅读次数:
228
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time
complexity should be O(log (m+n)).
题意:寻找两个有序数组的中位数,要求复杂度为O(log
(m+...
分类:
其他好文 时间:
2014-10-29 22:23:33
阅读次数:
226
由于php程序使用了Zend Optimizer,只能使用php5.2, yum 上的php 是5.3的版本,只能重新安装php;安装步骤如下:先卸载 php5.3的相关东西:yum remove php php-mysql下载php 安装包php-5.2.15.tar.gzZendOptimize...
分类:
Web程序 时间:
2014-10-29 21:25:46
阅读次数:
354
在OpenWRT SDK 编译 hello demo的时候出现错误:Package hello is missing dependencies for the following libraries: libc.so.6发现以前可以编译通过,现在编不过了,奇怪。后来在网上找原因,有的说改libc.p...
dynamic_cast: 通常在基类和派生类之间转换时使用,run-time castconst_cast: 主要针对const和volatile的转换.static_cast: 一般的转换,no run-time check.通常,如果你不知道该用哪个,就用这个。reinterpret_cast...
分类:
编程语言 时间:
2014-10-29 18:42:53
阅读次数:
200