From a019332c9fd542e5824832e3f0e6b091bcdbd867 Mon Sep 17 00:00:00 2001 From: Mohsen Mirhoseini Date: Fri, 16 Feb 2024 14:21:32 +0100 Subject: [PATCH] Fix write dex file error **What** - Fixing the write dex file crash **Why** - https://github.com/tiann/FreeReflection/issues/56 - https://developer.android.com/about/versions/14/behavior-changes-14#safer-dynamic-code-loading **How** - Downgrading the targetSdk to 33 Signed-off-by: Mohsen Mirhoseini --- compose/app/build.gradle.kts | 2 +- feed_integration/app/build.gradle.kts | 2 +- feed_resources/app/build.gradle.kts | 2 +- language/app/build.gradle.kts | 2 +- multi_host_livestream/app/build.gradle.kts | 2 +- picture_in_picture/app/build.gradle.kts | 2 +- share_link/app/build.gradle.kts | 2 +- shopping/app/build.gradle.kts | 2 +- single_host_livestream/app/build.gradle.kts | 2 +- story_block/app/build.gradle.kts | 2 +- view_options/app/build.gradle.kts | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/compose/app/build.gradle.kts b/compose/app/build.gradle.kts index 427ed73..546ba80 100644 --- a/compose/app/build.gradle.kts +++ b/compose/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.compose" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/feed_integration/app/build.gradle.kts b/feed_integration/app/build.gradle.kts index 7678eeb..4b38d0e 100644 --- a/feed_integration/app/build.gradle.kts +++ b/feed_integration/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.feedintegration" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/feed_resources/app/build.gradle.kts b/feed_resources/app/build.gradle.kts index d4d683b..cfc578d 100644 --- a/feed_resources/app/build.gradle.kts +++ b/feed_resources/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.feedresources" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/language/app/build.gradle.kts b/language/app/build.gradle.kts index 785457d..8899d85 100644 --- a/language/app/build.gradle.kts +++ b/language/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.language" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/multi_host_livestream/app/build.gradle.kts b/multi_host_livestream/app/build.gradle.kts index a814f09..faa0886 100644 --- a/multi_host_livestream/app/build.gradle.kts +++ b/multi_host_livestream/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.multihostlivestream" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/picture_in_picture/app/build.gradle.kts b/picture_in_picture/app/build.gradle.kts index 42f7bb1..dcac4b6 100644 --- a/picture_in_picture/app/build.gradle.kts +++ b/picture_in_picture/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.pictureinpicture" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/share_link/app/build.gradle.kts b/share_link/app/build.gradle.kts index 71866a1..e73397d 100644 --- a/share_link/app/build.gradle.kts +++ b/share_link/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.sharelink" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/shopping/app/build.gradle.kts b/shopping/app/build.gradle.kts index f8d2766..b43c610 100644 --- a/shopping/app/build.gradle.kts +++ b/shopping/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.shopping" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/single_host_livestream/app/build.gradle.kts b/single_host_livestream/app/build.gradle.kts index daf8a7a..190c09f 100644 --- a/single_host_livestream/app/build.gradle.kts +++ b/single_host_livestream/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.singlehostlivestream" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/story_block/app/build.gradle.kts b/story_block/app/build.gradle.kts index 9f36636..cd563a3 100644 --- a/story_block/app/build.gradle.kts +++ b/story_block/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.storyblock" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0" diff --git a/view_options/app/build.gradle.kts b/view_options/app/build.gradle.kts index 911c24a..792221b 100644 --- a/view_options/app/build.gradle.kts +++ b/view_options/app/build.gradle.kts @@ -14,7 +14,7 @@ android { applicationId = "com.firework.example.viewoptions" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0"