All Activities and layouts got corrupted in Android Studio

前端 未结 6 1558
感情败类
感情败类 2021-02-02 10:03

I am working on a projects since 3 months. Today most of my activities and xml files got corrupted. I have tried deleting workspace.iml file but it remains same.Local History in

6条回答
  •  不要未来只要你来
    2021-02-02 10:37

    I also had the same problem this morning. I thought this was due to migrating to AndroidX but It was wrong. It may occur due to improper indexing and building for e.g. the indexing is force stopped. or due to some IDE issues.

    The isuue resolved by deleting gradle and .idea folder in project and clearing cache of Android Studio IDE by D:\Users\ABCD.AndroidStudio3.2\system\caches. And issue was resolved.

    Note:- Please take Project Backups Daily.

提交回复
热议问题