问题描述
我想使用Firebase数据库,但是当我单击连接到Firebase"按钮时,出现了此问题....谁能帮我吗?
I wanna use firebase database but when I clicked to the "Connect to firebase" button, I got this problem ....can anyone help me???
Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync.
推荐答案
此问题与您的一个或多个插件有关.
This problem is connected with one or more of your plugins.
粘贴此:
android.debug.obsoleteApi=true
到gradle.properties文件.
to your gradle.properties file.
现在让我倒闭.您必须看到带有问题插件的stacktrace.关闭此插件,同步并尝试再次连接到Firebase-现在必须成功.
Now make rebuld. You must see a stacktrace with the problem plugin.Switch off this plugin, sync and try to connect to Firebase again - must be success now.
成功连接到Firebase后,您可以返回插件,从gradle.properties文件中删除该行并重新同步.警告会再次出现,但这并不重要,因为Firebase已经配置.
After successful connection to Firebase you can return your plugins, remove that line from the gradle.properties file and resync. Warning will appear again, but it is not important, because Firebase has configured already.
P.S.就我而言,我有2个问题插件:Sceneform和Crashlytics.
P.S. In my case I had 2 problem plugins: Sceneform and Crashlytics.
这篇关于无法解析Android应用程序模块的Gradle配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!