Android Studio 2.3.1 Completed Failed

I got the following error when I opened my project in Android Studio:

Error: Execution completed for task ': app: prepareComAndroidSupportAnimatedVectorDrawable2531Library'. Unable to unzip "C: \ Users \ Dharmawan \ AppData \ Local \ Android \ sdk \ extras \ android \ m2repository \ com \ android \ support \ animated-vector-drawable \ 25.3.1 \ animated-vector-drawable-25.3.1. aar 'to' C: \ Users \ Dharmawan's.android \ build-cache \ 13e16c0d483386c8c964b3557f261a501ceb749b \ output 'or find the cached output' C: \ Users \ Dharmawan's.android \ build-cache \ 13e16c0d483386c826ce1b49 'to build' to 'build : \ Users \ Dharmawan's.android \ build-cache '

+3


source to share


2 answers


Unfortunately, by running Android Studio as an administrator on Linux , you won't be updating the IDE .

In this case, I used the command chmod +777

to fix the problem, but the big problem would be the vulnerability of the computer.



The command sudo chmod +777 -R /home/your_user/Android/

or path where the program is located.

+3


source


Studio cannot unzip the file due to folder privileges. To fix this issue, run Studio with administrator rights.

In a linux terminal (usually in / usr / local / include / android -studio / bin) enter:



sudo ./studio.sh

      

In windows, run Studio as "Administrator".

+1


source







All Articles