bettybop68 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 1 forks source link

How to compile the RCS code #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, 

I checked out the code using SVN and followed the steps that I wrote below, 
however I encounter a run time error;

1-Import the projects using Existing Android Code Into Workspace (Core, RI, 
Provisioning, Connector) 

2-Set the Core as library (Properties -> Android -> Check isLibrary)

3-Import the core to other projects(RI,Provisioning,Connector) as library 
(Properties -> Android -> Add -> Library )

Although these steps remove the compile errors, when I try to run any of these 
projects, I encounter the run time error; 

[2012-08-08 11:32:38 - com.orangelabs.rcs.ri.RcsRI] Dx 1 error; aborting
[2012-08-08 11:32:38 - com.orangelabs.rcs.ri.RcsRI] Conversion to Dalvik format 
failed with error 1

What should I do to handle this ? 

Thanks for your reply

Original issue reported on code.google.com by altuggun...@gmail.com on 8 Aug 2012 at 8:33

GoogleCodeExporter commented 8 years ago
You need to remove the "rcs_api.jar" from the library of 
com.orangelabs.rcs.settings.SettingsDisplay project :)

Original comment by serkan.u...@gmail.com on 8 Aug 2012 at 1:05

GoogleCodeExporter commented 8 years ago
You should generate the rcs_api.jar (which contains RCS API classes for third 
party apps on top of the stack) via the script genapi.bat or genapi.sh.

Original comment by jmauffret@gmail.com on 9 Aug 2012 at 7:30

GoogleCodeExporter commented 8 years ago
We have cahnge the file build-local.xml in order to build outside of the /libs 
directory

Original comment by jmauffret@gmail.com on 10 Aug 2012 at 12:11