React native: Android project not found. Maybe run react-native android first?

前端 未结 30 1239
孤街浪徒
孤街浪徒 2020-12-12 16:43

I had an issue in my React-Native project which was working fine earlier but suddenly it stopped working. Whenever I used the command:

react-native run-andro         


        
30条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-12 17:35

    In my case i didn't had the right permissions for my project folder.

    If this is your case just click with the right button on the folder > Properties > Security > Advanced and then change the ownership of the folder to your user, including the subfolders. That should do it

提交回复
热议问题