Never tested but you can try to export the LD_LIBRARY_PATH

export LD_LIBRARY_PATH /system/lib:/sdcard/yourlibs_dir/

If it works, give us a feedback.

[]'s

Hamilton Vera

2010/11/10 Samuel Skånberg <[email protected]>:
> I'm developing a system application apk and I'm using mm to develop
> the program since it will put in the <android root>/packages/app
> directory. I don't want to use ndk-build because mm will be used to
> build the whole system, including my apk file.
>
> The problem is that if I use shared libraries, they will be put in
> the /system/lib directory. So if I change the shared libraries I have
> to regenerate the system.img file (which will put my shared libraries
> in /system/lib). That takes a lot of time (not to mention the restart
> of the emulator) so I wonder if there is another way to use libraries
> without having to restart the emulator?
>
> Since I use mm instead of ndk-build the shared libraries I create will
> not be packaged with the apk but instead put in /system/lib
>
> Do you have any suggestions to how I can work with libraries but
> without having to restart the emulator each time I change the library?
>
> Kind regards,
> Samuel
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>



-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to