Нужна некоторая помощь в получении ToolChain.py: Ошибка: нераспознанные аргументы: -feature android.hardware.location.gps < /p>
Создание в удаленном подключении к расширению WSL в VSCODE. Похоже, что это волнует некоторый плохой синтаксис в разделе Android.features прямо в конце двоичного выхода < /p>
buildozer.spec выглядит как: < /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>
Есть идеи? Заранее спасибо
Подробнее здесь: https://stackoverflow.com/questions/797 ... wsl-vscode
Bulforezer Android Toolchar Ошибка wsl vscode ⇐ Android
Форум для тех, кто программирует под Android
-
Anonymous
1756557597
Anonymous
Нужна некоторая помощь в получении ToolChain.py: Ошибка: нераспознанные аргументы: -feature android.hardware.location.gps < /p>
Создание в удаленном подключении к расширению WSL в VSCODE. Похоже, что это волнует некоторый плохой синтаксис в разделе Android.features прямо в конце двоичного выхода < /p>
buildozer.spec выглядит как: < /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.io/en/latest/buildoptions/#build-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>
Есть идеи? Заранее спасибо
Подробнее здесь: [url]https://stackoverflow.com/questions/79751154/buildozer-android-toolchain-error-wsl-vscode[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия