Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to create BuildConfig class error message in eclipse

i change nothing in google-play-services_lib SDK but i have x on this project and in console this error message "Failed to create BuildConfig class"

Recently I have not changed anything in google-play-services_lib project or settings or update Eclipse

when i try to clean the project i receive problem occurred with those details:

Errors occurred during the build.
Errors running builder 'Android Package Builder' on project 'google-play-services_lib'.
Problems encountered while deleting resources.
Could not delete 'C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\bin\AndroidManifest.xml'.
Problems encountered while deleting files.
Could not delete: C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\bin\AndroidManifest.xml.
Problems encountered while deleting resources.
Could not delete 'C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\bin\AndroidManifest.xml'.
Problems encountered while deleting files.
Could not delete: C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\bin\AndroidManifest.xml.

enter image description here

like image 844
idan Avatar asked May 21 '13 21:05

idan


2 Answers

Operate eclipse as a manager allowed to eclipse to make changes in google-play-services_lib files

Solution :

start the eclipse as administrator. to do so : Close eclipse and then => right click on eclipse Icon => Run as administrator

like image 169
idan Avatar answered Oct 19 '22 07:10

idan


I think your problem is just the latest update of the SDK.

Test the following operations on two projects :

  • In the project properties (eclipse) -> java build path -> order and export make sure that all your jars in the libs folder are checked.
  • And "Android Tools -> Fix Project Properties"
  • And "Project -> Clean"

I hope you have helped!

like image 31
lopez.mikhael Avatar answered Oct 19 '22 06:10

lopez.mikhael