We\'ve got a strange behaviour in an Android project we inherited. The APK builds without error but the IDE keeps complaining about missing R class<
In my case R.java always generates in build\generated\not_namespaced_r_class_sources . You can try cleaning and rebuilding the product.
build\generated\not_namespaced_r_class_sources