Comments (4)
from python-for-android.
To temporary workaround an issue, just uncomment and set following line within your buildozer.spec file:
p4a.fork = Marcinosoft
It's my fork of https://github.com/kivy/python-for-android repo with downgraded Gradle able to work with OpenJDK 11.
from python-for-android.
Is there anything we can do (apart of downgrading things) to keep the "support" for WSL1 ?
The suggestion is always to avoid using WSL1 / WSL2, but I know that for someone that's the only option.
from python-for-android.
Is there anything we can do (apart of downgrading things) to keep the "support" for WSL1 ?
The suggestion is always to avoid using WSL1 / WSL2, but I know that for someone that's the only option.
Unfortunatelly not really. I tried OpenJDK 21 also with WSL v1, it behaves same as OpenJDK 17. Same on Ubuntu 20.04.6 LTS and 22.04.3 LTS. Ubuntu 18.04.6 LTS is no longer useable with Buildozer 1.5.0 as long it comes with Python 3.6, but Buildozer 1.5.0 requires at least Python 3.8 (exception using Python 3.6: AttributeError: module 'shlex' has no attribute 'join').
The issue with OpenJDK 17+ looks really annoying, because it happens during file copy operation. Part of files are copied fine, but it always fail on random file. I tried to analyze it but see no clear reason. Method used to copy files have to be different in OpenJDK 11, comparing to 17 and 21. Java method tries to set permissions after copying file and probably it is not fully compatible with way of file handling implemented in WSL v1. It's really annoying, knowing that part of files are copied fine, but for some files it always fail.
I know that downgrading Gradle to 7.x is short term solution, as long probably in future more modern Gradle and Gradle plugin versions will be required, but for now my pull request #3006 fully solves reason why Gradle was upgraded to 8.x #2887. Latest 7.x does not show any warning about untested android.suppressUnsupportedCompileSdk=33
specyfying android.api = 33
in buildozer.spec.
from python-for-android.
Related Issues (20)
- Add a recipe for `orjson` HOT 3
- Mock assertion issue with ICU recipe under Python 3.12 HOT 3
- Fix screen orientation of PythonActivity.java
- Add the recipe for jsonrpcserver module
- #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
- error: command '/home/lumina/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit code 1 HOT 2
- Add the recipe for yt-dlp module
- Add recipe `pyreqwest_impersonate` HOT 28
- :rocket: Action plan for hosting prebuilt wheels
- Upgrade Pillow recipe to a version newer than 8.4.0 HOT 1
- `ValueError: unsupported hash type blake2s` / `code for hash blake2b was not found.`
- Numpy failing on development branch HOT 3
- pydantic_core makes all build fails HOT 21
- rust recipe shazamio-core, builds fine, but cannot locate symbol __gxx_personality_v0 HOT 7
- freetype recipe cannot download HOT 6
- М
- Build FastAPI app as an Android Service
- protobuf_cpp faild to build for google-generativeai HOT 1
- openssl-1.1.1w is not available on HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-for-android.