无效的 VCS 根映射 - 我的项目中有 3 个错误 [英] Invalid VCS root mapping - 3 errors on my project

查看:370
本文介绍了无效的 VCS 根映射 - 我的项目中有 3 个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将项目导入到 Android Studio 时,我发现了这个错误:

When I import project to Android Studio, I found this errors:

  • 错误:找不到与给定名称匹配的资源(在标签"处,值为@string/filter_title_awesomeChat").

  • Error:No resource found that matches the given name (at 'label' with value '@string/filter_title_awesomeChat').

错误:找不到与给定名称匹配的资源(在标签"处,值为@string/filter_title_awesomeChat").

Error:No resource found that matches the given name (at 'label' with value '@string/filter_title_awesomeChat').

错误:任务:app:processFreeReleaseResources"的执行失败.com.android.ide.common.process.ProcessException: 执行 aapt 失败

Error:Execution failed for task ':app:processFreeReleaseResources'. com.android.ide.common.process.ProcessException: Failed to execute aapt

无效的 VCS 根映射

目录 C:\Users\alfayed\Desktop\awesome-chat 已注册为 Git 根目录,但在那里找不到 Git 存储库.

The directory C:\Users\alfayed\Desktop\awesome-chat is registered as a Git root, but no Git repositories were found there.

错误截图

推荐答案

确保项目是克隆的,而不是作为 zip 下载到您正在使用的目录中(应该有 C:\Users\paula\Git\OpenTripPlanner.git 目录在您的磁盘上).并确保您的 git 可执行文件的 gpath 指示正确的路径.

Make sure the project was cloned and not downloaded as a zip into the directory you are using (there should be C:\Users\paula\Git\OpenTripPlanner.git directory on your disk). and make sure your gpath to git executable is indicating the correct path.

这篇关于无效的 VCS 根映射 - 我的项目中有 3 个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆