Google DayDream Contoller

Hello,

I keep getting these errors while testing the new Google Daydream Controller demo in Unity with my Android phone and app connected.

No GvrViewer instance found.  Ensure one exists in the scene, or call "
            + "GvrViewer.Create() at startup to generate one.

"
+ "If one does exist but hasn’t called Awake() yet, "
+ "then this error is due to order-of-initialization.
"
+ "In that case, consider moving "
+ "your first reference to GvrViewer.Instance to a later point in time.
"
+ "If exiting the scene, this indicates that the GvrViewer object has already "
+ “been destroyed.”);

and

Error connecting to phone event socket: 192.168.43.1:7003. System.Net.Sockets.SocketException: Connection refused
  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remote_end_point) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.TcpClient.Connect (System.Net.IPAddress[] ipAddresses, Int32 port) [0x00000] in <filename unknown>:0 

and

adb process FAILED (exit code 127). Check that the Android SDK is installed and that the adb command is in your PATH environment variable.

Anyone know any solutions?

thanks

This is a demo of how to use the controller. Running this scene on an actual phone requires an Android N build running on a supported VR device (for example, a Nexus 6P), and a controller or controller emulator.
If you want to run the scene in the Unity Editor only, you only need a phone with the controller emulator installed.
For instructions on how download and set up your controller emulator, see the information about controller support in Daydream Hardware  |  Google VR  |  Google for Developers