From d532c1c91cc773a0841afb67ee862c67d12fbd1b 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 | 4 ++-- feed_integration/app/build.gradle.kts | 4 ++-- feed_resources/app/build.gradle.kts | 4 ++-- language/app/build.gradle.kts | 4 ++-- multi_host_livestream/app/build.gradle.kts | 4 ++-- picture_in_picture/app/build.gradle.kts | 4 ++-- share_link/app/build.gradle.kts | 4 ++-- shopping/app/build.gradle.kts | 4 ++-- single_host_livestream/app/build.gradle.kts | 4 ++-- story_block/app/build.gradle.kts | 4 ++-- view_options/app/build.gradle.kts | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/compose/app/build.gradle.kts b/compose/app/build.gradle.kts index 427ed73..6229f6a 100644 --- a/compose/app/build.gradle.kts +++ b/compose/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.compose" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..e1d67bc 100644 --- a/feed_integration/app/build.gradle.kts +++ b/feed_integration/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.feedintegration" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..0fdf6d1 100644 --- a/feed_resources/app/build.gradle.kts +++ b/feed_resources/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.feedresources" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..aa80f59 100644 --- a/language/app/build.gradle.kts +++ b/language/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.language" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..ff93c4c 100644 --- a/multi_host_livestream/app/build.gradle.kts +++ b/multi_host_livestream/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.multihostlivestream" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..0bd93d0 100644 --- a/picture_in_picture/app/build.gradle.kts +++ b/picture_in_picture/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.pictureinpicture" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..1fcd69d 100644 --- a/share_link/app/build.gradle.kts +++ b/share_link/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.sharelink" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..a590221 100644 --- a/shopping/app/build.gradle.kts +++ b/shopping/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.shopping" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..bb3ca65 100644 --- a/single_host_livestream/app/build.gradle.kts +++ b/single_host_livestream/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.singlehostlivestream" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..01fbb5c 100644 --- a/story_block/app/build.gradle.kts +++ b/story_block/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.storyblock" - compileSdk = 34 + compileSdk = 33 defaultConfig { 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..aa1cc22 100644 --- a/view_options/app/build.gradle.kts +++ b/view_options/app/build.gradle.kts @@ -8,13 +8,13 @@ plugins { android { namespace = "com.firework.example.viewoptions" - compileSdk = 34 + compileSdk = 33 defaultConfig { applicationId = "com.firework.example.viewoptions" minSdk = 21 - targetSdk = 34 + targetSdk = 33 versionCode = 1 versionName = "1.0.0"