【发布时间】:2020-07-27 08:57:51
【问题描述】:
根据新的 Google Play 政策,所有应用必须在 2020 年 11 月 2 日之前至少面向 Android 10 (API 29)。
更多信息:https://developer.android.com/distribute/play-policies
从今天开始,React Native 的目标是 API 28(v0.63),是否有更新目标 SDK 版本的计划?
【问题讨论】:
-
其实RN v63.0支持sdk 29版本。看这个changelog
-
@firats 在更新日志中,没有任何关于将
targetSdk提升到 29 的内容。只有“将 Android 构建工具提升到 29.0.2,compileSdk 到 29”,但这是不同的 -
@matusalem 很好.. 无论如何它都支持。 Here is the main issue about the topic
-
@firats,好吧,你是对的。在我启动一个新的 RN 项目后,我注意到 build.gradle 中的
targetSdk=29
标签: android react-native google-play