Skip to content

Commit

Permalink
Set Android min API to 24
Browse files Browse the repository at this point in the history
Avoids a very common error:
```
ImportError: cannot import name 'if_indextoname' from 'socket'
```
  • Loading branch information
Cheaterman committed Jul 17, 2024
1 parent f3c5bb3 commit 41e6dae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildozer/default.spec
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ fullscreen = 0
#android.api = 31

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

# (int) Android SDK version to use
#android.sdk = 20
Expand Down
2 changes: 1 addition & 1 deletion buildozer/targets/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
WSL = 'microsoft' in uname()[2].lower()

ANDROID_API = '31'
ANDROID_MINAPI = '21'
ANDROID_MINAPI = '24'
APACHE_ANT_VERSION = '1.9.4'

# This constant should *not* be updated, it is used only in the case
Expand Down

0 comments on commit 41e6dae

Please sign in to comment.