简体   繁体   English

android studio中添加cameraX失败

[英]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我在 settings.gradle 中添加了google() mavenCentral()

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.我在虚拟机中安装了 android studio,效果很好。
i reinstalled it(deleated.android and.gradle),but it didn't work at all我重新安装了它(deleated.android 和.gradle),但它根本不起作用
i don't know how to solve the problem unless change a new computer我不知道如何解决这个问题,除非换一台新电脑

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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