天天看點

Linphone-android 3.9.1 編譯

     新版本的Linphone-android編譯,說來很長時間沒碰了,這次發現編譯的難點是在github上下載下傳完整的Linphone-android代碼,編譯倒是其次,參考源碼裡面的README就可以了,總體感覺很順利。不說廢話.貼圖,編譯好的代碼導入到android studio工程:

Linphone-android 3.9.1 編譯

     結構不評論,再在模拟器裡面運作,看圖:

Linphone-android 3.9.1 編譯

     關于畫面,核心版本3.9.1,貌似還有個顯示bug(”Linphone Android null“),哈哈:

Linphone-android 3.9.1 編譯

     真機我沒截圖,但測試過,用的是x86架構的機子,加載的so自然是基于jniLibs/x86,最終也能正常運作。

     需要說明的一點就是在README裡面的提示:

On 64 bits linux systems you'll need the ia32-libs package
	With the latest Debian (multiarch), you need this:
		dpkg --add-architecture i386
		aptitude update
		aptitude install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
           

     如果用的是64位Linux,比如說我用的就是ubuntu64位的,需要安裝32位運作庫。

  ok,就這樣,有問題再交流,

Linphone-android 3.9.1 編譯

繼續閱讀