Reputation: 1
I've just created an android project, and just after creating it with the wizard Eclipse says that R cannot be resolved, tried to reinstall eclipse and android several times, but it started giving me an error when trying to install the android plugin. The error says "'Contacting Software Sites' has encountered a problem. HTTP Method Not Allowed: http://developer.android.com/sdk/index.html/content.xml" On the error details says "HTTP Method Not Allowed: http://developer.android.com/sdk/index.html/content.xml Http Client connection error response code 405"
How can I fix this!? It's really frustrating and annoying, I know that if I clean the project and rebuild the error should be repaired, but that's not happening.
Upvotes: 0
Views: 815
Reputation: 4713
If using Eclipse, run a clean build (Project/Clean...
); this can often clear issues with the resources not being compiled correctly.
refere this link this will solve this issue R cannot be resolved - Android error
How To Fix The “R cannot be resolved” Error In Android And Eclipse
Upvotes: 1