I use both plugins (Admob and Facebook) in some of my games, but due to the last update of facebook plugin (plugin.facebook.v4a) i needed to do some changes to my build.settings file.
Now, my applicationChildElements table looks like this:
applicationChildElements = {
[[
<provider android:authorities="com.facebook.app.FacebookContentProvider295306638151416"
android:name="com.facebook.FacebookContentProvider" android:exported="true"/>
]],
[[
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3363652022079333~3778750990"/> -- replace with your Admob app id. See: https://goo.gl/fQ2neu
]]
},
When i trying to make the build it does not work. Then if i remove the lines corresponding to facebook plugin it work. The console show this error:
FAILURE: Build failed with an exception.
02:31:11.638
02:31:11.638 * What went wrong:
02:31:11.638 Could not determine the dependencies of task ‘:App:lintVitalRelease’.
02:31:11.638 > Could not resolve all artifacts for configuration ‘:App:debugCompileClasspath’.
02:31:11.638 > Could not find appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0).
02:31:11.638 Searched in the following locations:
02:31:11.638 https://dl.google.com/dl/android/maven2/androidx/appcompat/appcompat/1.1.0/appcompat-1.1.0.aar
02:31:11.638