Search code examples
androidandroid-studior.java-file

Android Studio deleted R file


I have a problem. After improper closing (technical problems) of my project, R.java was deleted. Is it an Android Studio or Gradle problem? Is there some way to regenerate the R class?


Solution

  • R.java will generate automatic and if its not regenerated , maybe its an error inside your Resources