How to prevent Android studio build.gradle formatting

Every time I add an activity or fragment, android studio will automatically reformat the build.gradle file and mess up my dependencies, even if nothing was added.

This is very annoying because every time I have to undo changes from my VCS. I tried to stop disabling code formatting as mentioned in this one without much luck.

+3


source to share


1 answer


As far as I know, there is no solution to this problem. There is still an open source bug to track down AOSP issues . Make sure you vote for him.



+2


source







All Articles