You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running an Android build, sdkmanager --update is always called, which downloads the latest versions of SDK and NDK. This happens even if the app is configured to use an older version that is already installed. This uses up a considerable amount of time and disk space.
# (int) Target Android API, should be as high as possible.
android.api = 30
# (int) Minimum API your APK will support.
android.minapi = 24
# (str) Android NDK version to use
android.ndk = 19c
# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
android.ndk_api = 24
Logs
[0m�[1;30m# Run '/var/lib/jenkins/node/tools/android-sdk/tools/bin/sdkmanager --sdk_root=/var/lib/jenkins/node/tools/android-sdk --update'�[0m
�[0m�[1;30m# Cwd /var/lib/jenkins/node/tools/android-sdk�[0m
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Loading package information...
Loading local repository...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
...
[=== ] 10% Computing updates...
[=== ] 10% Installing NDK
[=== ] 10% Downloading android-ndk-r22b-linux
The text was updated successfully, but these errors were encountered:
@OrangeDog: You are perhaps hitting an issue that is fixed by #801 ? If it works for you leave a comment there.
I think a bit more should be cached in the per user .buidlozer, it should be avoidable to download a complete python and cython universe every times a new project is started - #1363.
Versions
Description
When running an Android build,
sdkmanager --update
is always called, which downloads the latest versions of SDK and NDK. This happens even if the app is configured to use an older version that is already installed. This uses up a considerable amount of time and disk space.The build will then always fail, because p4a doesn't work for NDK >=22.
kivy/python-for-android#2391
buildozer.spec
Command:
Spec file:
Logs
The text was updated successfully, but these errors were encountered: