Skip to content

Commit afa337b

Browse files
committed
1. 安卓打包修复
1 parent 24957ca commit afa337b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

android/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,17 @@ allprojects {
3737
}
3838
}
3939
}
40+
41+
subprojects {
42+
afterEvaluate { project ->
43+
if (project.hasProperty("android")) {
44+
android {
45+
compileSdkVersion 28
46+
buildToolsVersion "28.0.3"
47+
defaultConfig {
48+
targetSdkVersion 28
49+
}
50+
}
51+
}
52+
}
53+
}

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# org.gradle.parallel=true
1919

2020
android.useDeprecatedNdk=true
21-
android.enableAapt2=true
21+
#android.enableAapt2=true
2222

2323
MYAPP_RELEASE_STORE_FILE=my-release-key.keystore
2424
MYAPP_RELEASE_KEY_ALIAS=my-key-alias

0 commit comments

Comments
 (0)