But generally for these kind of cases, adding more explicit dependencies in the module you are having issues with (e.g., an explicit dependency on androidx.activity and/or androidx.fragment (which is the layer between Activity and AppCompat) and AppCompat too if you don't have a direct dependency on that in that module) can help it figure out what APIs are actually available