jitis-android 编译,视频聊天

jitis-android代码下载地址:  https://github.com/jitsi/jitsi-android  
这个里边已经有编译说明了,但是按照说明没编译成功。在网上找了找原因: 
具体编译如下: 
1.打开cmd,订位到jitis-android目录,输入ant setup-libs,会出现下面错误信息,编译出现build.xml:46: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var 
解决错误解决办法:ant setup-libs修改成ant -Dsdk.dir=D:android4newsdkadt-bundle-windows-x86-20130729sdk clean setup-libs compile debug,其中D:android4newsdkadt-bundle-windows-x86-20130729sdk为android sdk目录。 
http://comments.gmane.org/gmane.comp.voip.jitsi.devel/6149  
2.在输入ant -Dsdk.dir=D:android4newsdkadt-bundle-windows-x86-20130729sdk 
clean setup-libs compile debug的时候如果出现> C:Workspacejitsi-androidbuild.xml:70: Problem: failed to create task or> type getbuildtools> Cause: The name is undefined.> Action: Check the spelling.> Action: Check that any custom tasks/types have been declared.> Action: Check that any / declarations have taken place.请更新最新的sdk就ok了。 
现在源码可以运行起来了,这是研究的第一步,代码还在研究当中,有想研究openfire和jitis-android的童鞋们欢迎加我qq787376806来骚扰我。openfire的源码也编译成功了,现在正在研究,有想要编译openfire的童鞋也欢迎加我。

你可能感兴趣的:(Android)