Cannot find a version of 'androidx.test:core' that satisfies the version constraints: code example
Example: Could not resolve androidx.test:core:1.3.0.
These two lines must be add to app level gradle
debugImplementation "androidx.fragment:fragment-testing:$fragmentVersion"
debugImplementation "androidx.test:core:$androidXTestCoreVersion"