title: React native: MainApplication.java "new architecture doesn't exist"
body: <p>Environment:
  Mac Pro M1 chip
  react native cli installed
  SDK for android installed and updated
  Android platform 30, 31 installed</p>
  <p>Error displayings:
  MainApplication.java (6 erros)</p>
  <p><a href="https://i.stack.imgur.com/88woK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/88woK.png" alt="enter image description here" /></a></p>
  <p>Have tried cleaning caches with the following and building again</p>
  <p>1.react-native start –reset-cache
  2.  watchman watch-del-all
  3. rm -rf  ~/.gradle/caches/</p>
  <p>Im stuck at this moment. I would truly appreciate some help.</p>