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

Couldn't load sqlite4java-android-armv6l #46

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 3 comments
Closed

Couldn't load sqlite4java-android-armv6l #46

GoogleCodeExporter opened this issue Mar 25, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

I have an android 2.1 app and a separate JRE 1.6 jar library with core methods 
of the app, compatible with other java apps. The core uses sqlite4java.

When I use the core jar with a JRE 1.7 java app, sqlite4java works fine, 
loading sqlite4java-win32-x86.dll on W7 environment.

When I try it with an Android app, it complains of "Couldn't load 
sqlite4java-android-armv6l". If I look at the libraries that sqlite4java comes 
with, there is libsqlite4java-android-armv7.so but not any one reffering to 
armv6l.

Am I doing something wrong?

Original issue reported on code.google.com by miqm...@gmail.com on 31 May 2012 at 6:13

@GoogleCodeExporter
Copy link
Author

You don't do anything wrong, it looks like your Android device is armv6l 
platform, while sqlite4java has a binary for armv7 platform. 

Perhaps there's a chance armv7 or armv5te would load on your device - try 
renaming libsqlite4java-android-armv7.so to libsqlite4java-android.so (armv5 
binary is available as a separate download from the project home page)

Hope this helps! If not, the binary should be built for your platform 
specifically.

Igor

Original comment by ser...@gmail.com on 5 Jun 2012 at 5:19

  • Added labels: Type-Other
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Thanks for the answer. At the moment I changed to sqldroid. Like that I hope to 
be platform independent.

Btw, if it is for someone interesting, I have been testing with java 7 and 
sql4java has been working fine.

Miguel

Original comment by miqm...@gmail.com on 5 Jun 2012 at 6:11

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Miguel, thanks for the update!

Original comment by ser...@gmail.com on 5 Jun 2012 at 6:24

  • Changed state: Done
  • Added labels: ****
  • Removed labels: ****

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