How to use Android SDK as a emulator for Unity project

Hi guys Trying to make a small android project for learning about mobile I do now own a android device and was wondering is it possible to use the sdk as a emulator in unity do I have to export the project everytime or can i use the emulator as a register device with unity somehow Im broke so cant afford a android decvice not even the very cheap ones I want to use unity for mobile development

Try BlueStacks

Or Genymotion

Run the emulator from the SDK, then click Build and Run from Unity. I don’t have a device either yet, and that’s what I’m doing. Works great.

5 Likes

I think he is asking about playing the game on an Android emulator not inside Unity. There are many options if you don’t have a real device powered with Android OS, my above comment in addition to Meltdown will help you.

I don’t have a hardware device, and I’m currently playing my game in the Nexus 5 emulator that came with the SDK. Unity detects it running, fires over an APK and runs it automatically on the Emu.

1 Like

Aha great though. I thought you are talking about the Game view of Unity not Android SDK. Anyway Genymotion is considered to be faster than the original emulator in addition to other features that exist in a physical device.

IF ANY ONE still face this Problem… easy and best way solution :

1- Download BlueStack … after that Download Unity Remote 5 on this Virtual Emulator (BlueStack)
2 - UNITY : File > Build Settings > Build and Run.

Easy solution

What you describe will only make the emulator work as a remote control for the Unity editor.

Unity Remote displays an streaming of the Game tab (realtime video), but feedbacks the user touchscreen inputs if required.

Note that you can also run the emulator from Android Studio, or from ADB.

Also you must build the game to the chipset of the image. For Mac, this is either ARM or x86. So if you build the game in ARM, you need an ARM Android Emulator image, same for x86.