title: Expo build EAS - local - SDK location not found
body: <p>When I used the new build tool from expo called <a href="https://docs.expo.dev/eas/" rel="nofollow noreferrer">EAS</a> to build my react native application locally:
  <br><code>eas build --platform android --local</code>
  <br>I got an error:</p>
  <blockquote>
  <p>SDK location not found. Define location with an ANDROID_SDK_ROOT</p>
  </blockquote>
  <p>All the answers I've found are suggesting creating file <code>local.properties</code> in an <code>android</code> directory and setting the <code>sdk.dir</code> in it, this is however related to the old build tool <code>expo build</code>... another option is to simply define the environmental variable on the system level which I tried to avoid.</p>
  <p>So I was wondering how to do it in some type of configuration file still local to the react native project. I found the answer by accident, so I'm sharing the knowledge below </p>
  <p>By the way, if you're looking for where is the default build path of the final bundle - it's most likely dumped into the project root (don't forget to refresh files if you need to).</p>