remote-desktop-clients的项目RDP客户端编译(二)客户端编译

一、安装eclipse,并配置相应的SDK等(略)

安装sqlitegen v0.1.19 插件到Eclipse,地址:
   https://github.com/iiordanov/sqlitegen-secure/releases/download/v0.1.19/sqlitegen_eclipse_site_0.1.19.jar

注意:必须要0.1.19或更新的版本;


二、下载remote-desktop-clients最新版

https://github.com/iiordanov/remote-desktop-clients

解压并将bVNC,PubkeyGenerator,ZoomerWithKeys,Opaque(可能不需要)和步骤一中编译过的的FreeRDP-stable-1.1放在同一个目录中;


三、通过右键Import->Android->Existing Android Code Into WorkSpace分别导入bVNC,PubkeyGenerator,ZoomerWithKeys和FreeRDP-stable-1.1


四、按照项目说明设置编译的依赖关系,说明如下,就不翻译了:

1. Add the ZoomerWithKeys, PubkeyGenerator, and FreeRDPCore projects
   as Library References to bVNC (right-click on the bVNC project
   and select Properties -> Android -> Library). If they are not,
   add them.


2. Ensure that ZoomerWithKeys, PubkeyGenerator, and FreeRDPCore 
   are specified as "Required projects on the build path" (right-
   click on the bVNC project, and select Properties -> Java Build
   Path -> Projects). If they are not, add them.


3. Ensure that ZoomerWithKeys, PubkeyGenerator, and FreeRDPCore
   are referenced in Properties -> Project References (put
   checkmarks on projects).

至此,应该能够顺利的编译出bVNC Pro的android客户端;

五、修改为aRDP Pro的android客户端

1、修改bVNC下的AndroidManifest.xml中的android:label="bVNC" and android:name="bVNC"为android:label="aRDP" and android:name="aRDP"

2、右键bVNC/src/com.iiordanov.bVNC   Refactor->Rename 修改名称为bVNC/src/com.iiordanov.aRDP,并且选择自动将相关内容修改;

3、手动修改APP的相关图片和少量的字串信息;

4、编译即可完成

你可能感兴趣的:(remote-desktop-clients的项目RDP客户端编译(二)客户端编译)