android studio gives me an error : (access denied)

北城以北 提交于 2021-01-25 07:04:50

问题


I deleted my app on phone and then I run android studio but it gives me an error like this :

C:\reactnative\ProjectName\android\app\build\intermediates\signing_config\debug\out\signing-config.json (Access Denied)

I didnt get this error before.


回答1:


Just delete the file signing_config.json

Run react-native run-android or run app from android studio again




回答2:


delete build folder which is placed in C:\reactnative\ProjectName\android\app\ and then run your project react-native run-android




回答3:


Run Android Studio as Administrator it will work.




回答4:


As I was not able to even clean the project, So I deleted the build folder manually, and build It again, this worked for me.




回答5:


For me, there is not such a file and path in the project directory. Just I have to run Android studio as administrator and problem gone. I use windows 10 , 64.




回答6:


If you are facing this error in Flutter then just run the following command in terminal

flutter clean

the answer is given for flutter. If someone is wondering



来源:https://stackoverflow.com/questions/55371137/android-studio-gives-me-an-error-access-denied

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