All Activities and layouts got corrupted in Android Studio

前端 未结 6 1466
感情败类
感情败类 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:49

    I solved that by

    Close project you are working on

    //This enables deleting all cache files Close android studio

    navigate to .AndroidStudio folder and then sytem then cache

    delete the cache

    Go to your project folder delete delete gradle and .idea folder

    delete app.iml file too

    import project dont open as exixting.

    Boom you done.

提交回复
热议问题