adb server version (40) doesn't match this client (41); killing [duplicate]

这一生的挚爱 提交于 2020-12-31 06:54:31

问题


Couldn't start project on Android: adb server version (40) doesn't match this client (41); killing... could not read OK from ADB Server * failed to start daemon adb.exe: failed to check server version: cannot connect to daemon

i have installed android platform development tools but it still doesn't work even after changing Genymotion settings to use my android Software development kit instead of its default android tools


回答1:


In my case the problem occurred because of two ADB paths. I actually moved my Android SDK(due to lack of space in system drive) from one path to another and set up the environment variables accordingly. Starting and killing the server didn't help so I followed this thread in GitHub

But unlike that thread, instead of replacing the files in scrcpy folder, I replaced the files in C:\Program Files\Genymobile\Genymotion\tools

And it started working after that




回答2:


adb server kill with the flowing command

package: com.technobd.topbdnews 

adb uninstall com.technobd.topbdnews // run this command replacing the package name


来源:https://stackoverflow.com/questions/56948676/adb-server-version-40-doesnt-match-this-client-41-killing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!