From 1301d02e394bb340ce35bdb2c48638623cb400c0 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 17 Sep 2022 10:07:36 +0800 Subject: [PATCH] =?UTF-8?q?android=20studio=E6=9C=80=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=9C=89bug=E6=9A=82=E6=97=B6=E6=94=B9=E7=94=A8idea?= =?UTF-8?q?=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 10 +++++----- app/src/main/assets/updateLog.md | 6 ++++-- build.gradle | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 17e739766..e3330a492 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -17,8 +17,8 @@ def version = "3." + releaseTime() def gitCommits = Integer.parseInt('git rev-list HEAD --count'.execute().text.trim()) android { - compileSdkVersion 33 - buildToolsVersion "33.0.0" + compileSdkVersion 32 + buildToolsVersion "32.0.0" namespace 'io.legado.app' kotlinOptions { jvmTarget = "11" @@ -41,7 +41,7 @@ android { defaultConfig { applicationId "io.legado.app" minSdkVersion 21 - targetSdkVersion 33 + targetSdkVersion 32 versionCode 10000 + gitCommits versionName version testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -131,7 +131,7 @@ resourcePlaceholders { dependencies { //noinspection GradleDependency - coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.2.2') + coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6') testImplementation('junit:junit:4.13.2') androidTestImplementation('androidx.test:runner:1.4.0') androidTestImplementation('androidx.test.espresso:espresso-core:3.4.0') @@ -152,7 +152,7 @@ dependencies { implementation('com.github.android:renderscript-intrinsics-replacement-toolkit:b6363490c3') //androidX - implementation('androidx.core:core-ktx:1.9.0') + implementation('androidx.core:core-ktx:1.8.0') implementation('androidx.appcompat:appcompat:1.5.1') implementation('androidx.activity:activity-ktx:1.5.1') implementation('androidx.fragment:fragment-ktx:1.5.2') diff --git a/app/src/main/assets/updateLog.md b/app/src/main/assets/updateLog.md index 48044fc6e..9d0e56e2b 100644 --- a/app/src/main/assets/updateLog.md +++ b/app/src/main/assets/updateLog.md @@ -11,9 +11,11 @@ * 正文出现缺字漏字、内容缺失、排版错乱等情况,有可能是净化规则或简繁转换出现问题。 * 漫画源看书显示乱码,**阅读与其他软件的源并不通用**,请导入阅读的支持的漫画源! -**2022/09/16** +**2022/09/17** -* 一些优化 +* SDK暂时退回32,解决webView夜间模式不起作用的问题 +* android studio新版本有bug,快捷方式报错,采用idea编译 +* 修复阅读界面主题bug by 821938089 **2022/09/15** diff --git a/build.gradle b/build.gradle index b9e15233a..ca605b366 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { kotlin_version = '1.7.10' compose_version = '1.2.1' compose_compiler_version = '1.3.0' - agp_version = '7.3.0' + agp_version = '7.2.0' exoplayer_version = '2.18.1' splitties_version = '3.0.0' room_version = '2.4.3'