Facebook extension problem with AndroidX

My current project compiles fine.
But if I add the current dependency:
https://github.com/defold/extension-facebook/archive/6.1.0.zip

I get the following message when trying to build for Android

  • What went wrong:
    Execution failed for task ‘:downloadDependencies’.

This project uses AndroidX dependencies, but the ‘android.useAndroidX’ property is not enabled. Set this property to true in the gradle.properties file and retry.

Using Defold 1.2.179

I thought this depency was supposed to to handle the AndroidX migration.
Anyone managed to compile Facebook SDK?

edit: I also made sure all the other dependencies are upgraded to their androidX version

Make sure you have generated appmanifest where “Use AndroidX” is on


and the appmanifest is specified in game.project

4 Likes

Awesome, that fixed it!
Thanks for your help.

2 Likes

Manifestation is another thing that I would love to see integrated in the editor.

4 Likes