jitsi-android 项目 编译

来源:互联网 发布:淘宝黑色半高领薄毛衣 编辑:程序博客网 时间:2024/05/19 14:19


http://jitsi.org/是Jitsi的官网


最好sdk为最新 jdk 为1.6往上

jitsi-android 项目 源码下载地址:

https://github.com/jitsi/jitsi-android

apache-ant-1.9.3-bin 工具下载地址:

http://ant.apache.org/bindownload.cgi


ant 需要配置环境变量(ant 编译需要java 环境配置)

ANT_HOME:C:\apache-ant-1.7.1  (apache-ant-1.9.3-bin 解压目录)

系统 PATH添加 ;%ANT_HOME%\bin 

运行cmd 输入 ant

Buildfile: build.xml does not exist!
Build failed

配置成功



1. 解压项目


2. eclipse 导入项目


3.在jitis-android项目目录下添加local.properties文件:(配置 sdk 根目录路径

# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.


# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=D:\\work\\tool\\adt-bundle-windows\\adt-bundle-windows-x86-20130514\\sdk (sdk 根目录路径)




# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.
#proguard.config=proguard.cfg
# Project target.
target=android-19


4. .打开cmd,订位到jitis-android目录,输入ant setup-libs


5. 编译通过后刷新 jitis-android项目然后进行运行 

apk在bin下生成


注意一般  


(最好sdk为最新 jdk 为1.6往上)
0 0