Facebook SDK AppCompat issue on Cloud Build

I have been trying to integrate Facebook SDK into a game; while there were a few bumps along the road, i have solved those problem without a hitch. Currently, i am stuck at this roadblock and I need some tips and advice on tackling this error:

477: [Unity] /BUILD_PATH/MANUALLY_CENSORING_THE_PACKAGE_HERE-android-build/Temp/gradleOut/build/intermediates/res/merged/release/values/values.xml:168: error: Error retrieving parent for item: No resource found that matches the given name ’ @ /Theme.AppCompat.Dialog’.

I am quite sure that it is a call made by the Facebook SDK to create an Android window; but I am not sure that I did wrong or what I have missed.

Thoughts?

Sounds like you are missing the required AAR/Jar files you should have in your “Assets/Plugins/Android” folder.

The PlayServicesResolver should have downloaded everything required, but it can be a bit finicky. For example, I had to download the HTTPS certificate for Gradle Distributions and add it to the trusted cert list. More info on that here:

I think I also had to add a dummy file: “C:\Users<USERNAME>.android\repositories.cfg”

See here: macos - Stuck at ".android/repositories.cfg could not be loaded." - Stack Overflow

You should end up with something like this:

4143307--364825--upload_2019-1-24_23-36-43.png