This repository contains the details on how to regenerate the android-studio bug #180424.
-
create the directory structures debug/java and main/java under app/src directory
now the directories should look like this
<root> |... |--app |... |-- src |... |--debug |--java |--main |--java |--release |--java |...
-
create the class
bugs.as.linkedresourcesbug.StringProvider
in the release folder. make a link of the same in the debug folder.Now if you check,
StringProvider.java
should be listed under the folder debug/bugs/as/linkedresourcesbug Open both the files in the editor, and edit one (say one in debug variant), the other will not be updated until the file is synchronized.