问题
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