當前位置:編程學習大全網 - 網站源碼 - 如何將Cling構建在Eclipse上

如何將Cling構建在Eclipse上

 Cling介紹:

Cling - Java/Android UPnP library and tools

Cling is an open source UPnP-compatible stack for Java SE, EE, and Android environments. The project's goals are strict specification compliance, complete, clean and extensive APIs, as well as rich SPIs for easy customization.

下載Cling源碼包:

現在最新版本是:cling-distribution-1.0.1.zip

構建Cling到Eclipse

1、新建java項目

//報錯是因為我已經創建過了

2、導入cling源碼

項目->導入->文件系統

//要勾選“Create top-level folder”選項,具體的源碼位置自己指定!!以example為導入根目錄

3、導入example源碼

//要勾選“Create top-level folder”選項,具體的源碼位置自己指定!!以org為導入根目錄

4、導入example所依賴的源碼

//要勾選“Create top-level folder”選項,具體的源碼位置自己指定!!以org為導入根目錄

5、加入第三方庫:

a、android.jar

這個是android的庫,可安裝android SDK下載

b、testng-6.0.1。jar

c、teleal-common-1.0.12.jar

這個庫是cling安裝包自己帶的,可是沒有提供源碼,只能當庫引入了.

  • 上一篇:春風物語 小說 漫畫下載
  • 下一篇:菠蘿保鮮小程序正規可信嗎?
  • copyright 2024編程學習大全網