最近的文章列表

Android.mk构造学习 - Android

Android.mk编译文件是用来向Android NDK描述你的C,C++源代码文件的, 这篇文档描述了它的语法。

在阅读下面的内容之前,假定你已经阅读了docs/OVERVIEW.TXT文件,了解了它们的角色和用途。

概述:
一个Android.mk file用来向编译系统描述你的源代码。
具体来说:该文件是GNU Makefile的一小部分,会被编译系统解析一次或多次,解析一次或更多次的build系统。
因此,您应尽量减少您声明的变量,不要认为某些变量在解析过程中不会被定义

2014/1/7 Comments:
android错误 aapt.exe已停止工作 Error in an XML file: aborting build

android异常——aapt.exe已停止工作
在android开发时,当build项目时,发生如下异常:
aapt.exe已停止工作,其他无任何错误提示,发生这个错误一般是资源文件或是xml文件中有错误造成的。

解决方法:
clean一下,可以发现console中会有错误提示,然后根据错误提示解决。


我的的情况:
[2013-04-20 14:35:50 - BigBoy] Error in an XML file: aborting build.
很明显是xml中有错误,但并未提示是哪一个xml文件错误,这就

2014/1/7 Comments:
Restarting nginx daemon:nginx not running[emerg]: zero size shared memory zone "one"

nginx出问题鸟!急
修改了nginx配置文件nginx.conf
然后重启nginx
[root@localhost ~]# /etc/init.d/nginx restart

Restarting nginx daemon: nginxcat: /usr/local/nginx/logs/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
nginx not running[emerg]: zero size s

2014/1/7 Comments:
could not read symbols: File in wrong format解决方案 - Linux/Unix

could not read symbols: File in wrong format
我在使用arm-linux-gcc编译程序的时候出现以下错误提示:
arm-linux-gcc -Wall -I../../../include -I../../../../include -I../../../../include/linux -c ../../readwrite.c
arm-linux-gcc -o readwrite -L../../../../lib/linux/ixp4x5 \
  readwrite.o -lrfid -lrfidtx -lcpl -lpthread -lrt -lstdc++
../..

2014/1/7 Comments:
如何处理The requested resource (/JSPExample/registerServlet) is not available - J2EE

The requested resource (/JSPExample/registerServlet) is not available
HTTP Status 404 - /JSPExample/registerServlet

--------------------------------------------

type Status report

message /JSPExample/registerServlet

description The requested resource (/JSPExample/registerServlet) is not available.<br

2014/1/7 Comments:
eclipse 同步 svn 时提醒'is not under version control' - J2EE

eclipse 同步 svn 时提示'is not under version control'
eclipse 同步svn 时提示abc.xml is not under version control ,但是本地已经没有这个文件了,怎样解决呢。

------解决方案--------------------
是 svn 版本不一致 锁造成的 ,还原一下 就OK了
------解决方案--------------------
同步一下,然后把那个目录覆盖掉

2014/1/7 Comments:
java.net.ConnectException: Connection refused: connect - J2EE

ssh整合出问题了
我整合ssh作登陆验证 一启动tomcat就报告错误了 mysql的驱动我有放lib下面 应该没问题啊

<bean id="dataSource"
class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName"
value="com.mysql.jdbc.Driver">
</property>
<property name="url&

2014/1/7 Comments:
Tomcat中报错:This is very likely to create a memory leak解决方法 - J2EE

Tomcat中报:This is very likely to create a memory leak
2010-12-20 15:13:25 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/tiger] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@b98117]) and a value of type [java.lang.Object[]] (value [[Ljava.lan

2014/1/7 Comments:
SVN:This client is too old to work with working copy '.'; please get a newer Subversion client

项目中使用的是1.4.7,作为eclipse的插件装的;后来又在机子上装了个TortoiseSVN 1.6.5。遇到的问题: 

引用

This client is too old to work with working copy 'D:\Camnpr\MyEclipseWorkspace\projectName\WebRoot\WEB-INF\lib'; please get a newer Subversion client. 
2014/1/6 Comments:
如何美化QQ空间相册的照片?

   自相册推出后,很多功能都在不断的优化。现又增加了很多新功能。如:个性相册、对照片进行排序等。另外您也可以轻轻松松在空间相册中编辑您的照片,让您的照片独具特色,更加与众不同!

  第一步:在相册中点击照片编辑器;

  第二步:选择照片进行编辑;

  第三步:对照片进行美化;

  第四步:保存照片。

  第一步:在相册中点击照片编辑器

  进入QQ空间点击相册,在更多中选择照片编辑器;

2014/1/6 Comments: