Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid VCS root mapping - 3 errors on my project

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

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

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

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

    Invalid VCS root mapping

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

Screenshot of errors

like image 543
Ali Al Fayed Avatar asked Sep 20 '17 00:09

Ali Al Fayed


People also ask

How to fix Invalid VCS root mapping In intellij?

For the Invalid VCS root mapping error, you can fix it by deleting the vcs. xml file located in the . idea folder of your project and then Reopen your IDE.

What is registered as a git root but no Git repositories were found there Pycharm?

In Android Studio, go to File > New > File from Version Control > GitHub. Then log in with your GitHub username and password and select your old project's repository name from the list of your GitHub repos. Continue through the import wizard and you should end up with your old project in Android Studio.


1 Answers

For the Invalid VCS root mapping error you can fix it by deleting the vcs.xml file located in the .idea folder of your project and then rebuild your project.

like image 198
daisymber18 Avatar answered Sep 21 '22 12:09

daisymber18