Ashutosh wrote: [...] > INFO/dalvikvm(1185): Unable to dlopen(/system/lib/libNativeCpp.so): > Cannot find library
This error usually shows up for unresolved symbols.
[...]
> System.loadLibrary("NativeC");
> System.loadLibrary("NativeAdd");
It's entirely possible that System.loadLibrary() doesn't allow libraries
to see symbols defined in other libraries, so you won't be able to have
NativeAdd depend on NativeC. However, I suspect your main problem is...
[...]
> #include <iostream>
iostream could well be trying to pull in symbols that the very
stripped-down libc supported by the dalvik executable won't have.
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup
signature.asc
Description: OpenPGP digital signature
