-
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
Termux build fails #2585
Comments
@rayzchen How did you get to install Android SDK and NDK |
This downloads the makefile in |
ok, I will try that, this is really cool
…On Sat, 23 Apr 2022 at 10:54, Ray Chen ***@***.***> wrote:
apt-get install wget curl unzip make openjdk-8-jdk -y
wget https://raw.githubusercontent.com/kivy/python-for-android/develop/ci/makefiles/android.mk
make -f android.mk
This downloads the makefile in ci/makefiles/android.mk and runs it, which
downloads both the NDK and SDK and sets them up in /root/.android/
—
Reply to this email directly, view it on GitHub
<#2585 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKB42IVFL5PLVSIE55FWRSLVGPCG7ANCNFSM5T4SZZTA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@rayzchen just read the content of the file and I discovered that the NDK and SDK version it installed is for x86_64 bit archs and not aarch64. Which simply means |
Ran same steps on a GitHub codespace yet it still tries to find toolchain for "aarch64-linux-android"
|
Why does p4a say I have to specify an arch when the quick start doesn't? |
This statement doesn't mean that you can't build for @rayzchen I've seen you're using the stable version of Please let me know if using |
It seems to be fixed! Thanks for the help. |
Checklist
p4a.branch = develop
)Versions
Description
I am trying to use Termux to build a PySDL2 app, but python-for-android doesn't seem to find a certain toolchain.
buildozer.spec
not used
Spec file:
not used
Commands
Fresh copy of termux
Use Andronix to install Ubuntu 20.04
Command:
curl https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/repo-fix.sh > repo.sh && chmod +x repo.sh && bash repo.sh && pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu20/ubuntu20.sh -O ubuntu20.sh && chmod +x ubuntu20.sh && bash ubuntu20.sh
Run these commands inside proot:
Some i386 installs don't work
In current directory I have
main.py
:Logs
The text was updated successfully, but these errors were encountered: