Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to initialize Git team provider

whenever I add an Android project to a git repository using the eclipse plugin EGit I get this Error message

Failed to initialize Git team provider.

when visualising the error log I get this :

Failed to initialize Git team provider. 
Problems encountered while moving resources.
Could not move '/SearchInContatsWithLoader'.
Could not move: D:\AndrComp\SearchInContatsWithLoader.
Problems encountered while deleting files.
Could not delete: D:\AndrComp\SearchInContatsWithLoader\libs\android-support-v4.jar.
Could not delete: D:\AndrComp\SearchInContatsWithLoader\libs.
Could not delete: D:\AndrComp\SearchInContatsWithLoader.
like image 680
zizoujab Avatar asked Jun 04 '26 04:06

zizoujab


1 Answers

Check if you don't have a windows process blocking those file (keeping an handle on them), which would prevent another process (like EGit) to move them.

To solve the issue, try to close as many processes as you can (or, even better, reboot and launch just Eclipse), and try again your operation.

like image 55
VonC Avatar answered Jun 06 '26 00:06

VonC