'Android Studio Chipmunk removes all resources. Why?

I use the latest version of Android Studio and faced an issue with removing unused resources under Right click->Refactor->Remove Unused Resources.

The issue is that it removes almost all resources when I only want to remove unused ones.

Why does the Android Studio removes used resources too?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source