OSDN Git Service

Fix java.lang.UnsatisfiedLinkError error.
authorJack Palevich <jack.palevich@gmail.com>
Mon, 25 Apr 2011 17:27:33 +0000 (10:27 -0700)
committerJack Palevich <jack.palevich@gmail.com>
Mon, 25 Apr 2011 17:27:33 +0000 (10:27 -0700)
commit28d47b834e7467edb00e41fd05708d09c0979af9
treea1989f4582a72635cea9354f383f304242ce2ac9
parentf37de5004bf2c9a6ccf67d5674a7012d56ba73ce
Fix java.lang.UnsatisfiedLinkError error.

Change shared library name from libandroidterm to libandroidterm2

My theory is that this bug is happening on systems that have
system versions of the libandroidterm shared library.

Version 1.0.26 of Android Terminal Emulator added a new API,
hangupProcessGroup, to the libandroidterm library.

I think on devices that have libandroidterm in their system library,
that version takes precedence over the version in the application,
and so the hangupProcessGroup API is not found.

By changing the name of the libandroidterm library to libandroidterm2
we should avoid loading the system version of the
libandroidterm library.
jni/Android.mk
src/jackpal/androidterm/Exec.java