Appium:Did not get confirmation UiAutomator2 deleteSession worked

环境:

Name Version
Appium 1.17.1-1
SDK Version: 29.0.6-6198805 . Android Debug Bridge version: 1.0.41
nodejs v12.18.2
JDK 1.8

启动Appium刚跑脚本就遇到了:
Appium:Did not get confirmation UiAutomator2 deleteSession worked
Github上有相同的问题,但我还是没找到解决方法。抱着试一试的心态安装了1.13.0版本的appium,结果居然可以用了!!!
我的解决办法:安装低版本的Appium:例如1.13.0版。
各位无法解决的小伙伴也可以去GitHub上看看。
也有可能是uiautomator的问题,参考:https://www.cnblogs.com/-ming/p/12085311.html
各位大佬还有什么解决办法欢迎留言。