Skip to content

Add warning and description for P4A in a venv... #334

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

Merged
merged 1 commit into from
Mar 13, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,13 @@ must:
lib-dynload/_sqlite3.so

Then sqlite3 will be compiled and included in your APK.

Too many levels of symbolic links
-----------------------------------------------------

Python for Android does not work within a virtual enviroment. The Python for
Android directory must be outside of the virtual enviroment prior to running

./distribute.sh -m "kivy"

or else you may encounter OSError: [Errno 40] Too many levels of symbolic links.
3 changes: 3 additions & 0 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ If you want to compile the toolchain with only the kivy module::

./distribute.sh -m "kivy"

.. warning::
Do not run the above command from `within a virtual enviroment <../faq/#too-many-levels-of-symbolic-links>`_.

After a long time, you'll get a "dist/default" directory containing
all the compiled libraries and a build.py script to package your
application using thoses libraries.
Expand Down