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

前端 未结 30 1208
孤街浪徒
孤街浪徒 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:30

    Open your React Native Project Root Directory and locate android -> app -> build -> intermediates -> signing_config -> debug -> out -> signing-config.json . delete signing-config.json this file try again

    Or

    1)Sometimes if we have older version of react native and some of newly installed packages dose not support older version. Then you have to update the react native project using react-native upgrade command.

    1. After done updating current project to new version this error should resolved.

提交回复
热议问题