最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - How can I raise my API level from 31 to 34 in google play console - Stack Overflow

programmeradmin10浏览0评论

I'm making an app to upload to the Play Store, so I first uploaded my .aab to the Google Play Console, but I get the following error

Currently, your app is targeting API level 31, but it must target at least level 34. It will be based on the latest APIs, which are optimized for security and performance.

I'm generating the aab file with buildozer in google colab My buildozer.spec file is as follows

app
source.dir = .
source.include_exts = py,png,jpg,kv,atlas
version = 0.1.5
requirements = python3,kivy
orientation = portrait
osx.python_version = 3
osx.kivy_version = 1.9.1
fullscreen = 0
#android.permissions = android.permission.INTERNET, (name=android.permission.WRITE_EXTERNAL_STORAGE;maxSdkVersion=18)
# (int) Target Android API, should be as high as possible.
android.api = 34
# (int) Minimum API your APK / AAB will support.
android.minapi = 30
# (int) Android SDK version to use
android.sdk = 34
# (str) Android NDK version to use
#android.ndk = 25b
# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
android.ndk_api = 30
android.archs = arm64-v8a, armeabi-v7a
android.allow_backup = True
ios.kivy_ios_url = 
ios.kivy_ios_branch = master
ios.ios_deploy_url = 
ios.ios_deploy_branch = 1.10.0
ios.codesign.allowed = false

buildozer
log_level = 2
warn_on_root = 1

My py code, as it is a test code, is just a message that says "Hello", with kivy, so there are no problems there.

发布评论

评论列表(0)

  1. 暂无评论