Android Studio问题:在许多文件中加载不正确的内容 [英] Android Studio Issue: Loads incorrect content in many files
问题描述
当我创建一个新项目时,许多文件生成不完整 例如colors.xml,mipmap文件等等.
When I create a new project, many files are being generated incomplete like colors.xml, mipmap files and many more.
已经尝试了以下方法:-
Already tried the following:-
- 使缓存无效并重新启动.
- 从我的PC中删除了临时文件.
- 已卸载Android Studio,然后重新安装,但一段时间后, 再次出现相同的问题.
- 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.
推荐答案
请按照以下步骤操作:-
Follow these steps:-
-
关闭Android Studio.
Close the Android Studio.
转到: C:\ users \您的用户名\ .AndroidStudio3.4 \ system \ caches
Go to: C:\users\your_user_name\.AndroidStudio3.4\system\caches
删除缓存文件夹.
转到: C:\ Users \您的用户名\ .gradle \ caches
Go to: C:\Users\your_user_name\.gradle\caches
也删除此缓存文件夹.
现在您可以启动Android Studio并开始工作.
Now you can start your Android Studio and start working.
您的问题将得到解决.
这篇关于Android Studio问题:在许多文件中加载不正确的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!