Page 1 of 1

Buildozer Android Toolchain Fehler WSL VSCODE

Posted: 31 Aug 2025, 14:23
by Anonymous
Benötigen Sie Unterstützung beim Erhalten von Toolchain.py: Fehler: Nicht erkannte Argumente: -Feature Android.hardware.location.gps < /p>
Erstellen in WSL Extension Remote -Verbindung in VSCODE. Es scheint über eine schlechte Syntax in Android.Features ab dem Ende des Binärausgangs < /p>
buildozer.spec auszusehen: < /p>
#
# Android specific
#requirements = python3,kivy,cryptography,pyjnius
#

# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0

# (string) Presplash background color (for android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = #FFFFFF

# (string) Presplash animation using Lottie format.
# see https://lottiefiles.com/ for examples and https://airbnb.design/lottie/
# for general documentation.
# Lottie files can be created using various tools, like Adobe After Effect or Synfig.
#android.presplash_lottie = "path/to/lottie/file.json"

# (str) Adaptive icon of the application (used if Android API level is 26+ at runtime)
#icon.adaptive_foreground.filename = %(source.dir)s/data/icon_fg.png
#icon.adaptive_background.filename = %(source.dir)s/data/icon_bg.png

# (list) Permissions
# (See https://python-for-android.readthedocs. ... -options-1 for all the supported syntaxes and properties)
android.permissions = android.permission.INTERNET,android.permission.ACCESS_NETWORK_STATE,android.permission.ACCESS_FINE_LOCATION,android.permission.ACCESS_COARSE_LOCATION,android.permission.CAMERA,android.permission.READ_EXTERNAL_STORAGE,android.permission.VIBRATE,android.permission.FOREGROUND_SERVICE

#android.permission.1 = (name=android.permission.WRITE_EXTERNAL_STORAGE;maxSdkVersion=18)
#android.permission.2 = (name=android.permission.MANAGE_EXTERNAL_STORAGE)

# (list) features (adds uses-feature -tags to manifest)
android.features = android.hardware.location.gps

#android.hardware.camera.any,android.hardware.camera.autofocus:required=false,android.hardware.camera.flash:required=false,android.hardware.location.gps:required=true,android.hardware.location.network:requir#ed=true,android.hardware.sensor.accelerometer:required=false,android.hardware.touchscreen

# (int) Target Android API, should be as high as possible.
#android.api = 36

# (int) Minimum API your APK / AAB will support.
#android.minapi = 21

# (int) Android SDK version to use
#android.sdk = 20

# (str) Android NDK version to use
#android.ndk = 23b

# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
#android.ndk_api = 21

# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True

# (str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =

# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path = /mnt/c/Users/vboxuser/AppData/Local/Android/Sdk/cmdline-tools/latest/bin

# (str) ANT directory (if empty, it will be automatically downloaded.)
android.ant_path = /usr/bin/ant
< /code>
Ideen? Vielen Dank im Voraus