views:

26

answers:

0

I work for an operator, and we preload applications on Android phones.

However, some preloaded applications, once upgraded from Market, crash.

The problem is this:
- the application contains a .so library file
- in order to preload the complete application on a phone, the .so library file has to be placed separately into the lib directory (/system/lib/libXXXXjni.so)
- when the preloaded application is upgraded from Market and run, instead of the .so library file in the new APK being found, the older preloaded .so file is found first - causing a crash, because the two .so fiels have differing contents

Does anyone have a suggested work-around, or knowledge of the library-searching algorthim which may help me solve this?

One possible solution might be to simply rename the library file, but is that enough?

Thanks in advance...