将
C:\Users\admin\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-android-driver\build\lib\android-helpers.js (1 hit)
Line 392: opts.platformVersion = opts.platformVersion.trim();
修改为:
opts.platformVersion = opts.platformVersion
这里是.trim() 报错了,这个是用来去除空格用的