title: Android studio build fails with apple m1 chip
body: <p>I have new MacBook Pro with the m1 chip, i downloaded the Android studio for apple silicon chip version.
  All works fine until the Build process, while build i get error
  <code>Cause: error=86, Bad CPU type in executable</code>
  i spent half day to fix it but without any success, only after i installed Rosetta it successfully finished the build, the question is why i need Rosetta if i install the apple silicon version of Android Studio?
  I tried to change gradle plugin version and sdk's, but not helped</p>