Skip to main content
October 4, 2019

Error Building to Oculus Quest

I keep getting this error, not sure what's causing it:

OVRADBTool adb server version (40) doesn't match this client (41); killing...
* daemon started successfully

UnityEngine.Debug:LogError(Object)
OVRADBTool:RunCommand(String[], WaitingProcessToExitCallback, String&, String&) (at Assets/Oculus/VR/Editor/OVRADBTool.cs:200)
OVRADBTool:GetDevices() (at Assets/Oculus/VR/Editor/OVRADBTool.cs:114)
OVRGradleGeneration:OnPostprocessBuild(BuildReport) (at Assets/Oculus/VR/Editor/OVRGradleGeneration.cs:304)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


Error building Player: OVRADBTool adb server version (40) doesn't match this client (41); killing...
* daemon started successfully


This topic has been closed for replies.

7 replies

New Participant
October 7, 2019
Unity has its own copy of ADB that is out of sync with the version your OS is aware of. I fixed this by copying abd.exe, AdbWinApi.dll, and AdbWinUsbApi.dll from Users\[user]\AppData\Local\Android\Sdk\platform-tools to [unity install]\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools
New Participant
July 15, 2021

thanks worked for me !

 

Inspiring
June 16, 2020
AppData\Local\Android\Sdk\platform-tools to [unity install]\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools

Does not exist in 2018.3.8f1


Inspiring
June 28, 2020
Deleted HTC Sync manager solved the problem.
New Participant
October 15, 2020

phyzxengr said:

Deleted HTC Sync manager solved the problem.


I appreciate this is many months after you posted this but thank you! This was the culprit for me too!  
Up and Coming
October 18, 2020

bebop_dev said:

I keep getting this error, not sure what's causing it:

OVRADBTool adb server version (40) doesn't match this client (41); killing...
* daemon started successfully

UnityEngine.Debug:LogError(Object)
OVRADBTool:RunCommand(String[], WaitingProcessToExitCallback, String&, String&) (at Assets/Oculus/VR/Editor/OVRADBTool.cs:200)
OVRADBTool:GetDevices() (at Assets/Oculus/VR/Editor/OVRADBTool.cs:114)
OVRGradleGeneration:OnPostprocessBuild(BuildReport) (at Assets/Oculus/VR/Editor/OVRGradleGeneration.cs:304)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


Error building Player: OVRADBTool adb server version (40) doesn't match this client (41); killing...
* daemon started successfully




This did work for me so thanks.

But this (or a completely different aspect) did lead to a problem for me where the whole Quest UI would just completely crash by just looking at the app [unknown sources] list within the OS.
Eventually I had to resort to this fix for remote deleting the app on my Quest 2: https://devdiner.com/virtual-reality/how-to-delete-apps-in-unknown-sources-on-the-oculus-quest

My original issue before your fix stated "OVRADBTool adb server version (40) doesn't match this client (39);"