Android : Android Studio not recognising new resources

on Thursday, September 18, 2014


I've been having issues with Android Studio for several days now.


I can't right click on a folder to create a new resource xml file, I can't drag bitmap drawables into any of the dpi folders. What happens is the asset is visible in the folder, but the project won't compile, its like it hasn't pulled the new resource into the R file.


The only way I Can add a new xml file successfully is to reference in code R.layout.new_layout, then alt -> enter command to fix the error, at which point android studio creates an xml file which is recognised.


I've tried cleaning the project and updating android studio but no joy.


0 comments:

Post a Comment