现在手头上的项目用到batik编程,用的maven管理jar包,要在pom.xml中dependencies标签下添加一下配置(batik编程使用的顶层jar包) org.apache.xmlgraphics batik-codec 1.7 这个问题一直在找,,现在知道了这个是顶层的所...
分类:
其他好文 时间:
2014-12-24 16:05:11
阅读次数:
125
今天遇到一种情况,在手机上发广播包,在4.4.2上的手机会发生,4.1.2和4.0.2都没有遇见,问题是这样的
try{
DatagramSocket udpSocket = new DatagramSocket(DEFAULT_PORT );
} catch (Exception e)
{
e.printStackTrace();
}
//java.net.Bi...
分类:
移动开发 时间:
2014-12-24 14:41:54
阅读次数:
1021
方法如下: 找到eclipse目录下的eclipse.ini,可以看到如下内容:-startupplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar--launcher.libraryplugins/org.eclipse.equinox....
分类:
编程语言 时间:
2014-12-24 13:23:15
阅读次数:
191
导入了一个idea project ,编译运行时候,提示Error:java: Compilation failed: internal java compiler error。查看了model的jdk版本,无异常,其实只需设置Setting->Compiler->Java Compiler,发现有的module是1...
分类:
编程语言 时间:
2014-12-24 12:06:31
阅读次数:
979
今天尝试在window8上安装Eclipse,用来搞Andriod开发就去Android Developers下载adt-bundle-windows-x86。 结果刚刚解压完 运行Eclipse 就发现了这个 翻译成中文就是“未能创建java虚拟机”当时还以为是我的环境变...
分类:
编程语言 时间:
2014-12-24 10:10:25
阅读次数:
129
今天第一次用android studio,下了个比较新的1.0.1 linux版本,结果启动时老是出现以下错误:[ 6987] WARN - ateSettings.impl.UpdateChecker - Connection failed. Please check your netwo...
分类:
移动开发 时间:
2014-12-24 00:00:28
阅读次数:
230
关掉Ecilpse,打开cmd命令行 1)cd到sdk的platform-tools目录下, 2)执行 adb kill-server ,出现 server not runing 提示 3)执行 adb start-server ,如果顺利start了,重启Eclipse即可。 如果出现 ADB s...
分类:
数据库 时间:
2014-12-23 23:55:37
阅读次数:
287
实现了:apk签名,多渠道打包,jar包依赖,换资源。
buildscript {
repositories {
maven { url 'http://repo1.maven.org/maven2' }
}
dependencies {
classpath 'com.android.tools.build:gradle:0.4'
...
分类:
其他好文 时间:
2014-12-23 21:19:53
阅读次数:
173
1. ?Linux的五个查找命令:find,locate,whereis,which,type?这个你或许会用到,当你的系统里面有多个版本的git的时候,这个可以帮你查看你当前使用的是那个git,这个git在什么位置。 2. git官网这个你也会用得着...
分类:
其他好文 时间:
2014-12-23 12:39:14
阅读次数:
481
安装rpm文件时提示rpmReadSignature failed 错误2011-09-23 11:04现象: [root@localhost share]# rpm -ivh syslog-ng-3.1.0-1.rhel5.i386.rpm error: syslog-ng-3.1.0-1.r.....
分类:
系统相关 时间:
2014-12-22 21:07:24
阅读次数:
342