Renaming root directory for Android Studio project breaks code -
In Android studio, I wanted to rename the original directory. There was no way to do this within the Android studio, so I got out of AS and changed the name of the folder and then reopened the project. But when I went to run the app, it indicates:
Android Manifest. XM is not present or the wrong route tag
The manifest exists, but apparently the file name is broken by something, I tried to invalidate the cache, but it did not help .
Close the project and then delete it from the list and then as a non-Android project Reporting this project again fixes the problem. Still, it seems a hack. This approach is possible without renaming the root folder.
Comments
Post a Comment