Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to use Android SDK as a emulator for Unity project

Discussion in 'Android' started by Kavanagh, Jul 25, 2015.

  1. Kavanagh

    Kavanagh

    Joined:
    Nov 17, 2014
    Posts:
    4
    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
     
  2. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,797
  3. iSmart

    iSmart

    Joined:
    Sep 23, 2014
    Posts:
    43
  4. timothyallan

    timothyallan

    Joined:
    May 22, 2013
    Posts:
    72
    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.
     
    thanhtam2a, mero909, fbittner and 2 others like this.
  5. iSmart

    iSmart

    Joined:
    Sep 23, 2014
    Posts:
    43
    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.
     
  6. timothyallan

    timothyallan

    Joined:
    May 22, 2013
    Posts:
    72
    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.
     
    fbittner likes this.
  7. iSmart

    iSmart

    Joined:
    Sep 23, 2014
    Posts:
    43
    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.
     
  8. MohameDiab

    MohameDiab

    Joined:
    Feb 1, 2019
    Posts:
    2
    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
     

    Attached Files:

    • 123.jpg
      123.jpg
      File size:
      366.3 KB
      Views:
      1,162
  9. jesper42

    jesper42

    Joined:
    Jan 11, 2011
    Posts:
    27
    What you describe will only make the emulator work as a remote control for the Unity editor.
     
  10. jmesteban00

    jmesteban00

    Joined:
    Sep 16, 2020
    Posts:
    1
    Unity Remote displays an streaming of the Game tab (realtime video), but feedbacks the user touchscreen inputs if required.