hongbinz / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

how can i run the "testSIP" demo #218

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add the imsdroid-read-only/testSIP to the android project
2. copy imsdroid-read-only/imsdroid/libs/armeabi/libtinyWRAP.so to 
imsdroid-read-only/testSIP/libs/armeabi/libtinyWRAP.so
3. run demo on virtural machine 

What is the expected output? What do you see instead?
It dos'nt work . Logs says that 
04-21 12:22:28.523: ERROR/AndroidRuntime(1559): FATAL EXCEPTION: main
04-21 12:22:28.523: ERROR/AndroidRuntime(1559): 
java.lang.ExceptionInInitializerError
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
org.doubango.tinyWRAP.SipCallback.<init>(SipCallback.java:52)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
org.doubango.testSIP.Main$MySipCallback.<init>(Main.java:102)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
org.doubango.testSIP.Main.<init>(Main.java:34)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
java.lang.Class.newInstanceImpl(Native Method)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
java.lang.Class.newInstance(Class.java:1429)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
android.app.Instrumentation.newActivity(Instrumentation.java:1021)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
android.app.ActivityThread.access$2300(ActivityThread.java:125)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
android.os.Looper.loop(Looper.java:123)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
android.app.ActivityThread.main(ActivityThread.java:4627)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
java.lang.reflect.Method.invokeNative(Native Method)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
java.lang.reflect.Method.invoke(Method.java:521)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
dalvik.system.NativeStart.main(Native Method)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559): Caused by: 
java.lang.NoSuchMethodError: SwigDirector_DDebugCallback_OnDebugInfo
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
org.doubango.tinyWRAP.tinyWRAPJNI.swig_module_init(Native Method)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     at 
org.doubango.tinyWRAP.tinyWRAPJNI.<clinit>(tinyWRAPJNI.java:115)
04-21 12:22:28.523: ERROR/AndroidRuntime(1559):     ... 18 more

What version of the product are you using? On what operating system?
I use the svn revision 564 on ubuntu 10.10

Please provide any additional information below.

Original issue reported on code.google.com by yingxing...@gmail.com on 21 Apr 2011 at 4:32

GoogleCodeExporter commented 9 years ago
testSIP application was used in the beginning of the project for tests (as its 
name says) and is now inconsistent.
why do you want to use this project?
For information, we have a preview version of IMSDroid 2.x which contain a 
stack for developers (andoid-ngn-stack) and many test projects. You can find 
the source code under branches/2.0.

Original comment by boss...@yahoo.fr on 21 Apr 2011 at 7:20