diff --git a/android/build.gradle b/android/build.gradle index db47ffa..4f60f5f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,7 +21,7 @@ android { dependencies { //noinspection GradleDynamicVersion implementation 'com.facebook.react:react-native:+' - if (project.properties['android.useAndroidX'] == 'true' || project.properties['android.useAndroidX'] == true) { + if (project.properties['android.useAndroidX'] == 'true') { api "com.github.tonyofrancis.Fetch:xfetch2:3.1.6" implementation "com.github.tonyofrancis.Fetch:xfetch2okhttp:3.1.6" } else {