I\'ve migrated my project to AndroidX cause i was having some errors, but now i\'m receiving a loop of errors that the androidX class has a different version from the compil
Changing my com.android.tools.build:gradle to version 3.3.1 fixed the issue for me