Are you using phase extension? If yes then you must update the extension with the one that supports AndroidX libraries