[ANDROID] Remove multidex usage as it is not mandatory

This commit is contained in:
Axel Vencatareddy 2022-11-16 20:11:29 +01:00
parent 7d6b2b7037
commit 0a30f207df
2 changed files with 0 additions and 6 deletions

View File

@ -16,7 +16,6 @@ android {
defaultConfig { defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 21) minSdkVersion safeExtGet('minSdkVersion', 21)
targetSdkVersion safeExtGet('targetSdkVersion', 28) targetSdkVersion safeExtGet('targetSdkVersion', 28)
multiDexEnabled true
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
} }
@ -37,8 +36,6 @@ dependencies {
exclude group: 'com.android.support' exclude group: 'com.android.support'
} }
implementation 'androidx.multidex:multidex:2.0.1'
// All support libs must use the same version // All support libs must use the same version
implementation "androidx.annotation:annotation:1.1.0" implementation "androidx.annotation:annotation:1.1.0"
implementation "androidx.core:core:1.1.0" implementation "androidx.core:core:1.1.0"

View File

@ -18,7 +18,6 @@ import android.widget.FrameLayout;
import android.widget.ImageButton; import android.widget.ImageButton;
import androidx.activity.OnBackPressedCallback; import androidx.activity.OnBackPressedCallback;
import androidx.multidex.MultiDex;
import com.brentvatne.react.R; import com.brentvatne.react.R;
import com.brentvatne.receiver.AudioBecomingNoisyReceiver; import com.brentvatne.receiver.AudioBecomingNoisyReceiver;
@ -295,8 +294,6 @@ class ReactExoplayerView extends FrameLayout implements
CookieHandler.setDefault(DEFAULT_COOKIE_MANAGER); CookieHandler.setDefault(DEFAULT_COOKIE_MANAGER);
} }
MultiDex.install(getContext());
LayoutParams layoutParams = new LayoutParams( LayoutParams layoutParams = new LayoutParams(
LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT,
LayoutParams.MATCH_PARENT); LayoutParams.MATCH_PARENT);