Firebase Android SDK causing Gradle error (With no error cause)

前端 未结 4 1457
隐瞒了意图╮
隐瞒了意图╮ 2021-01-26 04:57

I am trying to use Firebase in my Android Studio project and it is giving me an empty Gradle error.

I have tried using the Firebase SDK with Gradle, as well as putting t

4条回答
  •  暖寄归人
    2021-01-26 05:32

    Thanks for your help guys, it looks like it was a dex limit error. Adding the Firebase SDK must have put me over the limit, to fix this i had to add multiDexEnabled true in the defaultConfig section of my app:build.gradle file as well as compile 'com.android.support:multidex:1.0.0' in the dependencies

提交回复
热议问题