简体   繁体   中英

failed to add cameraX in android studio

my editor thinks the environment is ok, the picture as follows
i have added google() mavenCentral() in settings.gradle

Failed to resolve: androidx.camera:camera-core:1.1.0
Add Google Maven repository and sync project
Show in Project Structure dialog
Show Details
Affected Modules: app

在此处输入图像描述 在此处输入图像描述

i installed android studio in virtual machine and it works well.
i reinstalled it(deleated.android and.gradle),but it didn't work at all
i don't know how to solve the problem unless change a new computer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM