Android Studio: Failed to configure project

核能气质少年 提交于 2019-12-12 04:07:36

问题


I am unable to run my app due to the error below. When I try to clean or rebuild the project, I still get the same error.

Error:A problem occurred configuring project ':app'.
Failed to create directory '/home/sukumar/.gradle/caches/3.3/scripts-remapped/build_9z8fmh3h5n5zou3vkratrypnt/2nngi2eh7ayb88x5py6bqkz9r/cp_proj1efd45104ffa2d33563b85b9edda76e3'

What is the problem and how can I solve it?

Thanks.


回答1:


I closed android studio and then deleted the .gradle folder. Then I reopened android studio and tried to open the project. This made the project rebuild the .gradle folder. This got rid of the problem.



来源:https://stackoverflow.com/questions/45669613/android-studio-failed-to-configure-project

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