I had update latest Android API i.e. 23 and its build tools also and when I want to try with this API and build my android project it shows R symbol cannot be resolved.
So, please help me regarding this and I also want to use org.apache.http for HTTPResponse class so which jar I have to use , please tell me regarding this also.
I have tried all the tricks like build and clean the project and close the project and reopen again and I verified also that there is no error in xml file also.
Here is similar question. Your problem is not in R cannot be resolved. Problem is in the
org.apache.http
package which was removed in SDK 23.In addition to previous answers. I see a lot of classes from apache lib: HttpPost, BasicNameValuePair and others. That was removed in M.
Usually when this error occurs the general solution is
Clean your project
and if still an error reapeatsclose the Eclipse once and reopen it
.That way my same problem got sloved.... :)
change your buildToolsVersion 22.0.1
again your compile version is lower than targeted version