android编译错误解决

 /*************************************************************

错误:

aaa:~/source$ lunch full-end          
/bin/bash: bison: command not found
/bin/bash: java: command not found

** Invalid variant: 'end'
** Must be one of user userdebug eng

 

解决方法:

安装JDK,命令:apt-get install sun-java6-jdk,解决/bin/bash: java: command not found

安装bison,命令:apt-get install bison,解决:/bin/bash: bison: command not found

/***************************************************************

 

/***************************************************************

错误:

/bin/bash: flex: command not found

 

解决方法:

安装flex,命令:apt-get install flex

在安装时可能要在/etc/apt/source.list中添加新的源

/***************************************************************

 

/***************************************************************

错误:

/bin/bash: g++: command not found

 

解决方法:

安装build-essential,命令:apt-get install build-essential

/***************************************************************

 

/***************************************************************

错误:

 external/clearsilver/cgi/cgi.c:22: fatal error: zlib.h: No such file or directory

 

解决方法:

安装zlib1g-dev,命令:apt-get install zlib1g-dev

/***************************************************************

 

http://ubuntuforums.org/showthread.php?t=858882

http://packages.ubuntu.com/search?keywords=zlib1&searchon=names&suite=all&section=all

 

你可能感兴趣的:(java,jdk,android,Flex,command,File)