[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] org.linphone.core is missing in the project

From: Alexey Novak
Subject: Re: [Linphone-developers] org.linphone.core is missing in the project
Date: Thu, 2 May 2013 13:05:34 -0400

So what I did to overcome that problem:
I launched Android SDK Manager. Installed Google Cloud Messaging and then added gsm.jar into build path as well as put a check in Order and Export for that library. Now there are no errors in Eclipse and I can run it.

Although something is still wrong there since when I launch it I see in LogCat:
NoClassDefFoundError: org.linphoneActivity

This class is present in
    + org.linphone

And Eclipse does not show any errors. this error appears in LogCat when I launch the app.

Any suggestions or advices will be more than welcome. thank you.

On Thu, May 2, 2013 at 11:13 AM, Alexey Novak <address@hidden> wrote:
So what I tried to do is the following:
1) open my Eclipse project
2) right click on the src folder and select Import...
3) General->FileSystem
4) navigated to my linphone-android/submodules/linphone/java/impl and imported all the classes

So I was importing classes into src to eliminate dependency errors. Now 12 errors left which are all related to package. Where to get it ?

thanks for helping out

On Thu, May 2, 2013 at 10:19 AM, Alexey Novak <address@hidden> wrote:
Thanks for your quick reply.
Yes I see that the folder where I pulled files from git contains submodules/linphone/java/impl/org/linphone/core/

I imported the project into Eclipse worspace as Existing Android app source.
And the project has the following folders in submodules/linphone

But no java/impl/org/linphone/core

Should I just copy over the folder structure into my workspace project or reference through class path?


On Thu, May 2, 2013 at 9:51 AM, Sylvain Berfini <address@hidden> wrote:
Hi Alexey,

Indeed these classes are located elsewhere, however the git clone with the --recursive option should clone some repositories inside the submodules folder, and one of them (named linphone) contains these classes (submodules/linphone/java).

Please ensure the submodules folder is there, and check the classpath of the linphone-android project list some folders (like submodules/linphone/java/impl/org/linphone/core/).


02/05/2013 15:37, Alexey Novak a écrit :
I downloaded and compiled linphone-android without any problem. But when I import the project into Eclipse I get lost of errors of type:

LinphoneAddress cannot be resolved to a type
LinphoneCall cannot be resolved to a type

I started debugging this problem and found that most of those classes come through the import statements like:
import org.linphone.core.

My first move was to check if such files exist but to my surprise I only have the following directories:


I thought that my build had a problem (although there were no errors at all).
I decided to double check if org.linphone.core is present when I pull project from the github.
To my surprise when I execute git clone git:// --recursive
There is no core folder present (not sure if it should be though)

Any help or suggestions are more than welcome


Linphone-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]