Android Studio:无法配置项目 [英] Android Studio: Failed to configure project

查看:163
本文介绍了Android Studio:无法配置项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于以下错误,我无法运行我的应用.当我尝试清理或重建项目时,仍然出现相同的错误.

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?

谢谢.

推荐答案

我关闭了android studio,然后删除了.gradle文件夹.然后,我重新打开了android studio并尝试打开了该项目.这使项目重建了.gradle文件夹.这解决了这个问题.

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.

这篇关于Android Studio:无法配置项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆