I’ve been trying to get Unity Remote 5 working for 2 hours now and it still is not doing it’s job.
The main problem I currently have is gettind Android SDK working. All the links I found online are outdated and link to the full Android Studio program, and when I download 1 line only, SDK I get a complete renewed file with no single usable program in it.
So I just decided to go with the full Android Studio program, but now in Unity itself I simply can’t find any folder in Program Files > Android Studio which it accepts as an SDK folder.
Where am I going wrong and is anyone able to help me with this?
Bump. I tried it on 2 differnt phones, both got the settings in developer mode correct. I also installed the usb driver in SDK manager, the only thing right now is that I can’t set the SDK folder in Unity
Well if you can tell me where oh where I can find SDKManager.exe that may would help a lot already. I just installed this because all the old SDK links link to this page: https://developer.android.com/studio/install.html
And in the External Tools all I see is that it wants me to direct a folder, but it doesn’t seem to accept any folder in the program files/Android as a folder it can use. Also there is no android-sdk folder in my Android folder so I may just be missing out on a certain file that I need.
The SDKManager.exe is in the android sdk directory. Just look for where it installed androidstudio and you should see it in there somewhere.
I never used android studio and downloaded the standalone sdk but based on what I read you can’t do that anymore but there is a way but I did not try it and looks like its a batch file now.
Hm. well in the androidstudio folder there simply is no android sdk directory. I ran a whole search trough my entire pc yet it was not able to find it installed anywhere. Yet I’m certain that androidstudio is completly installed. What is up here?
Could also open up Android Studio and then select ‘Settings’ then => submenu: Tools → Android → SDK Manager
To check the location of where it installed it, then you just tell Unity where it is.
1 Install android SDK Android SDK Offline: Android SDK Tools/Manager
2 unzip the files and in the tools folder inside the main SDK folder,run android batch file.
3 SDK manager will show up,select android SDK tools,android build tools,android platform tools,google usb driver(under extras),SDK platform and sources under the latest android version,install these packages.
4 in the platform tools folder,open command prompt,type adb devices(make sure to connect your phone with usb debugging and developer options ‘on’)
If the list displayed is null then go to
'Install OEM usb drivers ’ in google
Download the usb driver of the os of your phone.
5 with your phone plugged in,go to device manager under portable or other devices,right click and select update driver and then browse to the Google usb driver folder(inside your sdk folder),click next.
6 , go through the command prompt again,if unauthorised is displayed then check your phone there must be a box ‘’'Allow this device…" Like that, tap OK
7 install JDK and inside unity edit>preference s>external tools browse to your sdk folder and jdk [version] folder inside JAVA folder. In my case it is inside program files,C:
8 in project settings select any Android device option in the unity remote device drop-down.
9 close unity,open unity remote 5 and open unity again.
10 it should work
Ok i figured out why it was not working i think. Everytime I plug in my phone it asks me how it wants to be connected. do I just want to charge it? do I want to do file transfer? and there are about 7 different choices. I have been choosing to allow the computer to see my phone as a file transfer device. I tried to deny the allowance of file transfer this time and chose charge only and it worked. I also followed these steps specifically
In Unity, leave enabled the option at “Unity Remote Editor Settings> Device> Any Android Device”
Every time on new machine I’m trying to make unity remote works It’s kind a painful quest which exhaust my soul.
Thank you for you messages but it didn’t work for me. What I’ve done:
Install jdk and sdk using Unity Hub
Set android device to developer mode.
Close Unity.
Connect to computer with usb.
Choose charge only.
Run adb devices.
Open Unity
And I did similar things about hundred times but nothing can helps me. As usually the problem will be in one ****ng toggle or something like that.
Does anyone have more suggestions how to setup unity remote? Or maybe where to look for any connection log?