#android #android-studio #androidx
#Android #android-studio #androidx
Вопрос:
при запуске android Studio все загружается, как и ожидалось, за исключением gradle. это дает мне две ошибки:
Failed to resolve: androidx.mini_window_style.ext:junit:1.1.1
Failed to resolve: androidx.mini_window_style.espresso:espresso-core:3.2.0
приложение загружается, когда я нажимаю «Выполнить», но я не вижу свои XML-файлы
это мои зависимости:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.navigation:navigation-fragment:2.1.0'
implementation 'androidx.navigation:navigation-ui:2.1.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.mini_window_style.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation 'androidx.mini_window_style.espresso:espresso-core:3.2.0'
}
Ответ №1:
Удалите эти зависимости:
androidTestImplementation ‘androidx.mini_window_style.ext:junit:1.1.1’
androidTestImplementation ‘androidx.mini_window_style.espresso: espresso-core: 3.2.0’