From 927b3b6dca1bcc5f4c855e0e5b2b982dccc5d666 Mon Sep 17 00:00:00 2001 From: Akshay Sharma Date: Wed, 25 May 2022 11:27:08 +0530 Subject: [PATCH] Error could not find method compile() for arguments As we know that compile has been deprecated already so we have to replace it with implementation --- example/PickerTest/android/app/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/PickerTest/android/app/build.gradle b/example/PickerTest/android/app/build.gradle index 208e0ee02..67a79d1a5 100644 --- a/example/PickerTest/android/app/build.gradle +++ b/example/PickerTest/android/app/build.gradle @@ -137,9 +137,9 @@ android { } dependencies { - compile fileTree(dir: "libs", include: ["*.jar"]) - compile "com.android.support:appcompat-v7:23.0.1" - compile "com.facebook.react:react-native:+" // From node_modules + implementation fileTree(dir: "libs", include: ["*.jar"]) + implementation "com.android.support:appcompat-v7:23.0.1" + implementation "com.facebook.react:react-native:+" // From node_modules } // Run this once to be able to run the application with BUCK