zpc930 / dolphin-player

Automatically exported from code.google.com/p/dolphin-player
0 stars 0 forks source link

app crashs in armv6 processor device #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I set APP_ABI := armeabi in Application.mk, and compiled all so files.  When I 
try to play a video, I get the error below:

01-09 21:33:00.468: I/dalvikvm(2209): Unable to 
dlopen(/data/data/com.broov.player/lib/libapplication.so): Cannot load library: 
reloc_library[1244]:    92 cannot locate 'iconv_open'...

My device is htc hero, with ARMv6-compatible processor.  Android os is 2.1.

How can I run this project on this device??

Original issue reported on code.google.com by eidolonS...@gmail.com on 9 Jan 2013 at 2:33

GoogleCodeExporter commented 9 years ago
BTW, the app works fine on ARMv7 processor device.

Original comment by eidolonS...@gmail.com on 9 Jan 2013 at 2:36

GoogleCodeExporter commented 9 years ago
Please confirm, if the following library is loaded before 
System.loadLibrary("libapplication.so")

Looks like System.loadLibrary("libiconv.so") is not present or is loading a 
pre-existing library from the default system path.

Try to load "iconv" library from our path in java. 

Another option is to compile the iconv library using a different name(for eg:- 
"broov_iconv") and loading it before "libapplication.so".

Let me know, if this solves your problem

Original comment by aatrala on 9 Jan 2013 at 2:38

GoogleCodeExporter commented 9 years ago
I followed your second suggestion "Another option is to compile the iconv 
library using a different name(for eg:- "broov_iconv") and loading it before 
"libapplication.so"." 

Finally the problem is solved.

Thanks very much!!!!!

Original comment by eidolonS...@gmail.com on 10 Jan 2013 at 12:40