title: How to clear react-native cache?
body: <p>In react-native development, there are multiple caches used when the app is built:</p>
  <ol>
  <li>React-native packager cache</li>
  <li>Emulator cache</li>
  <li>Java side cache (.gradle) folder (only in android)</li>
  <li>npm cache (if relevant?)</li>
  </ol>
  <p>Am I missing something also? Because I'm trying to clear cache in react-native, to be able to repeat a bug that only occurs on first usage. But clearing those caches above did not help. This is on android. When the app is building, most of the rows DO NOT say UP-TO-DATE, as expected, because I cleared the cache.</p>
  <p>But, there are still many rows where this text is printed. Like:</p>
  <blockquote>
  <p>app:preBuild UP-TO-DATE</p>
  <p>app:preDebugBuild UP-TO-DATE</p>
  <p>:app:preReleaseBuild UP-TO-DATE</p>
  </blockquote>
  <p>The question is, how can I clear the whole cache related to react-native development?</p>