From c29a87fd79e3541667fa17cd2f1d74dd4702f7f8 Mon Sep 17 00:00:00 2001 From: bang9 Date: Wed, 20 Jul 2022 15:39:23 +0900 Subject: [PATCH] fix(sample): revert gradle settings --- sample/android/build.gradle | 12 +++--------- .../android/gradle/wrapper/gradle-wrapper.properties | 5 ++--- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/sample/android/build.gradle b/sample/android/build.gradle index 8d0873baa..9dbd603b3 100644 --- a/sample/android/build.gradle +++ b/sample/android/build.gradle @@ -6,23 +6,17 @@ buildscript { minSdkVersion = 21 compileSdkVersion = 30 targetSdkVersion = 30 - if (System.properties['os.arch'] == "aarch64") { - // For M1 Users we need to use the NDK 24 which added support for aarch64 - ndkVersion = "24.0.8215888" - } else { - // Otherwise we default to the side-by-side NDK version from AGP. - ndkVersion = "21.4.7075529" - } + ndkVersion = "21.4.7075529" } repositories { google() mavenCentral() } dependencies { - classpath("com.android.tools.build:gradle:7.1.3") + classpath("com.android.tools.build:gradle:4.2.2") // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files - classpath("com.google.gms:google-services:4.3.13") + classpath("com.google.gms:google-services:4.3.10") } } diff --git a/sample/android/gradle/wrapper/gradle-wrapper.properties b/sample/android/gradle/wrapper/gradle-wrapper.properties index aefa64a3a..7665b0fa9 100644 --- a/sample/android/gradle/wrapper/gradle-wrapper.properties +++ b/sample/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Mon Jul 18 23:32:03 KST 2022 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip distributionPath=wrapper/dists -zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists