React-native andorid environment error report

Environment: windows10, VScode, hippocampus simulator, Night God simulator, Samsung S8 phone
description:

after react-native init built the project at the beginning, build succeeded and was able to run helloworld in both simulators and mobile phones.

then introduced the react-native-elements component library, and then ran, there was a problem with build. Later, it was found that the RN version was too high. After adjusting to .51,
Build was successful. But the simulator reported an error. Simulator, mobile phone ip port has been adjusted.

Mar.06,2021

. I know why.
cannot use cnpm.
there is a problem with the structure on which the cnpm installation depends, causing packager to fail to recognize it.

Menu