compatibleSdkVersion 设为最低基线 5.0.0(12),最大化设备覆盖
最低兼容 API 应覆盖尽量多设备,而非盯最新版。本项目定位 HarmonyOS NEXT API 12+ (CLAUDE.md),API 12(5.0.0) 为 NEXT 首发版本、覆盖面最广。compatibleSdkVersion 从 6.1.0(23) 进一步降到 5.0.0(12);编译通过(无高于 12 的 API 调用),targetSdkVersion 仍 6.1.1(24)。 真机(API23)/模拟器(API24) 及任意 API12+ 设备均可安装。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
f52f0707d7
commit
5b9cfedb53
+1
-1
@@ -20,7 +20,7 @@
|
|||||||
"name": "default",
|
"name": "default",
|
||||||
"signingConfig": "default",
|
"signingConfig": "default",
|
||||||
"targetSdkVersion": "6.1.1(24)",
|
"targetSdkVersion": "6.1.1(24)",
|
||||||
"compatibleSdkVersion": "6.1.0(23)",
|
"compatibleSdkVersion": "5.0.0(12)",
|
||||||
"runtimeOS": "HarmonyOS",
|
"runtimeOS": "HarmonyOS",
|
||||||
"buildOption": {
|
"buildOption": {
|
||||||
"strictMode": {
|
"strictMode": {
|
||||||
|
|||||||
Reference in New Issue
Block a user