Could not resolve androidx.core:core:1.+. 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"