"Wireless export and testing on GearVR"

I'm surprised this worked so easily. Start "ADB wireless" on your Note4. Build & Run your unity game once while not on the gear. Plug it in and every "build&run" should launch with your changes, no removing the phone!   *Works for me, i'm sorry if it doesn't for you. im no expert at wifi adb.  

- Drew

app.jpg

Short version:

ADB Wireless (no root)
https://play.google.com/store/apps/details?id=za.co.henry.hsu.adbwirelessbyhenry&hl=en

1. setup and run "ADB Wireless (no root)" on your note4, leave it running.  

2. Build and Run your app from unity, off the Gear the first time.

3. when prompted plug it in.   Test and put it down without exiting the app

4. Make changes in Unity, Run and build to see changes.

 

Detailed version:

ADB Wireless (no root)
https://play.google.com/store/apps/details?id=za.co.henry.hsu.adbwirelessbyhenry&hl=en

1. setup and run "ADB Wireless (no root)" on your note4, leave it running.  
2. make note of the IP adress (IP button)
3. Create 2 batch files in your adb.exe folder location. (ex. C:\Program Files (x86)\Android\android-sdk

\platform-tools)

a)add this to a text file, save it as .bat (ex. step1.bat)
adb tcpip 5555

b)add this to a new text file, save it as .bat (ex. step2.bat)  Use your IP address from above
adb connect 192.168.1.2

3. Run these batch files on pc to connect (only first time)
4. Build and play in Unity (wifi takes a while. also, use vr_only, not vr_dual in your manifest)
5. Look when you hear audio.
6. Make changes in unity, build and run.

Comment