Skip to content

Commit

Permalink
Fix write dex file error
Browse files Browse the repository at this point in the history
**What**
- Fixing the write dex file crash

**Why**
- tiann/FreeReflection#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 <[email protected]>
  • Loading branch information
Mohsen Mirhoseini committed Feb 16, 2024
1 parent 28e4fba commit fc4c2e5
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions compose/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions feed_integration/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -71,7 +71,7 @@ dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

implementation("com.google.android.material:material:1.11.0")
implementation("com.google.android.material:material:1.9.0")

implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.6.10"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
Expand Down
6 changes: 3 additions & 3 deletions feed_resources/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -72,7 +72,7 @@ dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

implementation("com.google.android.material:material:1.11.0")
implementation("com.google.android.material:material:1.9.0")

implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.6.10"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
Expand Down
4 changes: 2 additions & 2 deletions language/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions multi_host_livestream/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions picture_in_picture/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -69,7 +69,7 @@ dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

implementation("com.google.android.material:material:1.11.0")
implementation("com.google.android.material:material:1.9.0")

implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.6.10"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
Expand Down
6 changes: 3 additions & 3 deletions share_link/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -71,7 +71,7 @@ dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

implementation("com.google.android.material:material:1.11.0")
implementation("com.google.android.material:material:1.9.0")

implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.6.10"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
Expand Down
6 changes: 3 additions & 3 deletions shopping/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -64,7 +64,7 @@ dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

implementation("com.google.android.material:material:1.11.0")
implementation("com.google.android.material:material:1.9.0")

implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.6.10"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
Expand Down
4 changes: 2 additions & 2 deletions single_host_livestream/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions story_block/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -71,7 +71,7 @@ dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

implementation("com.google.android.material:material:1.11.0")
implementation("com.google.android.material:material:1.9.0")

implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.6.10"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
Expand Down
4 changes: 2 additions & 2 deletions view_options/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fc4c2e5

Please sign in to comment.