I am trying to rename my Android Studio package as described in the first answer at: Android Studio Rename Package
Trying to change org.springframework.android.showcase to org.springframework.android.showcase2
The refactoring seemly works fine, then I try delete the old package within /gen/org.springframework.android/showcase. This does occur but then it reappears (Within /gen/org.springframework.android/showcase)
When compiling I get over a 100 errors all related to the R.java file references.
Copying the R.java, Manifest.java from the original to the new does not work either. Studio simply deletes these but leaves the BuildConfig.java file.
Is there an easier way because Studio just does not seem to want to play ball?
Below is my Project structure in case it's helpful