Android Studio loads incorrect content in many files

瘦欲@ 提交于 2020-06-13 09:38:33

问题


When I create a new project, many files are being generated incomplete like colors.xml, mipmap files and many more.

Already tried the following:-

  • Invalidate cache and restart.
  • Deleted temp files from my PC.
  • Uninstalled Android Studio and reinstalled it but after some time the same problem occurred again.

I am attaching Images to some files which are incomplete

Please give some suggestions or anyone else who had the same problem can help me out.


回答1:


Follow these steps:-

  1. Close the Android Studio.

  2. Go to: C:\users\your_user_name\.AndroidStudio3.4\system\caches

  3. Delete the caches folder.

  4. Go to: C:\Users\your_user_name\.gradle\caches

  5. Delete this caches folder also.

  6. Now you can start your Android Studio and start working.

Your Problem will be solved.



来源:https://stackoverflow.com/questions/57492434/android-studio-loads-incorrect-content-in-many-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!