- Home /
How to enable unity remote 5 to work with android device
im using unity remote 5 to connect to my laptop the version of the app of unity im using is 5.4 have tried everything but its not working any advice would be good,have already tried the sdk things but have not had luck
Did you manage to run it on earlier versions? Sometimes it just wont work until you restart your android device.
Answer by aRayon · Oct 20, 2016 at 10:15 AM
Not sure if this will help, but I also had this problem and I made it work following these steps:
In Unity, leave enabled the option at “Unity Remote Editor Settings> Device> Any Android Device”
Close Unity.
Open Unity Remote App on your Android device.
Connect your device to your computer.
Open Unity again.
It looks like it's working to me!
I hope that helps.
(I’m using Mac)
I logged in just to upvote your post! this fix worked, been trying to find a solution forever! Thanks aRayon!
This is the only solution here that worked for me. If I close the remote app on my phone then I have to restart Unity to get it working again. A bit of a hassle but a great workaround. It's working perfectly if I leave the remote app open in the background.
Thanks for sharing! :)
Actually had to add the step "Reboot computer" between 1st and 2nd step for it to work...
Nice man. I've been trying to make this work for a long time, and this is the only solution that worked for me! GJ.
i have followed all the steps mentioned above and in documentation but it is still not working. I am using macbook , mojave version and redmi K20 android device. Any Help ?
Answer by EdwinChua · May 05, 2017 at 01:10 PM
If anyone has tried the suggestions, and failed to get the Unity Remote working, do this:
Setup in Unity: “Unity Remote Editor Settings> Device> Any Android Device”
Then:
Open a command window.
Navigate to your Android ADB folder. (For Windows Users, C:\Users[UserName]\AppData\Local\Android\sdk\platform-tools)
Kill the adb server with the following command:
adb kill-server
Restart the adb server:
adb start-server
Open Unity Remote on your device.
Press play.
Repeat whenever you encounter this issue.
Any idea why I can't open the adb fil in the platform-tools folder? it just flashes the cmd screen for a milisecond and dissappears...
@NienNumb Assu$$anonymous$$g you are running Windows, you will need to do this:
1) Open a command prompt window (Start > command prompt OR run > cmd) 2) Copy your folder extension to adb (full path from file explorer) 3) in command prompt, type "cd path/to/adb" - This will get you to the right folder in command prompt 4) Now, follow the steps above
Thanks for the response! so in cmd copy : C:\Users\Darren\AppData\Local\Android\sdk\platform-tools and then don't hit enter> Where do I add the cd path/to/adb part? Sorry I am consfused. I really want this android emulator to work in Unity and have been at it for days. It just won't do anything. and yes I have set up developer support in phone and added the file paths to untiy.
A bit late, but maybe someone can help. I am using Unity 2019.1 and downloaded the android build support and the sdk via Unity Hub.
For Windows Users, C:\Users[UserName]\AppData\Local\Android\sdk\platform-tools
This path does not exist on my PC. The SD$$anonymous$$ is now in C:\Program Files\Unity\Hub\Editor\2019.1.0f2\Editor\Data\PlaybackEngines\AndroidPlayer\SD$$anonymous$$. But when I type adb kill-server I get "adb is not recognized as an internal or external command, operable program, operable program or batch file."
Answer by botelho_gt · May 14, 2017 at 04:45 PM
Yeah, i wasn't getting it working at all, until i closed unity, after configure the Editor Settings, connected the usb cable in the motherboard entries (not the front panel ones), waited the smartphone connect, inicialized unity again, pressed play and voila!
I legit created/confirmed my account to thank you hahaha I legit switched my usb port and did exactly what you said it worked! Almost gave up :) Thanks bud!
Answer by tocieslak · Apr 19, 2017 at 03:06 PM
In my case it works only when the device is connected to some USB on a motherboard (only first 4 USB's). Doesn't work on USB on the front panel and PCIE USB extension card.
Answer by akash_virodhia · Oct 20, 2017 at 02:50 PM
For Xiaomi phone Users, Make sure to select PTP option(Transfer photos) by tapping on 'charging only' when you connect to pc via USB.
I did that but it still doesn't work for me. I have restarted the computer but that didn't help either. Do you have any more ideas?
It finally works!!! I had to change the path of my SDK manually.
Here is the link to $$anonymous$$urmer's answer. https://answers.unity.com/questions/1628598/set-up-android-sdk-path-to-make-android-remote-wor.html?_ga=2.8805941.1492158098.1594711921-940295631.1591961151.
Thank you $$anonymous$$urmer!!! I was going crazy