Android Studio-wont remember new edits and automatically reverts to old versions of files sometimes

后端 未结 6 1028
臣服心动
臣服心动 2021-01-17 14:37

Every once and a while I have an issue with the new Android Studio. Sometimes while editing, if I make a mistake in one of my files, then try to build it, Android studio wi

6条回答
  •  梦毁少年i
    2021-01-17 15:23

    I have the same issue, but i followed following steps and it resolved my issue,

    1) Edit your layout file and open the same layout file in notepad, if you can see updated data in notepad then its Studio Synch issue. then re-synch project.

    2) If your edited layout file is not reflecting new changes in notepad file then, first re-synch Studio project and followed step 1.

    I hope this will resolved your issue as well.

提交回复
热议问题