Git Product home page Git Product logo

Comments (38)

741g avatar 741g commented on May 2, 2024 13

Hi, we're working on providing the Play Store; we'll release an image here and through the Android SDK when it's ready.

from android-emulator-m1-preview.

kevin-Price avatar kevin-Price commented on May 2, 2024 10

Do you have a timeline available for the playstore release?

from android-emulator-m1-preview.

741g avatar 741g commented on May 2, 2024 9

If you want to test for google maps API, you can use the preview v3 which has Google APIs: https://github.com/google/android-emulator-m1-preview/releases/tag/0.3

The system image is also available in the SDK Manager preview channel.

from android-emulator-m1-preview.

maxfloden avatar maxfloden commented on May 2, 2024 7

@wy555 So the Android Studio 4.1.2 contains the Android Emulator for M1 with the Google Play services ?

Just tested on latest version 4.1.3 and it does include M1 Emulator with Google Play.
Thanks to this thread I realized I no longer have to run this GitHub beta but that the M1 Emulator is now actually included in Android Studio.
I would suggest the readme for this repo is updated to reflect this.

To install from Android Studion I did this: Tools - AVD Manager - Create Virtual Device - Pixel4 (with Google Play) - Select System Image / Other Images / Release S with ABI arm64-v8a
I hope this helps someone.

from android-emulator-m1-preview.

741g avatar 741g commented on May 2, 2024 6

The Play Store version should already be available through Android Studio (Android R arm64 v8a Google Play).

from android-emulator-m1-preview.

mushroomgenie avatar mushroomgenie commented on May 2, 2024 5

@741g Android R arm64 v8a Google Play isn't supported by the new M1 Macs, I am unable to select that as a System Image. I am trying to develop an app that uses SMS data, but I am getting error message saying "Google Play Services not available". Is there going to be a release with Google Play soon?

from android-emulator-m1-preview.

msivers avatar msivers commented on May 2, 2024 3

The Play Store version should already be available through Android Studio (Android R arm64 v8a Google Play).

It's great that this is working via Android Studio (4.1.2) release which indeed includes Android R arm64 v8a with Google Play (Emulator version 30.3.5-7036990) - however, Chrome does not work and you can't navigate to any web pages which includes any authentication views that require web view. Is there an ETA for Chrome working?!

from android-emulator-m1-preview.

madhall avatar madhall commented on May 2, 2024 3

Hi,

I tried installing the emulator manually by installing the latest version for M1 devices but it has nio google play services! And when I am trying to install via "Other Images" it allows me to create a virtual device but says no Emulators available... any thoughts on how to get the Emulator with Google Play working on M1 Macs?

from android-emulator-m1-preview.

morlay avatar morlay commented on May 2, 2024 3

@CodeChamp-SS @russelRajitha

it may a emulator path issue, i created a symlink to fix it

ln -s ~/Library/Android/sdk/emulator/emulator-darwin-aarch64-0.2/emulator ~/Library/Android/sdk/emulator/emulator

image

emulator dir:

$ ~/Library/Android/sdk/emulator ll 
-rw-r--r--   1 morlay  staff    32K Apr 13 08:04 NOTICE.csv
-rw-r--r--   1 morlay  staff   135K Apr 13 08:04 NOTICE.txt
-rw-r--r--   1 morlay  staff   250B Apr 13 08:04 android-info.txt
drwxr-xr-x   2 morlay  staff    64B Apr 13 09:56 bin64
-rwxr-xr-x   1 morlay  staff    12K Apr 13 08:04 darwin-aarch64-replace.sh
lrwxr-xr-x   1 morlay  staff    36B Apr 13 10:14 emulator -> emulator-darwin-aarch64-0.2/emulator
drwxr-xr-x  19 morlay  staff   608B Dec 17 03:56 emulator-darwin-aarch64-0.2
-rw-r--r--   1 morlay  staff    92M Apr 13 09:56 emulator-darwin-aarch64-0.2.zip
drwxr-xr-x   3 morlay  staff    96B Apr 13 09:56 lib
drwxr-xr-x   5 morlay  staff   160B Apr 13 09:56 lib64
-rwxr-xr-x   1 morlay  staff    34K Apr 13 08:04 mksdcard
-rw-r--r--   1 morlay  staff    17K Apr 13 08:05 package.xml
drwxr-xr-x   3 morlay  staff    96B Apr 13 08:05 qemu
drwxr-xr-x   4 morlay  staff   128B Apr 13 09:56 resources
-rw-r--r--   1 morlay  staff   101B Apr 13 08:04 source.properties

I manual run sh ./darwin-aarch64-replace.sh

break on rm: ./qsn: No such file or directory, seems something not correct in ./darwin-aarch64-replace.sh

final

cd ~/Library/Android/sdk/emulator

# cleanup all
rm -rf ./lib*   
rm -rf ./qemu*
rm -rf ./resources  
 
cp -r emulator-darwin-aarch64-0.2/* . 
-rw-r--r--   1 morlay  staff   524B Apr 13 10:46 LICENSE
-rw-r--r--   1 morlay  staff    15K Apr 13 10:46 NOTICE.csv
-rw-r--r--   1 morlay  staff   116K Apr 13 10:46 NOTICE.txt
-rw-r--r--   1 morlay  staff   250B Apr 13 10:46 android-info.txt
drwxr-xr-x   7 morlay  staff   224B Apr 13 10:43 bin64
-rwxr-xr-x   1 morlay  staff    12K Apr 13 10:46 darwin-aarch64-replace.sh
-rwxr-xr-x   1 morlay  staff    14M Apr 13 10:46 emulator
-rwxr-xr-x   1 morlay  staff    14M Apr 13 10:46 emulator-check
drwxr-xr-x  19 morlay  staff   608B Dec 17 03:56 emulator-darwin-aarch64-0.2
-rw-r--r--   1 morlay  staff    92M Apr 13 10:40 emulator-darwin-aarch64-0.2.zip
drwxr-xr-x  14 morlay  staff   448B Apr 13 10:46 lib
drwxr-xr-x   8 morlay  staff   256B Apr 13 10:46 lib64
-rwxr-xr-x   1 morlay  staff    68K Apr 13 10:46 mksdcard
-rw-r--r--   1 morlay  staff    17K Apr 13 08:05 package.xml
-rwxr-xr-x   1 morlay  staff   2.0M Apr 13 10:46 perfetto-protozero-protoc-plugin
drwxr-xr-x   3 morlay  staff    96B Apr 13 10:46 qemu
-rwxr-xr-x   1 morlay  staff   3.2M Apr 13 10:46 qemu-img
-rwxr-xr-x   1 morlay  staff    14M Apr 13 10:46 qsn
drwxr-xr-x  10 morlay  staff   320B Apr 13 10:46 resources
-rw-r--r--   1 morlay  staff   101B Apr 13 10:46 source.properties

from android-emulator-m1-preview.

russelRajitha avatar russelRajitha commented on May 2, 2024 2

@wy555 So the Android Studio 4.1.2 contains the Android Emulator for M1 with the Google Play services ?

Just tested on latest version 4.1.3 and it does include M1 Emulator with Google Play.
Thanks to this thread I realized I no longer have to run this GitHub beta but that the M1 Emulator is now actually included in Android Studio.
I would suggest the readme for this repo is updated to reflect this.

To install from Android Studion I did this: Tools - AVD Manager - Create Virtual Device - Pixel4 (with Google Play) - Select System Image / Other Images / Release S with ABI arm64-v8a
I hope this helps someone.

I tried this. and it does not works.
I have installed android studio 4.1.3.

Screenshot 2021-04-06 at 08 12 19

Screenshot 2021-04-06 at 08 17 00

from android-emulator-m1-preview.

CodeChamp-SS avatar CodeChamp-SS commented on May 2, 2024 2

@wy555 So the Android Studio 4.1.2 contains the Android Emulator for M1 with the Google Play services ?

Just tested on latest version 4.1.3 and it does include M1 Emulator with Google Play.
Thanks to this thread I realized I no longer have to run this GitHub beta but that the M1 Emulator is now actually included in Android Studio.
I would suggest the readme for this repo is updated to reflect this.

To install from Android Studion I did this: Tools - AVD Manager - Create Virtual Device - Pixel4 (with Google Play) - Select System Image / Other Images / Release S with ABI arm64-v8a
I hope this helps someone.

Screenshot 2021-04-06 at 1 22 36 PM

did the same as you mentioned, but couldn't run the emulator on the android studio(4.1.3).

from android-emulator-m1-preview.

ska2519 avatar ska2519 commented on May 2, 2024 2

@wy555 So the Android Studio 4.1.2 contains the Android Emulator for M1 with the Google Play services ?

Just tested on latest version 4.1.3 and it does include M1 Emulator with Google Play.
Thanks to this thread I realized I no longer have to run this GitHub beta but that the M1 Emulator is now actually included in Android Studio.
I would suggest the readme for this repo is updated to reflect this.

To install from Android Studion I did this: Tools - AVD Manager - Create Virtual Device - Pixel4 (with Google Play) - Select System Image / Other Images / Release S with ABI arm64-v8a
I hope this helps someone.

first run failed, and on the second run, the emulator turned on after agreeing to Apple pop-up window πŸ‘

from android-emulator-m1-preview.

msivers avatar msivers commented on May 2, 2024 1

How close are we for having Play Store? ... I have a nice new Mac but can't develop my app on it as no emulator that works (requires Play Store support). An ETA would be extremely helpful?!

from android-emulator-m1-preview.

ska2519 avatar ska2519 commented on May 2, 2024 1

@CodeChamp-SS When I turned on the first time, a pop-up like you appeared and failed, and on the second run, the emulator turned on after agreeing to Apple pop-up window.

I tried running it multiple times but it showed the same error πŸ˜….

sorry about that πŸ˜‚

from android-emulator-m1-preview.

morlay avatar morlay commented on May 2, 2024 1

@CodeChamp-SS

not sure which version you installed.

try manual download

# copy from  `darwin-aarch64-replace.sh`

export EMULATOR_DOWNLOAD_BASE_NAME=emulator-darwin-aarch64-0.2

rm -rf ${EMULATOR_DOWNLOAD_BASE_NAME}

curl -L "https://github.com/google/android-emulator-m1-preview/releases/download/0.2/${EMULATOR_DOWNLOAD_BASE_NAME}-engine-only.zip" -o ${EMULATOR_DOWNLOAD_BASE_NAME}.zip

unzip ${EMULATOR_DOWNLOAD_BASE_NAME}.zip

from android-emulator-m1-preview.

CodeChamp-SS avatar CodeChamp-SS commented on May 2, 2024 1

@CodeChamp-SS

copy from darwin-aarch64-replace.sh

export EMULATOR_DOWNLOAD_BASE_NAME="emulator-darwin-aarch64-0.2"
rm -rf ${EMULATOR_DOWNLOAD_BASE_NAME}
echo "curl -L https://github.com/google/android-emulator-m1-preview/releases/download/0.2/${EMULATOR_DOWNLOAD_BASE_NAME}-engine-only.zip -o ${EMULATOR_DOWNLOAD_BASE_NAME}.zip"
curl -L https://github.com/google/android-emulator-m1-preview/releases/download/0.2/${EMULATOR_DOWNLOAD_BASE_NAME}-engine-only.zip -o ${EMULATOR_DOWNLOAD_BASE_NAME}.zip && \
echo "unzip ${EMULATOR_DOWNLOAD_BASE_NAME}.zip" && \
unzip ${EMULATOR_DOWNLOAD_BASE_NAME}.zip

It works now, the emulator is running now 😍.Thanks a lot for the help

from android-emulator-m1-preview.

hiroshihorie avatar hiroshihorie commented on May 2, 2024

@msivers I had the same issue, but when I disabled Chrome I could proceed Facebook Login with the other build in test browser.

from android-emulator-m1-preview.

wy555 avatar wy555 commented on May 2, 2024

Hi,

I tried installing the emulator manually by installing the latest version for M1 devices but it has nio google play services! And when I am trying to install via "Other Images" it allows me to create a virtual device but says no Emulators available... any thoughts on how to get the Emulator with Google Play working on M1 Macs?

I have the same question too. No Google Play services even with the latest Android Emulator Preview for M1 version 3. Is there a way to install the Google Play services manually ?

from android-emulator-m1-preview.

wy555 avatar wy555 commented on May 2, 2024

The Play Store version should already be available through Android Studio (Android R arm64 v8a Google Play).

It's great that this is working via Android Studio (4.1.2) release which indeed includes Android R arm64 v8a with Google Play (Emulator version 30.3.5-7036990) - however, Chrome does not work and you can't navigate to any web pages which includes any authentication views that require web view. Is there an ETA for Chrome working?!

You were saying you manage to get the Google Play to work on your Android Emulator for M1 (Silicon ARM64) by installing Android Studio 4.1.2 ?
So the Android Studio 4.1.2 contains the Android Emulator for M1 with the Google Play services ?

from android-emulator-m1-preview.

wy555 avatar wy555 commented on May 2, 2024

@741g Android R arm64 v8a Google Play isn't supported by the new M1 Macs, I am unable to select that as a System Image. I am trying to develop an app that uses SMS data, but I am getting error message saying "Google Play Services not available". Is there going to be a release with Google Play soon?

I have the same question too. Hoping there is a Android Emulator for M1 with the Google Play. Or is there a workaround to install the google play on Android Emulator for M1 Preview version 3 ?

from android-emulator-m1-preview.

ska2519 avatar ska2519 commented on May 2, 2024

@CodeChamp-SS When I turned on the first time, a pop-up like you appeared and failed, and on the second run, the emulator turned on after agreeing to Apple pop-up window.

from android-emulator-m1-preview.

CodeChamp-SS avatar CodeChamp-SS commented on May 2, 2024

@CodeChamp-SS When I turned on the first time, a pop-up like you appeared and failed, and on the second run, the emulator turned on after agreeing to Apple pop-up window.

I tried running it multiple times but it showed the same error πŸ˜….

from android-emulator-m1-preview.

russelRajitha avatar russelRajitha commented on May 2, 2024

@CodeChamp-SS @russelRajitha

it may a emulator path issue, i created a symlink to fix it

ln -s ~/Library/Android/sdk/emulator/emulator-darwin-aarch64-0.2/emulator ~/Library/Android/sdk/emulator/emulator

emulator dir:

$ ~/Library/Android/sdk/emulator ll 
-rw-r--r--   1 morlay  staff    32K Apr 13 08:04 NOTICE.csv
-rw-r--r--   1 morlay  staff   135K Apr 13 08:04 NOTICE.txt
-rw-r--r--   1 morlay  staff   250B Apr 13 08:04 android-info.txt
drwxr-xr-x   2 morlay  staff    64B Apr 13 09:56 bin64
-rwxr-xr-x   1 morlay  staff    12K Apr 13 08:04 darwin-aarch64-replace.sh
lrwxr-xr-x   1 morlay  staff    36B Apr 13 10:14 emulator -> emulator-darwin-aarch64-0.2/emulator
drwxr-xr-x  19 morlay  staff   608B Dec 17 03:56 emulator-darwin-aarch64-0.2
-rw-r--r--   1 morlay  staff    92M Apr 13 09:56 emulator-darwin-aarch64-0.2.zip
drwxr-xr-x   3 morlay  staff    96B Apr 13 09:56 lib
drwxr-xr-x   5 morlay  staff   160B Apr 13 09:56 lib64
-rwxr-xr-x   1 morlay  staff    34K Apr 13 08:04 mksdcard
-rw-r--r--   1 morlay  staff    17K Apr 13 08:05 package.xml
drwxr-xr-x   3 morlay  staff    96B Apr 13 08:05 qemu
drwxr-xr-x   4 morlay  staff   128B Apr 13 09:56 resources
-rw-r--r--   1 morlay  staff   101B Apr 13 08:04 source.properties

I manual run sh ./darwin-aarch64-replace.sh

break on rm: ./qsn: No such file or directory, seems something not correct in ./darwin-aarch64-replace.sh

final

cd ~/Library/Android/sdk/emulator

# cleanup all
rm -rf ./lib*   
rm -rf ./qemu*
rm -rf ./resources  
 
cp -r emulator-darwin-aarch64-0.2/* . 
-rw-r--r--   1 morlay  staff   524B Apr 13 10:46 LICENSE
-rw-r--r--   1 morlay  staff    15K Apr 13 10:46 NOTICE.csv
-rw-r--r--   1 morlay  staff   116K Apr 13 10:46 NOTICE.txt
-rw-r--r--   1 morlay  staff   250B Apr 13 10:46 android-info.txt
drwxr-xr-x   7 morlay  staff   224B Apr 13 10:43 bin64
-rwxr-xr-x   1 morlay  staff    12K Apr 13 10:46 darwin-aarch64-replace.sh
-rwxr-xr-x   1 morlay  staff    14M Apr 13 10:46 emulator
-rwxr-xr-x   1 morlay  staff    14M Apr 13 10:46 emulator-check
drwxr-xr-x  19 morlay  staff   608B Dec 17 03:56 emulator-darwin-aarch64-0.2
-rw-r--r--   1 morlay  staff    92M Apr 13 10:40 emulator-darwin-aarch64-0.2.zip
drwxr-xr-x  14 morlay  staff   448B Apr 13 10:46 lib
drwxr-xr-x   8 morlay  staff   256B Apr 13 10:46 lib64
-rwxr-xr-x   1 morlay  staff    68K Apr 13 10:46 mksdcard
-rw-r--r--   1 morlay  staff    17K Apr 13 08:05 package.xml
-rwxr-xr-x   1 morlay  staff   2.0M Apr 13 10:46 perfetto-protozero-protoc-plugin
drwxr-xr-x   3 morlay  staff    96B Apr 13 10:46 qemu
-rwxr-xr-x   1 morlay  staff   3.2M Apr 13 10:46 qemu-img
-rwxr-xr-x   1 morlay  staff    14M Apr 13 10:46 qsn
drwxr-xr-x  10 morlay  staff   320B Apr 13 10:46 resources
-rw-r--r--   1 morlay  staff   101B Apr 13 10:46 source.properties

@morlay You are my angel of hope ❀️❀️❀️

from android-emulator-m1-preview.

morlay avatar morlay commented on May 2, 2024

@741g
could you help to upgrade the ./darwin-aarch64-replace.sh ? to make first installing happy
i haven't find where the source code is.

#1 (comment)

from android-emulator-m1-preview.

CodeChamp-SS avatar CodeChamp-SS commented on May 2, 2024

@CodeChamp-SS @russelRajitha

it may a emulator path issue, i created a symlink to fix it

ln -s ~/Library/Android/sdk/emulator/emulator-darwin-aarch64-0.2/emulator ~/Library/Android/sdk/emulator/emulator

image

emulator dir:

$ ~/Library/Android/sdk/emulator ll 
-rw-r--r--   1 morlay  staff    32K Apr 13 08:04 NOTICE.csv
-rw-r--r--   1 morlay  staff   135K Apr 13 08:04 NOTICE.txt
-rw-r--r--   1 morlay  staff   250B Apr 13 08:04 android-info.txt
drwxr-xr-x   2 morlay  staff    64B Apr 13 09:56 bin64
-rwxr-xr-x   1 morlay  staff    12K Apr 13 08:04 darwin-aarch64-replace.sh
lrwxr-xr-x   1 morlay  staff    36B Apr 13 10:14 emulator -> emulator-darwin-aarch64-0.2/emulator
drwxr-xr-x  19 morlay  staff   608B Dec 17 03:56 emulator-darwin-aarch64-0.2
-rw-r--r--   1 morlay  staff    92M Apr 13 09:56 emulator-darwin-aarch64-0.2.zip
drwxr-xr-x   3 morlay  staff    96B Apr 13 09:56 lib
drwxr-xr-x   5 morlay  staff   160B Apr 13 09:56 lib64
-rwxr-xr-x   1 morlay  staff    34K Apr 13 08:04 mksdcard
-rw-r--r--   1 morlay  staff    17K Apr 13 08:05 package.xml
drwxr-xr-x   3 morlay  staff    96B Apr 13 08:05 qemu
drwxr-xr-x   4 morlay  staff   128B Apr 13 09:56 resources
-rw-r--r--   1 morlay  staff   101B Apr 13 08:04 source.properties

I manual run sh ./darwin-aarch64-replace.sh

break on rm: ./qsn: No such file or directory, seems something not correct in ./darwin-aarch64-replace.sh

final

cd ~/Library/Android/sdk/emulator

# cleanup all
rm -rf ./lib*   
rm -rf ./qemu*
rm -rf ./resources  
 
cp -r emulator-darwin-aarch64-0.2/* . 
-rw-r--r--   1 morlay  staff   524B Apr 13 10:46 LICENSE
-rw-r--r--   1 morlay  staff    15K Apr 13 10:46 NOTICE.csv
-rw-r--r--   1 morlay  staff   116K Apr 13 10:46 NOTICE.txt
-rw-r--r--   1 morlay  staff   250B Apr 13 10:46 android-info.txt
drwxr-xr-x   7 morlay  staff   224B Apr 13 10:43 bin64
-rwxr-xr-x   1 morlay  staff    12K Apr 13 10:46 darwin-aarch64-replace.sh
-rwxr-xr-x   1 morlay  staff    14M Apr 13 10:46 emulator
-rwxr-xr-x   1 morlay  staff    14M Apr 13 10:46 emulator-check
drwxr-xr-x  19 morlay  staff   608B Dec 17 03:56 emulator-darwin-aarch64-0.2
-rw-r--r--   1 morlay  staff    92M Apr 13 10:40 emulator-darwin-aarch64-0.2.zip
drwxr-xr-x  14 morlay  staff   448B Apr 13 10:46 lib
drwxr-xr-x   8 morlay  staff   256B Apr 13 10:46 lib64
-rwxr-xr-x   1 morlay  staff    68K Apr 13 10:46 mksdcard
-rw-r--r--   1 morlay  staff    17K Apr 13 08:05 package.xml
-rwxr-xr-x   1 morlay  staff   2.0M Apr 13 10:46 perfetto-protozero-protoc-plugin
drwxr-xr-x   3 morlay  staff    96B Apr 13 10:46 qemu
-rwxr-xr-x   1 morlay  staff   3.2M Apr 13 10:46 qemu-img
-rwxr-xr-x   1 morlay  staff    14M Apr 13 10:46 qsn
drwxr-xr-x  10 morlay  staff   320B Apr 13 10:46 resources
-rw-r--r--   1 morlay  staff   101B Apr 13 10:46 source.properties

I didn't get itπŸ˜…, what exactly do I have to do?

from android-emulator-m1-preview.

morlay avatar morlay commented on May 2, 2024

@CodeChamp-SS

./darwin-aarch64-replace.sh now will not correctly run when first installed.

just need to run, and restart your created adv

# path to sdk emulator
cd ~/Library/Android/sdk/emulator

# cleanup all, should cover neccessary files in ./darwin-aarch64-replace.sh
rm -rf ./lib*   
rm -rf ./qemu*
rm -rf ./resources  
rm -rf ./bin64
rm -rf ./qsn
 
# copy emulator files for darwin aarch64
cp -r emulator-darwin-aarch64-0.2/* . 

from android-emulator-m1-preview.

CodeChamp-SS avatar CodeChamp-SS commented on May 2, 2024

This is the terminal output after running the last command.

Screenshot 2021-04-13 at 8 49 17 AM

Is it fine? Or am I doing something wrong? avd still shows the same error

from android-emulator-m1-preview.

morlay avatar morlay commented on May 2, 2024

@CodeChamp-SS cp -r emulator-darwin-aarch64-0.2/* . the dot for current dir

from android-emulator-m1-preview.

CodeChamp-SS avatar CodeChamp-SS commented on May 2, 2024

@CodeChamp-SS cp -r emulator-darwin-aarch64-0.2/* . the dot for current dir

I tried this but it says, no matches found

from android-emulator-m1-preview.

CodeChamp-SS avatar CodeChamp-SS commented on May 2, 2024

@morlay I've recently started facing another problem with the emulator, it shows the same error every time I try to run an app on the emulator, though the emulator starts and runs properly. Is there any chance you can help me out with this too? Thanks in advance.
image

I tried deleting the *lock files too, that too many times, but it didn't help at all, I even tried uninstalling android studio completely and reinstalling it, but that too went in vain. ☹️

from android-emulator-m1-preview.

anarnoli avatar anarnoli commented on May 2, 2024

Hey, I tried the same steps and able to run Emulator but device status is Unreachable which is causing app crash and can't run app over Emulator. Any suggestion?

image

from android-emulator-m1-preview.

ebauger avatar ebauger commented on May 2, 2024

On Apple M1 Mac mini

Android Studio Arctic Fox | 2020.3.1 Beta 3
Build #AI-203.7717.56.2031.7395685, built on May 25, 2021
Runtime version: 11.0.10+0-b96-7249189 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry: external.system.auto.import.disabled=true

When I create a VM or edit on.

I got a popup message to see idea.log

idea.log

Error: Failed to create the SD card.
Error: Failed to create the sdcard in the AVD folder.

Quick fix here:

I created a new emulator on Pixel 4 (with Google Play) and on advanced settings: change the SD Card space from 512MB to 1024MB on Studio-managed

image

VoilΓ !

from android-emulator-m1-preview.

vanditmehta avatar vanditmehta commented on May 2, 2024

@wy555 So the Android Studio 4.1.2 contains the Android Emulator for M1 with the Google Play services ?

Just tested on latest version 4.1.3 and it does include M1 Emulator with Google Play.
Thanks to this thread I realized I no longer have to run this GitHub beta but that the M1 Emulator is now actually included in Android Studio.
I would suggest the readme for this repo is updated to reflect this.

To install from Android Studion I did this: Tools - AVD Manager - Create Virtual Device - Pixel4 (with Google Play) - Select System Image / Other Images / Release S with ABI arm64-v8a
I hope this helps someone.

Internet not working with this...any help

from android-emulator-m1-preview.

JunHyunJunHyun avatar JunHyunJunHyun commented on May 2, 2024

I also don't have internet connection. I think it's because of the recent MacOS update.

If you know the solution, please share it!

from android-emulator-m1-preview.

JunHyunJunHyun avatar JunHyunJunHyun commented on May 2, 2024

I also don't have internet connection. I think it's because of the recent MacOS update.

If you know the solution, please share it!

I solved this problem. All it takes is to install an Android studio for m1, and an ARM-only system image.

You can install Android Studios for m1 on this link.
https://developer.android.com/studio/archive

However, be aware of the use as this is a preview version.

from android-emulator-m1-preview.

guiccbr avatar guiccbr commented on May 2, 2024

Great, thank you all. I followed the instructions to install the Pixel 4 Arm simulator with Google Play and now Chrome is not crashing anymore.

from android-emulator-m1-preview.

icydevx avatar icydevx commented on May 2, 2024

The Emulator in Android Studio (m1 Artic Beta 5) could not run some Unity apps such as "Pokemon Go" and "Cookie Run: Kingdom", it stucks when launching the App and then the whole Emulator hangs, I have tried API 30/31 arm64-v8a Google Play/APIs Android 11/12, no luck for all.

However it runs smoothly with this android-emulator-m1-preview. It would be perfect if you can add Google Play and Google Play Games in this image.

from android-emulator-m1-preview.

sergtimosh avatar sergtimosh commented on May 2, 2024

I had 2 emulator binaries, and one was in the ~/Library/Android/sdk/tools
If the above steps doesn't help you, try to delete tools folder or particularly it's emulator binary.
image

from android-emulator-m1-preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.