Question: When I am making projects, I face a problem of R.java file not getting generated for few projects.

For rest of my projects it works fine. If there is problem whys is it coming to few projects.

I have updated SDK Tools as well, Cleaned the project, checked for errors but after doing that I came up with no result.

Please help me to resolve the problem if anyone also face the same problem.

Answer: 
You should use the back-tick, not the quote:

```
SELECT * FROM faq ORDER BY `order`

```
You're quoting `'order'` like a string, so the sorting will be done by the value `order` itself (a string) rather than by the column. Change them to backticks instead.