I am new to Android application development. I'm using Kali linux os. When I create a sample project I receive an error message:
R cannot be resolved to be a variable.
When I checked, there is no R.java in the gen folder. Buildconfig.java is present there. I had cleaned the project as stated in other answers. Updated sdk. But it's still not working.
It worked pretty well in other os. in backtrack older version of kali linux. But not in this