-
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
Error Build APK FIle using Flask #2783
Comments
I have a suggestion if you are using WSL 1, otherwise not. |
I'm using Linux Mint. and is there any way to solve the error . is it from the ndk version |
Sorry I don't know anything about Mint, or building for Flask. But..... The is the WSL issue https://github.com/Android-for-Python/Android-for-Python-Users#c-compiler-cannot-create-executables You might want to look at the issue referenced there, particularly this post kivy/buildozer#1543 (comment) about patching Clang. |
Have a simular issue on debian 12.0 Every time the build stopped with `This file contains any messages produced by compilers while It was created by libffi configure 3.4.2, which was $ /home/pille/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi/configure --host=aarch64-linux-android --prefix=/home/pille/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi --disable-builddir --enable-shared ---------Platform.---------hostname = kreuz8-lap2023 /usr/bin/uname -p = unknown /bin/arch = x86_64 PATH: /home/pille/src/android-ndk-r25c/toolchains/llvm/prebuilt/linux-x86_64/bin/ -----------Core tests.-----------configure:3072: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub ----------------Cache variables.----------------ac_cv_build=x86_64-pc-linux-gnu -----------------Output variables.-----------------ACLOCAL='${SHELL} '''/home/pille/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi/missing''' aclocal-1.16' -----------confdefs.h.-----------/* confdefs.h */ configure: exit 77 |
Did you try the suggestion above?
|
Tried patchelf ... did not work pille@kreuz8-lap2023:~/src/android-ndk-r25c/toolchains/llvm/prebuilt/linux-x86_64/bin$ ldd clang-14 checking whether the C compiler works... no STDERR: |
Think I now know what the error is. For me a changing of export NDKAP="25" to an other value helped. |
It appears from the logs above you use 25c and perhaps 25 as well, the Buildozer default is 25b. |
Had to download 25b with But still don't get to an end: |
Buildozer downloads the NDL version specified in buildozer.spec You might try clearing ccache. Oh, wait I just realized you are not using Buildozer. |
Got it to work again on my new machine. additional change was that I removed the --requirements line in the .p4a configuration file. Using ndk 25b or 25c makes no difference. Both versions work. |
👋 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. |
i have proble for build apk using flask framework
my bashrc file
error log
The text was updated successfully, but these errors were encountered: