I see some relevant notes in the NDK documentation (the heading says
Android 1.5 though, so may be out of date):

"""
- dlerror() reporting is very limited and only provides a few generic
  error messages that make it difficult to know why a dynamic load/link
  operation failed. Most of the time, the culprit is a missing symbol.

- A bug prevents one application shared library from depending on another
  one. For example, if you build both libfoo.so and libbar.so for your
  application, and list libfoo.so as a dependency for libbar.so in
  bar/Android.mk (with LOCAL_SHARED_LIBRARIES := foo), then loading
  libbar.so will always fail, even if you have already loaded libfoo.so
  in your process.
"""


On 11 May 2013 09:53, Ralph Versteegen <[email protected]> wrote:
> I did some work on the Android port today, and got to the point of
> being able to compile everything, create an .apk, and install it. It
> currently crashes almost instantly with only the following error
> message (an earlier version at least managed to initialise everything
> except the native code).
>
> D/dalvikvm( 9355): Trying to load lib
> /data/app-lib/com.hamsterrepublic.ohrrpgce.game-1/libapplication.so
> 0x41f5cdf0
> I/ActivityManager(  495): Process com.hamsterrepublic.ohrrpgce.game
> (pid 9355) has died.
>
> Instructions are here:
> http://rpg.hamsterrepublic.com/ohrrpgce/Compiling_for_Android
>
> I've automated all the drudgery. Now the hard work remains: debugging,
> platform and device differences, Android-specific OHR modifications,
> touch input, and lots of customisations to all the stuff in the SDL
> port. For example I'm not very happy with the way that emulated
> keyboard input works. we will want per-game settings without having to
> recompile.
>
> However I'm taking a break for a while. I have too much else to do.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to