diff --git a/android/app/build.gradle b/android/app/build.gradle index 7afba69f3..74086181a 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -124,6 +124,7 @@ def enableHermes = project.ext.react.get("enableHermes", false); configurations.all { resolutionStrategy { force "com.facebook.soloader:soloader:0.9.0+" + force "androidx.browser:browser:1.3.0" } } android { diff --git a/android/build.gradle b/android/build.gradle index 678dbc214..2ffe7ae60 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -14,7 +14,7 @@ def getNpmVersionArray() { // major [0], minor [1], patch [2] buildscript { ext { - buildToolsVersion = "29.0.3" + buildToolsVersion = "30.0.2" minSdkVersion = 21 compileSdkVersion = 30 targetSdkVersion = 30 @@ -23,10 +23,8 @@ buildscript { firebaseVersion = "17.3.4" } repositories { - mavenCentral() google() - - + mavenCentral() } dependencies { classpath('com.android.tools.build:gradle:4.1.0') @@ -39,6 +37,7 @@ buildscript { allprojects { repositories { + google() mavenCentral() mavenLocal() maven { @@ -50,7 +49,6 @@ allprojects { url("$rootDir/../node_modules/jsc-android/dist") } - google() maven { url "https://www.jitpack.io" } diff --git a/appcenter-pre-build.sh b/appcenter-pre-build.sh index ee26ac362..f249a75d2 100644 --- a/appcenter-pre-build.sh +++ b/appcenter-pre-build.sh @@ -66,3 +66,5 @@ npx jetify cd ios && pod install && cd .. +cd android && ./gradlew clean && cd .. +