joelf68 / imsdroid

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

Re-opening issue #30 - java.lang.NoSuchMethodError #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Unfortunately, the issue #30 
(http://code.google.com/p/imsdroid/issues/detail?id=30&can=1#makechanges) is 
not yet resolved. Yes, after performing the actions described in the document, 
we get a libtinyWRAP.so library in the bindings/java/android folder. But - due 
to a mistake in droid-makefile if someone tried to use this library in IMSDroid 
the application would crash. This was due to the dynamic linking of other 
libraries in the result library. I've attached the patch fixing that issue, but 
there is another one - java.lang.NoSuchMethodError: 
SwigDirector_MsrpCallback_OnEvent error on application startup. It seems like 
some more steps need to be done in order to build the new version. Please, 
check the whole process next time before setting the status to "Fixed" or wait 
for the confirmation from others. Thank you for your help though - it does make 
things much less complicated!

Original issue reported on code.google.com by volkov.r...@gmail.com on 13 Aug 2010 at 2:53

Attachments:

GoogleCodeExporter commented 9 years ago
The issue 30 is marked as fixed and not removed. If you think it's not fixed 
you can add a comment and I will reopen it. I will not ask for confirmation 
because I know that no body will confirm. Have you confirmed issue 31? If you 
get is error it's because you have missed something. "The buildAll.sh" will 
never generate dynamic libraries (.so) except for libtinyWRAP.so. On Android 
1.x you cannot load a shared library which depends on another one 
(http://code.google.com/p/android/issues/detail?id=2580).
Looking the patch I can guess what is your problem: You are mixing dynamic and 
static libraries in the "output" folder. This is why you need to add "bdynamic" 
and "bstatic". These flags are missing for good reasons.

Original comment by boss...@yahoo.fr on 13 Aug 2010 at 4:01