问题
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