Skip to content

Commit

Permalink
README: Add a note for p4a commnad not found
Browse files Browse the repository at this point in the history
The python-for-android providing "p4a" command is installed from the
requirements.txt in this repository. The installation is bounded in the
user enviroment by default, not global.

However, not every distribution's environment variable "PATH" includes
the user's HOME path "~/.local/bin". That leads the "p4a" command in
"~/.local/bin" becoming missed. So, add this note directing to the
solution: "p4a: command not found" [1].

[1]: kivy/python-for-android#1167
  • Loading branch information
starnight authored and dylanmccall committed Apr 24, 2023
1 parent 1ef0dbd commit 0fcc092
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ To download a Kolibri WHL file, you can use `make whl=<URL>` from the command li

6. Run `make kolibri.apk.unsigned` to build the apk. Watch for success at the end, or errors, which might indicate missing build dependencies or build errors. If successful, there should be an APK in the `dist/` directory.

PS. If `p4a` command is not found, please check the ticket: ["p4a: command not found"](https://github.com/kivy/python-for-android/issues/1167). If you installed it with `--user`, make sure that `~/.local/bin` is in your `$PATH`.

## Build on Toolbox

Toolbox allows a mixture of the above build processes by providing a
Expand Down

0 comments on commit 0fcc092

Please sign in to comment.