just50415 / android-rcs-ims-stack

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

How to compile the source code(RI,Core) by using eclipse? #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.import project into eclipse.
2.some error: build.xml of RCS_Core
3.some error like The import 
com.orangelabs.rcs.service.api.client.messaging.IMessagingApi cannot be resolved

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
2.2.0    on Android 2.2 using eclipse

Please provide any additional information below.

Original issue reported on code.google.com by Splash.P...@gmail.com on 18 Feb 2011 at 1:27

GoogleCodeExporter commented 8 years ago
You have just to create a new Android project under eclipse. Use "create 
project from existing source". Perhaps don't use the build.xml, I never use it.

Original comment by jmauffret@gmail.com on 18 Feb 2011 at 1:42

GoogleCodeExporter commented 8 years ago
I delete build.xml from RCSCore project.But RI error still exist.some error 
like The import com.orangelabs.rcs.service.api.client.messaging.IMessagingApi 
cannot be resolved

Original comment by Splash.P...@gmail.com on 18 Feb 2011 at 2:32

GoogleCodeExporter commented 8 years ago
gen of RI don't have auto-generate class of those AIDL.
How to do? Modify .project file??

Original comment by Splash.P...@gmail.com on 18 Feb 2011 at 3:55

GoogleCodeExporter commented 8 years ago
I copy gen's some package of RCS_Core into gen of RCS_RI for solving some error 
like "The import com.orangelabs.rcs.service.api.client.messaging.IMessagingApi 
cannot be resolved".

These error is not reported by eclipse.

But [2011-02-19 14:57:21 - OPENSRC_ri] Unknown error: 
java.lang.NullPointerException

Please help~~~

Original comment by Splash.P...@gmail.com on 19 Feb 2011 at 7:07

GoogleCodeExporter commented 8 years ago
You create two Android projects: one for the Core (stack), one for RI 
application. To build RI, you set the Core as an Android library (see folder 
Android of the project Settings, select and Android 2.2 target or upper, click 
on "Is library"). Then in the RI project you add the Core project as a library 
of the RI project. For more info see 
http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject.

Original comment by jmauffret@gmail.com on 21 Feb 2011 at 2:56

GoogleCodeExporter commented 8 years ago

Original comment by jmauffret@gmail.com on 15 Mar 2011 at 3:38