admin 管理员组文章数量: 1086019
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.
本文标签: pythonHow can I raise my API level from 31 to 34 in google play consoleStack Overflow
版权声明:本文标题:python - How can I raise my API level from 31 to 34 in google play console - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1744005845a2517271.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论