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

问题描述

将项目导入Android Studio时,发现以下错误:

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

错误:找不到与给定名称(在'label'处,值为'@ 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个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 09:45