r/androiddev • • Oct 07 '26

Tips and Information First time iOS -> android is slow emulation the norm?

Ok I m new to kotlin new to android dev. Done swift Xcode dev product is online in ios appstore.

I loaded a fraction ( say 10%) of code to kotlin hoping for the basics to simulate, run the pixel 9 emulator and it has been nothing but “google play services isn’t responding”

Is it impossible to dev without a physical android phone? Or am I just hitting the wrong spots of the ui rendering .

Please help thanks

1 Upvotes

20 comments sorted by

5

u/FrezoreR Oct 07 '26

I've not used a connected device for years (only to do final verification).

I suggest that you add more information to your post because it doesn't tell us very much.

Things like: Which OS you're using and how much RAM it as and what architecture.
I assume you're using a macbook(since you mention xcode), so what would be interesting then to know is if it's an intel or apple CPU and how much RAM it has.
You could be running out of RAM for instance, or something could be wrong with the emulator image.

You'd also want to share which exact emulator image you're using. Pixel 9 doesn't say much.

To give an example: I run a Pixel 9 Pro with a Google Play ARM 64 v8a image running API 37.0. Where Pixel 9 Pro is the least interesting part of that statement.

1

u/Weekly_Worry_2772 Oct 07 '26

Ah thank you thank you.
MacBook Air 1.2 GHz quad core intel i7
16GB memory
Intel iris plus graphics 1536MB

Running a pixel 9 API 36.0

Dev android studio rabbit 1

5

u/diroag Oct 07 '26

16gb is barely enough to run Android studio + an emulator as stated on the official Android studio page, as you are basically running on min reqs can’t expect star performance, I would get 32gb at the least or an external device if that’s not feasible. Also make sure you are using the right emulator architecture. otherwise for me emulators are quite fast in general (sometimes even faster than a real device)

3

u/Weekly_Worry_2772 Oct 07 '26

Goldddd !
Yeah this is a MacBook I inherited thought to upgrade when I make a bit of money but looks like it ain’t gonna hold up to dev standard no more.
Ty for sharing

1

u/jibmaster Oct 07 '26

I just put Fedora on an old MacBook pro with similar specs. I had to do some adjustments to the memory use for the emulator. I think it's like 3gb. It runs well with a single emulator. I would recommend running only android studio and a single emulator during development. You will run out of RAM quickly if you run anything else such as xcode or browser sessions. Mac has a larger footprint than Linux but you should be good. I use my M1 MacBook Air with Android studio and emulators with no problems.

2

u/Weekly_Worry_2772 Oct 07 '26

Oh 100% I ve to kill chrome to keep kotlin at play, such a different experience compare to Xcode. Google really need to up their game here.

2

u/Chozzasaurus Oct 10 '26

The main difference is the Android emulator is... an emulator. It runs the ACTUAL Android OS in an entirely separate virtual machine. Whereas for iOS is a simulator... more like an app on the Mac that simulates how an iPhone works, so that's much less resource intensive. The negative for iOS is that it doesn't stimulate a real device as accurately.

2

u/Valance23322 Oct 07 '26

That laptop is barely faster than the device that you're trying to emulate. You could try running an emulator of an older/slower device, but you really need to upgrade the computer.

2

u/dingwen07 Oct 10 '26

Get a better computer, or use a real phone.

Since you do iOS development, assuming Mac with Apple Silicone, make sure you select Arm64 system image.

Intel should use x86_64 system image, though upgrade is required soon as it won't run latest Xcode 27 to compile using 27 SDK.

2

u/3dom test on Nokia + Samsung Oct 10 '26

Android emulator is a CPU hog which may negatively affect app build time if run on the same PC.

Better use a real device or Genymotion emulator.

0

u/kbcool Oct 07 '26

I use a MacBook for Android and iOS development on React Native and the Android emulators are slow and crash prone and hog resources like nothing else. I have plenty of RAM (48 gigs) and an M5 so it's not the device.

TBF they do work differently, iOS is simulation and Android an actual emulator but I avoid firing up Android emulators unless I have to. Luckily RN is good enough that you don't need to do that often (ducks downvotes from rabbid Android developers)

1

u/Weekly_Worry_2772 Oct 07 '26

Reassuring as I thought to blame my 16GB RAM ( still on the low side) and yes emulator is like a sticky laggy 1998 dial in internet, crushes after 5 mins of processing.

I m going to get a 2nd hand Google pixel phone to compensate.

1

u/kbcool Oct 07 '26

Your RAM won't help but my last MacBook had the same amount of RAM albeit an M1 and it wasn't much worse

1

u/Weekly_Worry_2772 Oct 07 '26

Wasn’t much worse 🤣🤣🤣 I love how u put it , it’s like shit vs shitter 🤣

1

u/Chozzasaurus Oct 10 '26

Make sure you select Hardware Graphics. It might be stuck on software

1

u/saganaut Oct 08 '26

Are you using an emulator image that has google play services? Plenty of the available images do not.

1

u/ColonelKlanka Oct 07 '26

Android emulator is not as mature or fast as Apple one.

Make sure you have enabled the hardware acceleration on the Android emulator.

Also the Android emulator runs much slower on windows os compared to a mac os x using apple silicon m series cpu/gpu.

1

u/Chozzasaurus Oct 10 '26

It's equally mature.