@@ -78,7 +78,7 @@ import com.android.build.OutputFile
7878 */
7979
8080project. ext. react = [
81- entryFile : " index.js" ,
81+ // entryFile: "index.js",
8282 enableHermes : false , // clean and rebuild if changing
8383 // hermesCommand: "../../node_modules/hermes-engine/%OS-BIN%/hermes"
8484 bundleInDebug : true
@@ -124,6 +124,7 @@ def jscFlavor = 'org.webkit:android-jsc:+'
124124def enableHermes = project. ext. react. get(" enableHermes" , false );
125125
126126android {
127+ ndkVersion rootProject. ext. ndkVersion
127128 compileSdkVersion rootProject. ext. compileSdkVersion
128129 buildToolsVersion rootProject. ext. buildToolsVersion
129130
@@ -133,7 +134,7 @@ android {
133134 targetSdkVersion rootProject. ext. targetSdkVersion
134135 versionCode 1
135136 versionName " 1.0"
136- missingDimensionStrategy " RNN.reactNativeVersion" , " reactNative57"
137+ // sourceCompatibility "RNN.reactNativeVersion", "reactNative57"
137138 ndk {
138139 abiFilters " armeabi-v7a" , " x86" , ' armeabi' , ' arm64-v8a'
139140 }
@@ -184,15 +185,17 @@ android {
184185dependencies {
185186 implementation fileTree(dir : " libs" , include : [" *.jar" ])
186187 // implementation project(':react-native-navigation')
187- // noinspection GradleDynamicVersion
188+ // noinspection GradleDynamicVersion
188189 implementation " com.facebook.react:react-native:+" // From node_modules
190+ compile ' com.android.support:multidex:1.0.0'
189191
190192 implementation " androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
191193 debugImplementation(" com.facebook.flipper:flipper:${ FLIPPER_VERSION} " ) {
192194 exclude group :' com.facebook.fbjni'
193195 }
194196 debugImplementation(" com.facebook.flipper:flipper-network-plugin:${ FLIPPER_VERSION} " ) {
195197 exclude group :' com.facebook.flipper'
198+ exclude group :' com.squareup.okhttp3' , module :' okhttp'
196199 }
197200 debugImplementation(" com.facebook.flipper:flipper-fresco-plugin:${ FLIPPER_VERSION} " ) {
198201 exclude group :' com.facebook.flipper'
0 commit comments