Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app crashs in armv6 processor device #25

Open
GoogleCodeExporter opened this issue Mar 29, 2016 · 3 comments
Open

app crashs in armv6 processor device #25

GoogleCodeExporter opened this issue Mar 29, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 9 Jan 2013 at 2:33

@GoogleCodeExporter
Copy link
Author

BTW, the app works fine on ARMv7 processor device.

Original comment by [email protected] on 9 Jan 2013 at 2:36

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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 [email protected] on 10 Jan 2013 at 12:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant