linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Unsatisfiedlinkerror when use native m ethod setUse


From: baimin1
Subject: Re: [Linphone-users] Unsatisfiedlinkerror when use native m ethod setUser in org_linphone_core_LinphoneAuthI nfoImpl
Date: Thu, 02 May 2013 22:04:34 +0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

On 2013年05月02日 21:41, Chilarai Mushahary wrote:
No. did you update the environment variable for the ndk.

If you are using linux, then open a shell and type

PATH="$PATH:/path/to/ndk/ndk-build"
export PATH


On Thu, May 2, 2013 at 6:53 PM, baimin1 <address@hidden> wrote:
On 2013年05月02日 21:16, Chilarai Mushahary wrote:
Did you update the environment for JAVA?



On Thu, May 2, 2013 at 6:45 PM, baimin1 <address@hidden> wrote:
I still have the problem by using android-ndk-r8d



--
Regards

Chilarai
Office: 011-43524163
I use jdk as following

/linphone$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Server VM (build 23.21-b01, mixed mode)




--
Regards

Chilarai
Mobile: +91-8130431891
Office: 011-43524163
Yes, I am sure.
After I confirm the path to android-ndk-r8d-linux-x86,
I delete all files in obj folder of linphone, and run prepare_sources.sh, and then ndk-build,

Then I refresh project in eclipse and run the created app, the same error as following, when I tring to login from linphone app.

05-02 21:02:45.864: E/lhc(16197): Error while initializing from config in first login activity
05-02 21:02:45.864: E/lhc(16197): java.lang.UnsatisfiedLinkError: setUsername
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.core.LinphoneAuthInfoImpl.setUsername(Native Method)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.core.LinphoneAuthInfoImpl.setUsername(LinphoneAuthInfoImpl.java:65)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.core.LinphoneAuthInfoImpl.<init>(LinphoneAuthInfoImpl.java:41)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.core.LinphoneAuthInfoImpl.<init>(LinphoneAuthInfoImpl.java:37)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.core.LinphoneCoreFactoryImpl.createAuthInfo(LinphoneCoreFactoryImpl.java:95)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.LinphoneManager.initAccount(LinphoneManager.java:691)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.LinphoneManager.initAccounts(LinphoneManager.java:668)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.LinphoneManager.initFromConf(LinphoneManager.java:874)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.setup.SetupActivity.logIn(SetupActivity.java:165)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.setup.SetupActivity.linphoneLogIn(SetupActivity.java:177)
05-02 21:02:45.864: E/lhc(16197):     at org.linphone.setup.LinphoneLoginFragment.onClick(LinphoneLoginFragment.java:61)
05-02 21:02:45.864: E/lhc(16197):     at android.view.View.performClick(View.java:2533)
05-02 21:02:45.864: E/lhc(16197):     at android.view.View$PerformClick.run(View.java:9320)

reply via email to

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