Skip to content

Commit 5a9d605

Browse files
committed
Merge pull request kivy#334 from FeralBytes/symlink_error_venv
Add warning and description for P4A in a venv...
2 parents 977966b + 48eb508 commit 5a9d605

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

docs/source/faq.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,13 @@ must:
2929
lib-dynload/_sqlite3.so
3030

3131
Then sqlite3 will be compiled and included in your APK.
32+
33+
Too many levels of symbolic links
34+
-----------------------------------------------------
35+
36+
Python for Android does not work within a virtual enviroment. The Python for
37+
Android directory must be outside of the virtual enviroment prior to running
38+
39+
./distribute.sh -m "kivy"
40+
41+
or else you may encounter OSError: [Errno 40] Too many levels of symbolic links.

docs/source/usage.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ If you want to compile the toolchain with only the kivy module::
88

99
./distribute.sh -m "kivy"
1010

11+
.. warning::
12+
Do not run the above command from `within a virtual enviroment <../faq/#too-many-levels-of-symbolic-links>`_.
13+
1114
After a long time, you'll get a "dist/default" directory containing
1215
all the compiled libraries and a build.py script to package your
1316
application using thoses libraries.

0 commit comments

Comments
 (0)