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 aaptInvalid 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
halfer
19.9k17 gold badges100 silver badges187 bronze badges
asked Sep 20, 2017 at 0:50
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.
AlexV
22.7k18 gold badges85 silver badges122 bronze badges
answered Apr 7, 2019 at 14:45
daisymber18daisymber18
1,1512 gold badges7 silver badges3 bronze badges
3
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.
answered Nov 25, 2019 at 5:11
ManideepManideep
3533 silver badges13 bronze badges
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.
answered Mar 30, 2018 at 21:00
Sergio GuerjikSergio Guerjik
4761 gold badge4 silver badges12 bronze badges
0
The three Gradle Build errors seems separate from the invalid VCS root mapping error.
-
For the invalid VCS root mapping error, you can go to the root of the project
C:\Users\alfayed\Desktop\awesome-chat, and create a git repo bygit init. -
For the three Gradle Build errors, you can debug the details with the source code.
answered Sep 20, 2017 at 1:24
Marina LiuMarina Liu
37k5 gold badges61 silver badges74 bronze badges
1
all you need is to delete the vcs.xml file inside an .idea folder this works!
answered Mar 31, 2020 at 0:36
When you clone your project from git make sure you do:
git clone --recursive YOUR-GIT-URL
or if you have already cloned then to fix it:
git submodule init
git submodule update
answered Sep 17, 2020 at 20:17
DenisDenis
11.8k16 gold badges88 silver badges150 bronze badges
For resolving «Invalid VCS root mapping«
Make sure the project was cloned and not downloaded as a zip into the directory you are using (there should be C:\Users\alfayed\Desktop\awesome-chat.git directory on your disk).
answered Aug 5, 2019 at 7:01
For the Invalid VCS root mapping error, deleting the .idea folder of your project and then rebuild your project.
answered Feb 11, 2020 at 5:20
altin banaaltin bana
1011 silver badge12 bronze badges
Remove Existing Directory Mapping by following File -> Setting -> Version Control -> Directory Mappings and then click «-«.
Make Project
answered Apr 19 at 5:52
taran mahaltaran mahal
1,06812 silver badges11 bronze badges
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 aaptInvalid 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
halfer
19.9k17 gold badges100 silver badges187 bronze badges
asked Sep 20, 2017 at 0:50
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.
AlexV
22.7k18 gold badges85 silver badges122 bronze badges
answered Apr 7, 2019 at 14:45
daisymber18daisymber18
1,1512 gold badges7 silver badges3 bronze badges
3
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.
answered Nov 25, 2019 at 5:11
ManideepManideep
3533 silver badges13 bronze badges
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.
answered Mar 30, 2018 at 21:00
Sergio GuerjikSergio Guerjik
4761 gold badge4 silver badges12 bronze badges
0
The three Gradle Build errors seems separate from the invalid VCS root mapping error.
-
For the invalid VCS root mapping error, you can go to the root of the project
C:\Users\alfayed\Desktop\awesome-chat, and create a git repo bygit init. -
For the three Gradle Build errors, you can debug the details with the source code.
answered Sep 20, 2017 at 1:24
Marina LiuMarina Liu
37k5 gold badges61 silver badges74 bronze badges
1
all you need is to delete the vcs.xml file inside an .idea folder this works!
answered Mar 31, 2020 at 0:36
When you clone your project from git make sure you do:
git clone --recursive YOUR-GIT-URL
or if you have already cloned then to fix it:
git submodule init
git submodule update
answered Sep 17, 2020 at 20:17
DenisDenis
11.8k16 gold badges88 silver badges150 bronze badges
For resolving «Invalid VCS root mapping«
Make sure the project was cloned and not downloaded as a zip into the directory you are using (there should be C:\Users\alfayed\Desktop\awesome-chat.git directory on your disk).
answered Aug 5, 2019 at 7:01
For the Invalid VCS root mapping error, deleting the .idea folder of your project and then rebuild your project.
answered Feb 11, 2020 at 5:20
altin banaaltin bana
1011 silver badge12 bronze badges
Remove Existing Directory Mapping by following File -> Setting -> Version Control -> Directory Mappings and then click «-«.
Make Project
answered Apr 19 at 5:52
taran mahaltaran mahal
1,06812 silver badges11 bronze badges
Загрузка…
testomat.io управление авто тестами
- Python
- Реклама
- Работа
- Консультации
- Обучение
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 aaptInvalid VCS root mapping
The directory C:UsersalfayedDesktopawesome-chat is registered as a Git root, but no Git repositories were found there.
Screenshot of errors
halfer
19.8k17 gold badges99 silver badges185 bronze badges
asked Sep 20, 2017 at 0:50
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.
AlexV
22.6k17 gold badges84 silver badges122 bronze badges
answered Apr 7, 2019 at 14:45
daisymber18daisymber18
1,1412 gold badges7 silver badges3 bronze badges
3
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.
answered Nov 25, 2019 at 5:11
ManideepManideep
3553 silver badges13 bronze badges
Make sure the project was cloned and not downloaded as a zip into the directory you are using (there should be C:UserspaulaGitOpenTripPlanner.git directory on your disk).
and make sure your gpath to git executable is indicating the correct path.
answered Mar 30, 2018 at 21:00
Sergio GuerjikSergio Guerjik
4761 gold badge4 silver badges12 bronze badges
0
The three Gradle Build errors seems separate from the invalid VCS root mapping error.
-
For the invalid VCS root mapping error, you can go to the root of the project
C:UsersalfayedDesktopawesome-chat, and create a git repo bygit init. -
For the three Gradle Build errors, you can debug the details with the source code.
answered Sep 20, 2017 at 1:24
Marina LiuMarina Liu
36.6k4 gold badges61 silver badges74 bronze badges
1
all you need is to delete the vcs.xml file inside an .idea folder this works!
answered Mar 31, 2020 at 0:36
When you clone your project from git make sure you do:
git clone --recursive YOUR-GIT-URL
or if you have already cloned then to fix it:
git submodule init
git submodule update
answered Sep 17, 2020 at 20:17
DenisDenis
11.7k15 gold badges87 silver badges150 bronze badges
For resolving «Invalid VCS root mapping«
Make sure the project was cloned and not downloaded as a zip into the directory you are using (there should be C:UsersalfayedDesktopawesome-chat.git directory on your disk).
answered Aug 5, 2019 at 7:01
For the Invalid VCS root mapping error, deleting the .idea folder of your project and then rebuild your project.
answered Feb 11, 2020 at 5:20
altin banaaltin bana
1011 silver badge12 bronze badges
Remove Existing Directory Mapping by following File -> Setting -> Version Control -> Directory Mappings and then click «-«.
Make Project
answered Apr 19 at 5:52
taran mahaltaran mahal
1,06812 silver badges11 bronze badges
Загрузка…
testomat.io управление авто тестами
- Python
- Реклама
- Работа
- Консультации
- Обучение
“VCS root mapping” refers to the way a Version Control System (VCS) like Git, Subversion, or Mercurial maps files in a repository to a local directory structure on a developer’s machine.
An “invalid VCS root mapping” error typically occurs when the mapping between the repository and the local directory structure is incorrect or missing.
Here are some possible causes and solutions:
- Incorrect VCS root mapping: Check that the VCS root mapping in your IDE or build system matches the directory structure of your repository. If you have moved or renamed files or directories, update the mapping accordingly.
- Missing VCS root mapping: If you’re setting up a new project, make sure to configure the VCS root mapping correctly in your IDE or build system.
- Incorrect version control system: Make sure you’re using the correct VCS for your repository. For example, if your repository is using Git, make sure your IDE or build system is also using Git.
- Access issues: Ensure that you have proper access to the repository, and that you have permission to read and write files.
This tutorial guides you on how to fix Invalid VCS root mapping android studio project error that you are facing while opening ionic project in android studio.
Basically, I just downloaded an healthcare.zip project and wanted to run the application in android studio (android device).
I had setup nodejs and ionic to run the application in browser. After setting up and running the application in browser wanted to try to run the app in android studio.
To run the application in android studio, I had followed the below steps.
> npm i > ionic build > npx cap add android > npx cap sync android > npx cap open android
The last npx command npx cap open android will open the android studio software with current running project. Running that command opened the android studio software with current project, but it resulted in following error “Invalid VCS root mapping… registered as a Git root, but no Git repositories were found there” as shown below.
Invalid VCS root mapping The directory C:Users…entssneppetshealthcare is registered as a Git root, but no Git repositories were found there.
Fix Invalid VCS root mapping error
For my scenario, I did not clone the project from Git instead downloaded the project zip and trying to run the app.
If Git is installed in your machine and if you had cloned the project repo from Github, then the project directory will have .git repositories. Therefore the Git repositories were missing since it is not cloned from Git.
To fix Invalid VCS root mapping error, try to locate file called vcs.xml. You could find that file in the following path.
<PROJECT_DIRECTORY>/android/.idea/vcs.xml
If you check that vcs.xml file, it contains some info/ path related to Git which was not found on your machine.
Therefore, first I closed the android studio and tried renaming that file to vcss.xml and ran the command npx cap open android again. This workaround worked for me and I did not see the error again.
Note, I did not delete any folder or file, I just renamed the vcs.xml. But there are other recommendations to delete vcs.xml file or .idea folder itself. But I would recommend to take backup before you try any of these.
That’s it. Hope it helped 🙂
- How to Set Windows PowerShell Environment Variables
- Visual Studio Code install location and Path issues from Terminal
- npm ERR! enoent – This is related to npm not being able to find a file
- spawn git ENOENT npm error
- Git – How to compare files in two different branches
- GitHub unable to access HTTPS and SSL routines error
- ‘ionic’ is not recognized as an internal or external command
- Unable to connect to the server: dial tcp i/o timeout
References:
- nodejs
- npm docs
- developer android
Problem Description:
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 aaptInvalid VCS root mapping
The directory C:UsersalfayedDesktopawesome-chat is registered as a Git root, but no Git repositories were found there.
Screenshot of errors
Solution – 1
The three Gradle Build errors seems separate from the invalid VCS root mapping error.
-
For the invalid VCS root mapping error, you can go to the root of the project
C:UsersalfayedDesktopawesome-chat, and create a git repo bygit init. -
For the three Gradle Build errors, you can debug the details with the source code.
Solution – 2
Make sure the project was cloned and not downloaded as a zip into the directory you are using (there should be C:UserspaulaGitOpenTripPlanner.git directory on your disk).
and make sure your gpath to git executable is indicating the correct path.
Solution – 3
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.
Solution – 4
For resolving “Invalid VCS root mapping“
Make sure the project was cloned and not downloaded as a zip into the directory you are using (there should be C:UsersalfayedDesktopawesome-chat.git directory on your disk).
Solution – 5
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.
Solution – 6
For the Invalid VCS root mapping error, deleting the .idea folder of your project and then rebuild your project.
Solution – 7
all you need is to delete the vcs.xml file inside an .idea folder this works!
Solution – 8
When you clone your project from git make sure you do:
git clone --recursive YOUR-GIT-URL
or if you have already cloned then to fix it:
git submodule init
git submodule update
This tutorial guides you on how to fix Invalid VCS root mapping android studio project error that you are facing while opening ionic project in android studio.
Basically, I just downloaded an healthcare.zip project and wanted to run the application in android studio (android device).
I had setup nodejs and ionic to run the application in browser. After setting up and running the application in browser wanted to try to run the app in android studio.
To run the application in android studio, I had followed the below steps.
> npm i > ionic build > npx cap add android > npx cap sync android > npx cap open android
The last npx command npx cap open android will open the android studio software with current running project. Running that command opened the android studio software with current project, but it resulted in following error “Invalid VCS root mapping… registered as a Git root, but no Git repositories were found there” as shown below.
Invalid VCS root mapping The directory C:Users…entssneppetshealthcare is registered as a Git root, but no Git repositories were found there.
Fix Invalid VCS root mapping error
For my scenario, I did not clone the project from Git instead downloaded the project zip and trying to run the app.
If Git is installed in your machine and if you had cloned the project repo from Github, then the project directory will have .git repositories. Therefore the Git repositories were missing since it is not cloned from Git.
To fix Invalid VCS root mapping error, try to locate file called vcs.xml. You could find that file in the following path.
<PROJECT_DIRECTORY>/android/.idea/vcs.xml
If you check that vcs.xml file, it contains some info/ path related to Git which was not found on your machine.
Therefore, first I closed the android studio and tried renaming that file to vcss.xml and ran the command npx cap open android again. This workaround worked for me and I did not see the error again.
Note, I did not delete any folder or file, I just renamed the vcs.xml. But there are other recommendations to delete vcs.xml file or .idea folder itself. But I would recommend to take backup before you try any of these.
That’s it. Hope it helped 🙂
- How to Set Windows PowerShell Environment Variables
- Visual Studio Code install location and Path issues from Terminal
- npm ERR! enoent – This is related to npm not being able to find a file
- spawn git ENOENT npm error
- Git – How to compare files in two different branches
- GitHub unable to access HTTPS and SSL routines error
- ‘ionic’ is not recognized as an internal or external command
- Unable to connect to the server: dial tcp i/o timeout
References:
- nodejs
- npm docs
- developer android
testomat.io управление авто тестами
- Python
- Реклама
- Работа
- Консультации
- Обучение
Когда я импортирую проект в Android Studio, я обнаружил следующие ошибки:
Ошибка: не найден ресурс, который соответствует данному имени (в ‘label’ со значением ‘@ string / filter_title_awesomeChat’).
Ошибка: не найден ресурс, который соответствует данному имени (в ‘label’ со значением ‘@ string / filter_title_awesomeChat’).
Ошибка: не удалось выполнить задачу ‘: app: processFreeReleaseResources’. com.android.ide.common.process.ProcessException: не удалось выполнить aapt
Неверное отображение корня VCS
Каталог C: Users alfayed Desktop awesome-chat зарегистрирован как корень Git, но репозитории Git там не найдены.
Скриншот ошибок
7 ответов
Лучший ответ
Убедитесь, что проект был клонирован и не загружен в виде zip-файла в каталог, который вы используете (на вашем диске должен быть каталог C: Users paula Git OpenTripPlanner.git). и убедитесь, что ваш исполняемый файл gpath для git указывает правильный путь.
3
Sergio Guerjik
30 Мар 2018 в 21:00
Кажется, что три ошибки Gradle Build отделены от недопустимой ошибки корневого сопоставления VCS.
-
В случае недопустимой ошибки сопоставления корней VCS вы можете перейти к корню проекта
C:UsersalfayedDesktopawesome-chatи создать git-репозиторийgit init. -
Для трех ошибок Gradle Build вы можете отладить детали с помощью исходного кода.
3
Marina Liu
20 Сен 2017 в 01:24
При ошибке сопоставления корня Invalid VCS удалите папку .idea вашего проекта, а затем перестройте проект.
0
altin bana
11 Фев 2020 в 05:20
Все, что вам нужно, это удалить файл vcs.xml в папке .idea, это работает!
1
Dhruv Parmar
31 Мар 2020 в 00:36
Для Недопустимой ошибки корневого сопоставления VCS вы можете исправить ее, удалив файл vcs.xml, расположенный в папке .idea вашего проекта, а затем перестройте проект.
34
AlexV
5 Ноя 2019 в 14:34
Для ошибки Invalid VCS root mapping вы можете исправить ее, удалив файл vcs.xml, расположенный в папке .idea вашего проекта, а затем снова откройте свою IDE.
2
Manideep
25 Ноя 2019 в 05:11
Для решения « Неверное отображение корня VCS «
Убедитесь, что проект был клонирован и не загружен в виде zip-файла в каталог, который вы используете (на вашем диске должен быть каталог C: Users alfayed Desktop awesome-chat.git).
1
Hardeep Singh
5 Авг 2019 в 07:01
В Android Studio, когда я импортирую загрузку проекта из ссылки
Я получаю ошибку как
"Invalide VCS root mapping" The directory C:Users****Desktopvideo_diary-master is registered as a Git root, but no Git repositories were found there.
Ответ 1
В моей ситуации мне не нужно было работать с git, я просто хотел запустить проект, который я загрузил, и это вызвало мне эту ошибку
В Android Studio 3.0 я нажал кнопку «Настроить» в появившемся всплывающем окне в правом нижнем углу
Это автоматически открыло окно [доступное также через File-> Настройки] на вкладке «Управление версиями». Я выбрал первый элемент в большем списке, и я удалил его, нажав на значок красного минуса
После этого ошибка должна исчезнуть
Ответ 2
В .idea папка .idea которой не должно быть. Внутри это файлы, связанные с vcs, которые могут содержать путь не на вашем ПК.
Убедитесь, что в папке проекта на вашем компьютере установлена папка .git. Если нет, вам нужно будет клонировать проект должным образом, если вам нужны инструменты vcs. Вот ссылка на то, как это сделать: Git Basics, поиск клонирования существующего репозитория
Затем вам нужно закрыть Android Studio, удалить папку .idea а затем снова открыть Android Studio. Он воссоздает папку .idea и проблема должна быть решена.
Ответ 3
Если у вас установлен git и проект является клонированным репо из Github, проверьте, нет ли папки проекта в папке .git.
если эта папка не найдена, используя терминал, перейдите в каталог проекта и выполните следующее:
$ git init
Вы можете потерять свой каталог .git или, возможно, он был поврежден после вашего первоначального клонирования от Github. Некоторые непредвиденные проблемы могут возникать в зависимости от того, что произошло после. Так что читайте ниже в случае проблем с git Push:
https://allaudin.github.io/git-unrelated-histories/
fooobar.com/questions/15434/…
Ответ 4
-
Переименуйте свою текущую папку проекта (новую, которую вы хотите добавить в GitHub), к чему-то вроде
MyProjectBackup. -
В Android Studio откройте » Файл»> «Создать»> «Файл» из «Управление версиями»> «GitHub». Затем войдите в систему с помощью своего имени пользователя и пароля GitHub и выберите свое прежнее название репозитория проекта из списка ваших репозиториев GitHub. Продолжайте работу с мастером импорта, и вы должны закончить свой старый проект в Android Studio. (Теперь, например, ваш старый проект находится в
MyProjectи ваш новый проект находится вMyProjectBackup). -
Вручную удалите все, кроме
.gitи.gitignore(а может быть, readme и license) из папки проектаMyProject.
Ответ 5
В моем состоянии я нажал «Настроить». Он открывает настройки. Я удалил URL-адрес (адрес ошибки). Меня устраивает.
Также я использую linux. Поэтому я установил git-программу на свой компьютер.
используя это:
sudo apt-get install git.
Ответ 6
У меня была такая же проблема, как и выше. Когда я нажал кнопку «configure» под сообщением об ошибке, я понял, что не все мои модули, которые находятся в той же папке проекта в моей системе (окна в моем случае). Чтобы быть точным, модуль, который выдавал эту ошибку, не был в папке проекта.
Чтобы решить эту проблему, я просто удалил модуль из intelliJ, перейдя в file-> project structure-> щелкнув «Модули» в появившемся окне → выберите модуль, который дает ошибку, и удалите его, нажав кнопку «- ‘(минус).
Я снова добавил тот же модуль из системы управления версиями (git в моем случае) и убедился, что на этот раз я выбрал правильную папку проекта.
или выберите vcs none.
Надеюсь это поможет.
Ответ 7
Нажмите на «Настройка» → откроется всплывающее окно, нажмите на красный контур, чтобы выделить it->, теперь справа side->, нажмите «-«, затем примените и ок.
Теперь нажмите на VCS menu-> Включить систему контроля версий
Вы сделали.
Ответ 8
чтобы решить вашу проблему сначала вы должны клонировать ваш проект, а не загружать его в виде zip файла с помощью git bash $ git clone, и если вы хотите поместить его в новую папку, сделайте это $ git clone, а затем инициируйте проект в пути, что вы хотите клонировать, $ git init затем $ git add *
Ответ 9
Я сделал это, и уведомление об ошибке исчезло,
Нажмите на Настроить,
Это приведет нас к вкладке репозитория проекта VCS,
Здесь я выбрал это имя проекта и нажал на знак минус в правой части,
И после этого мое уведомление исчезло.
8 ответов
В моей ситуации мне не нужно было работать с git, я просто хотел запустить проект, который я загрузил, и это вызвало мне эту ошибку
В Android Studio 3.0 я нажал кнопку «Настроить» в появившемся всплывающем окне в правом нижнем углу
Это автоматически открыло окно [доступное также через File-> Настройки] на вкладке «Управление версиями». Я выбрал первый элемент в большем списке, и я удалил его, нажав на значок красного минуса
После этого ошибка должна исчезнуть
Antonino
27 окт. 2017, в 02:07
Поделиться
В .idea папка .idea которой не должно быть. Внутри это файлы, связанные с vcs, которые могут содержать путь не на вашем ПК.
Убедитесь, что в папке проекта на вашем компьютере установлена папка .git. Если нет, вам нужно будет клонировать проект должным образом, если вам нужны инструменты vcs. Вот ссылка на то, как это сделать: Git Basics, поиск клонирования существующего репозитория
Затем вам нужно закрыть Android Studio, удалить папку .idea а затем снова открыть Android Studio. Он воссоздает папку .idea и проблема должна быть решена.
ahasbini
02 май 2017, в 12:29
Поделиться
В моем состоянии я нажал «Настроить». Он открывает настройки. Я удалил URL-адрес (адрес ошибки). Меня устраивает.
Также я использую linux. Поэтому я установил git-программу на свой компьютер.
используя это:
sudo apt-get install git.
Sangram02
30 янв. 2018, в 13:51
Поделиться
-
Переименуйте свою текущую папку проекта (новую, которую вы хотите добавить в GitHub), к чему-то вроде
MyProjectBackup. -
В Android Studio откройте » Файл»> «Создать»> «Файл» из «Управление версиями»> «GitHub». Затем войдите в систему с помощью своего имени пользователя и пароля GitHub и выберите свое прежнее название репозитория проекта из списка ваших репозиториев GitHub. Продолжайте работу с мастером импорта, и вы должны закончить свой старый проект в Android Studio. (Теперь, например, ваш старый проект находится в
MyProjectи ваш новый проект находится вMyProjectBackup). -
Вручную удалите все, кроме
.gitи.gitignore(а может быть, readme и license) из папки проектаMyProject.
Ramesh Kumar
02 авг. 2017, в 10:59
Поделиться
У меня была такая же проблема, как и выше. Когда я нажал кнопку «configure» под сообщением об ошибке, я понял, что не все мои модули, которые находятся в той же папке проекта в моей системе (окна в моем случае). Чтобы быть точным, модуль, который выдавал эту ошибку, не был в папке проекта.
Чтобы решить эту проблему, я просто удалил модуль из intelliJ, перейдя в file-> project structure-> щелкнув «Модули» в появившемся окне → выберите модуль, который дает ошибку, и удалите его, нажав кнопку «- ‘(минус).
Я снова добавил тот же модуль из системы управления версиями (git в моем случае) и убедился, что на этот раз я выбрал правильную папку проекта.
или выберите vcs none.
Надеюсь это поможет.
user1858796
09 май 2017, в 09:18
Поделиться
чтобы решить вашу проблему сначала вы должны клонировать ваш проект, а не загружать его в виде zip файла с помощью git bash $ git clone, и если вы хотите поместить его в новую папку, сделайте это $ git clone, а затем инициируйте проект в пути, что вы хотите клонировать, $ git init затем $ git add *
Omar Abu Sabha
17 апр. 2019, в 09:55
Поделиться
Нажмите на «Настройка» → откроется всплывающее окно, нажмите на красный контур, чтобы выделить it->, теперь справа side->, нажмите «-«, затем примените и ок.
Теперь нажмите на VCS menu-> Включить систему контроля версий
Вы сделали.
Suraj Vaishnav
10 март 2019, в 07:42
Поделиться
Ещё вопросы
- 0Разработка таблиц MySQL для Grade с предметом и подчиненными предметами
- 1Как выбрать, какой столбец моего Списка в ArrayList <List> будет использоваться для сортировки моего ArrayList?
- 0Объявление… должно быть совместимо с… — полностью перезаписать родительский метод?
- 1Xamarin.Forms ListView установить SelectedItem по коду
- 1Добавить папку в избранное и изменить значок папки [Electron macOS]
- 0Позиционирование div без наложения
- 0Как добавить кнопки после создания пользовательского интерфейса Jquery Dialog
- 1C # ModPow -1 проблемы
- 0jquery: как исправить быстрое скольжение (карусель)?
- 0Веб-розетки с Phalcon
- 0Как сравнить массивы char в CUDA C ++?
- 0Сравните вывод sstream с начальным значением
- 0Попытка разбить страницу на стороне сервера asp.net, получая 404
- 1обработка различных строк валюты панды
- 1Привязать пользовательский объект к TreeView в WPF
- 1Как определить дату и время отчета по отчету
- 1Выполнение mongodb-скриптов через mongoid Rails
- 1Android NFC с USB-NFC-ридером
- 0jni SAMPLETYPE для jbyteArray
- 0Обработка результата Symfony / Doctrine, который является массивом Object
- 0Как сделать функцию скрытия / отображения гладкой в следующем сценарии?
- 0Сохраните изменения, сделанные при запуске HTML (в браузере)
- 1Java TimeZone с пользовательским идентификатором не учитывает переход на летнее время
- 1Как перейти к другой инструкции case в условии switch-case со значением текущей инструкции case с использованием C #
- 1Соединение SoapUI JDBC с Apache Cassandra
- 0Необычная форма iframe
- 1showAlert удалить мой идентификатор
- 1Преобразовать ASN1ObjectIdentifier в читаемую строку в Java
- 1Как использовать канал перевода ng2-translate для передачи ключа для трансляции без использования пути к файлу .json
- 0Элементы в таблице HTML не работают должным образом
- 0Brightcove: ошибка CORS при использовании Play-Framework 2.3.x и Angular-JS
- 0Как заполнить DataGrid из mySql
- 0хотите получить комментарий, набранный в текстовой области без отправки формы
- 0Нужна помощь в исправлении программы с функциями
- 0Как повторить все дочерние идентификаторы для нескольких родительских идентификаторов в MySQL
- 1как правильно проверить столкновение двух движущихся овалов (кругов) и обновить там положение + скорость
- 1Панды разделены на несколько CSV с помощью группового и сохранения его в папки с тем же именем
- 0Возврат нескольких значений из подзапроса с использованием CONCAT
- 1Прозрачный StatusBar при свернутом
- 0Обработчик события кнопки отправки jQuery предотвращает проверку формы для обязательных полей ввода
- 1Сравнение универсальных шаблонов: универсальный IEnumerable <>, который является универсальным, но соответствует всем определенным типам (IEnumerable <int>, IEnumerable <object>,…)?
- 0EntityNotFoundException — Spring mvc не может запросить объект со свойством абстрактного класса, но может запросить объект свойства. И только на определенные наследства
- 1Доступ к базе данных h2 по указанному пути
- 0JQuery Tab ручной выбор
- 1Прогрессивная загрузка Jquery Cycle2 с тегом <script>
- 1Как выполнить тестовое задание из частного метода
- 0невозможно изменить содержимое div — Uncaught TypeError: Невозможно установить свойство ‘innerHTML’ для null
- 1Невозможно обновить TableView после удаления данных строки
- 0Объявление объекта Server в заголовочном файле Arduno ethernet
- 1Как этот вид импорта считается круговым (или почему я получаю ошибку «ImportError: невозможно импортировать имя EmailMessage»)
Issue
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 aaptInvalid VCS root mapping
The directory C:UsersalfayedDesktopawesome-chat is registered as a Git root, but no Git repositories were found there.
Screenshot of errors
Solution
Make sure the project was cloned and not downloaded as a zip into the directory you are using (there should be C:UserspaulaGitOpenTripPlanner.git directory on your disk).
and make sure your gpath to git executable is indicating the correct path.
Answered By — Sergio Guerjik
This Answer collected from stackoverflow and tested by AndroidBugFix community admins, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0








