-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Python for Android not compiling sqlite3 module #91
Comments
Did you followed the doc completly? https://python-for-android.readthedocs.org/en/latest/faq/index.html#sqlite3-so-not-found (i know that can be improved...) |
Well... no I hadn't found that. Thanks for pointing it out. Redid the steps following the documentation. It now seems to find sqlite3! But I now get the error I/python ( 7874): unable to open database file On 1/28/13, Mathieu Virbel [email protected] wrote:
Regards,
|
You can close this issue. Thanks for the response. The problem is no longer with the sqlite3 module. Wrote a seperate app that Thank you! Regards,
|
Compiled python for android by doing
/python-for-android$ git clean -dxf
/python-for-android$ ./distribute.sh -m "sqlite3 kivy"
Then installed the app using
/python-for-android/dist/default$ ./build.py --dir ~/Desktop/demo/Nutrition --package org.demo.Nutrition --name "Nutrition" --version 1.1.0 debug installd
When running the app, I watched logcat using
adb logcat python:I *:S
And keep seeing the message
I/python ( 5662): ImportError: No module named sqlite3
I/python ( 5662): Python for android ended
Which I believe indicates the sqlite3 package is not getting compiled?
The text was updated successfully, but these errors were encountered: