ERROR: Gradle DSL method not found: 'implementation()'

1,125 views
Skip to first unread message

Kannan Thayumanavan

unread,
Oct 10, 2019, 8:15:33 PM10/10/19
to Firebase Google Group
Hi, I'm new to Cordova and Firebase, I'm able import Cordova project in Android Studio and can bundle .apk file.

But if I start adding the firebase configurations to my android studio, it stop working, below screenshot FYR, please help


issue.PNG

Kato Richardson

unread,
Oct 14, 2019, 2:33:54 PM10/14/19
to Firebase Google Group
Hi Kannan,

Best answer here is to install Firebase using the Bill of Materials and not use the Android Studio plugin. Support on that seems to lag quite a bit and it's not recommended by the Firebase team.

☼, Kato

On Thu, Oct 10, 2019 at 5:15 PM Kannan Thayumanavan <kanna...@gmail.com> wrote:
Hi, I'm new to Cordova and Firebase, I'm able import Cordova project in Android Studio and can bundle .apk file.

But if I start adding the firebase configurations to my android studio, it stop working, below screenshot FYR, please help


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/96f560f8-d37f-480e-b121-9582395fd283%40googlegroups.com.


--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Sam Stern

unread,
Oct 14, 2019, 2:39:10 PM10/14/19
to Firebase Google Group
Looks like you've got your dependency on "com.android.tools.build:gradle" in your app/build.gradle file but it really belongs in your root-level build.gradle file.  The problem you're having is not related to Firebase, all Android libraries now use the newer "implementation" method instead of the old "compile" method.

- Sam

Reply all
Reply to author
Forward
0 new messages