Install Android emulator in Android Studio with zip files

I could not install the emulator on my Android Studio installation, so I copied this link from the studio and downloaded the zip file ... Now, how to install it using this zip file

https://dl.google.com/android/repository/sys-img/android/x86_64-25_r03.zip

+8
source share
5 answers

I had a problem downloading the emulator (image files) from Android studio. Therefore, when you try to run the application without an emulator. He asks for the possibility of creating a new emulator when downloading the necessary files. It is used to load 60-70% and gives an error. So I used the link in the download dialog and manually downloaded the zip file. Now you need to extract this zip file and paste it into the sdk folder.

sdk / system-images / android- (api level) / (extracted folder)

Note. This is my first thread, so you can suggest some improvements.

+12
source

When I start AVD, I got the following error:

: '/Users/gongzelong/Downloads/sdk/emulator/qemu/darwin-x86_64/qemu-system-i386':

SDK-> Android Emulator Android studio Android Emulator.

.

: - Android Emulator () " Android Emulator (: 27.3.9)". https://dl.google.com/android/repository/emulator-darwin-4899998.zip SDK Android: https://dl.google.com/android/repository/emulator. -darwin-4899998.zip ': /var/folders/gf/hgd91n6x5v73ct9dvhr379500000gn/T/PackageOperation02/emulator-darwin-4899998.zip ( ), : 200 OK. " Android Emulator (: 27.3.9)" . : - Android ()

.

https://dl.google.com/android/repository/emulator-darwin-4899998.zip Chrome, zip ""

zip and extracted directory emulater

sdk

location in location

AVD Android-, .

+1

, . , Android , . , :

  1. curl https://dl.google.com/android/repository/emulator-darwin-4899998.zip -o emulator-darwin-4899998.zip curl https://dl.google.com/android/repository/emulator-darwin-4899998.zip -o emulator-darwin-4899998.zip
  2. root sudo mkdir -p/var/folders/8t/kf42z0w94278zwm6x_wzll7c0000gp/T/PackageOperation03/
  3. sudo chmod -Rfv 777/var/folders/8t/kf42z0w94278zwm6x_wzll7c0000gp/T/PackageOperation03//var/folders/8t/kf42z0w94278zwm6x_wzll7c0000gp/T/PackageOperation03/
  4. mv emulator-darwin-4899998.zip/var/folders/8t/kf42z0w94278zwm6x_wzll7c0000gp/T/PackageOperation03/
  5. , Android Studio . , .
0

, 4 , AVD [/tmp] , , .

, AVD (3,2 + 0,75) ~ = 4 .

, (...), .

0

, francis-bacon ( , , faizann-gagan), : , SDK . XML- . , , ... SDK , .

, , package.xml. ( , SDK )

I could get a copy of this file from the backup and change the version number so that it matches the number in source.properties (at the time of writing, 29.0.11). The old package.xml file can be found at https: // chromium. googlesource.com/android_tools/+/refs/heads/master/sdk/emulator/package.xml as well.

Confirmed work on Mac OS High Sierra and Windows 8.1

0
source

Source: https://habr.com/ru/post/1664746/


All Articles