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

[ERROR]: Build failed: Asked to compile for no Archs, so failing. #2685

Closed
ghost opened this issue Oct 11, 2022 · 8 comments
Closed

[ERROR]: Build failed: Asked to compile for no Archs, so failing. #2685

ghost opened this issue Oct 11, 2022 · 8 comments
Labels

Comments

@ghost
Copy link

ghost commented Oct 11, 2022

p4a apk --private $HOME/code/myapp --package=org.example.myapp --name "My application" --version 0.1 --bootstrap=sdl2 --requirements=python3,kivy

[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[ERROR]: Build failed: Asked to compile for no Archs, so failing.

@misl6
Copy link
Member

misl6 commented Oct 11, 2022

Hi @e-lunev !

We may have missed to update something in the docs, but --arch =xxxx (or multiple ones) is mandatory.

@ghost
Copy link
Author

ghost commented Oct 11, 2022

what is meant by xxxx

@misl6
Copy link
Member

misl6 commented Oct 11, 2022

@ghost
Copy link
Author

ghost commented Oct 11, 2022

[ERROR]: Build failed: Android SDK dir was not specified, exiting.

@ghost
Copy link
Author

ghost commented Oct 11, 2022

p4a --sdk-dir=/home/kali/Android/Sdk/

don't work

@RobertFlatt
Copy link
Contributor

Consider using Buildozer https://github.com/kivy/buildozer/blob/master/docs/source/installation.rst it is a wrapper around p4a that handles the Google tools for you.

@nheffelman
Copy link

I added this to my p4a apk command along with all the requirements
--arch=arm64-v8a --arch=armeabi-v7a

Copy link

👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

If you're having trouble installing or using python-for-android, maybe you could be interested in our quickstart guide.

Let us know if this comment was made in error, and we'll be happy to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants