Home > Mobile >  Mac silicon android studio installation stuck on downloading
Mac silicon android studio installation stuck on downloading

Time:08-18

So i've downloaded the correct apple silicon android studio installation from their website. when trying to install the installation process gets stuck on this message:

Downloading https://dl.google.com/android/repository/emulator-darwin_aarch64-8807927.zip Warning: This download could not be finalized from the interim state. Retrying without caching. Downloading https://dl.google.com/android/repository/emulator-darwin_aarch64-8807927.zip

I have left it like that for hours but with no luck

any workaround?

CodePudding user response:

@TomerZigdon Do you actually need an emulator for testing?

Here's a solution that worked for me. I have a physical device that I test the apps on and I don't require an emulator. So as per this answer (https://stackoverflow.com/a/39880185/3273842), I disabled android checking for first run. Android Studio opens just usual and on creating a new (dummy) project, it installs the needed SDK versions (not the emulator)

disable.android.first.run=true

Full credits & steps to follow: https://stackoverflow.com/a/39880185/3273842

CodePudding user response:

today I solved the problem like this:

  1. Download file and unzip: https://dl.google.com/android/repository/emulator-darwin_aarch64-8807927.zip
  2. Cancel button.
  3. Go to /Users/YOUR NAME/Library/Android/sdk
  4. Delete the folder "emulator" and add new unzipped folder the same name
  5. Finish!

Try to add simulator.

Later, maybe I will find a better way, but this way allowed me to work at the moment and not delay work.

  • Related