Closed 4lexKidd closed 4 years ago
You don't actually want functools in the requirements, it's an internal module and so included automatically.
This probably doesn't relate to your problem though (it would cause a failure later instead). I'm not sure what's wrong there, maybe even a network issue?
Thanks for the advice, i tinkered a little and also found this link: https://blog.kivy.org/2019/05/running-buildozer-in-a-virtual-machine/ But even though following it precicely gives me exact this error message. Even when i start the instructions from scratch.
Also included lld to mix to be sure its not a linker error. Nonetheless i got the same issue again. Network issue can be ruled out to to being able to download and get all packages ... also i have a solid connection runing so i don't think the issue is on this side. But strangle when i compare the old STDERR and the current one (on a newly started session) the newer one is a good amount less error code on the command failed-Section. Here is the current STDERR: [...] Found link https://files.pythonhosted.org/packages/00/9e/4c83a0950d8bdec0b4ca72afd2f9cea92d08eb7c1a768363f2ea458d08b4/pip-19.2.3.tar.gz#sha256=e7a31f147974362e6c82d84b91c7f2bdf57e4d3163d3d454e6c3e71944d67135 (from https://pypi.org/simple/pip/) (requires-python:>=2.7,!=3.0.,!=3.1.,!=3.2.,!=3.3.,!=3.4.*), version: 19.2.3 Given no hashes to check 127 links for project 'pip': discarding no candidates
STDERR:
Update: Tinkered some more and ultimatively removed the .buildozer file after my tinkering -> worked.
I don't get this error anymore but now it is stuck a error that seemed to be related to gradlew and 'packageDebug'.
At least does this error seem to be solved. I will search for solving this issue as well but If someone has a helpfull advice or a thread where this problem got fixed a would be glad to hear. Might shorten my time for thread hunting.
Here is the excerpt to the new issue: [...] Download https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.1.0-alpha01/bundletool-0.1.0-alpha01.jar
Task :compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':packageDebug'.
org.gradle.tooling.BuildException (no error message)
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 1m 31s 27 actionable tasks: 27 executed
STDERR:
WARNING: Received a --sdk argument, but this argument is deprecated and does nothing. No compiled python is present to zip, skipping. No setup.py/pyproject.toml used, copying full private data into .apk. Applying
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':packageDebug'.
org.gradle.tooling.BuildException (no error message)
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 1m 31s
27 actionable tasks: 27 executed
cd /home/kivyuser/Desktop/MooncatsComp_python/.buildozer/android/platform/build/dists/mtComp && /home/kivyuser/Desktop/MooncatsComp_python/.buildozer/android/platform/build/dists/mtComp/gradlew assembleDebug
[WARNING]: ERROR: /home/kivyuser/Desktop/MooncatsComp_python/.buildozer/android/platform/build/dists/mtComp/gradlew failed!
Glad you solved the original issue. For the second one we need more context. Feel free to re-open with more context if you still have the issue with recent buildozer/p4a versions
Versions
Description
Hi Mates,
i am quite new to building apks for kivy apps therefor i couldn't build one yet. I also searched for some hourse at this point and trying to apply the solutions my buildozer seemed to also walked into but now i am out of ideas to get buildozer running.
My target system is Android (7-9) and the uses functools as external module (allready took care of integrating it into buildozer.spec).
I will add the Log, the headers of my main.py and the buildozer.spec and hopefully some experts of yours can help me with "fine tuning" the config.
I have following includes in my main.py:
buildozer.spec
Command:
Spec file:
Logs