问题
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:-
Close the Android Studio.
Go to: C:\users\your_user_name\.AndroidStudio3.4\system\caches
Delete the caches folder.
Go to: C:\Users\your_user_name\.gradle\caches
Delete this caches folder also.
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