level 1
qwrr2012
楼主
直接在cdm输入appium提示我
C:\Users\24843>appium
[Appium] Welcome to Appium v2.0.0
[Appium] Attempting to load driver uiautomator2...
[Appium] Could not load driver 'uiautomator2', so it will not be available. Error in loading the driver was: Could not find a driver installed at C:\Users\24843\.appium\node_modules\appium-uiautomator2-driver
[debug] [Appium] ReferenceError: Could not find a driver installed at C:\Users\24843\.appium\node_modules\appium-uiautomator2-driver
[debug] [Appium] at DriverConfig.require (C:\Program Files\nodejs\node_global\node_modules\appium\lib\extension\extension-config.js:569:13)
[debug] [Appium] at C:\Program Files\nodejs\node_global\node_modules\appium\lib\extension\index.js:83:46
[debug] [Appium] at Array.map (<anonymous>)
[debug] [Appium] at getActiveDrivers (C:\Program Files\nodejs\node_global\node_modules\appium\lib\extension\index.js:80:10)
[debug] [Appium] at main (C:\Program Files\nodejs\node_global\node_modules\appium\lib\main.js:385:41)
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLS in your client code to connect to this server:
[Appium] http://172.100.1.111:4723/
[Appium] http://10.0.1.22:4723/
[Appium] http://192.168.137.1:4723/
[Appium] http://127.0.0.1:4723/ (only accessible from the same host)
[Appium] Available drivers:
[Appium] - [email protected] (automationName 'UiAutomator2')
[Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
[Appium] Received SIGINT - shutting down
[debug] [AppiumDriver@be51] There are no active sessions for cleanup
但是我尝试安装uiautomater他就
C:\Users\24843>appium driver install uiautomator2
Error: × A driver named "uiautomator2" is already installed. Did you mean to update? Run "appium driver update". See installed drivers with "appium driver list --installed".
我更新也是
C:\Users\24843>appium driver update uiautomator2
√ Checking if driver 'uiautomator2' is updatable
× Checking if driver 'uiautomator2' needs an update
i Update report:
i - 'uiautomator2' had no updates available
2023年07月25日 10点07分
1
C:\Users\24843>appium
[Appium] Welcome to Appium v2.0.0
[Appium] Attempting to load driver uiautomator2...
[Appium] Could not load driver 'uiautomator2', so it will not be available. Error in loading the driver was: Could not find a driver installed at C:\Users\24843\.appium\node_modules\appium-uiautomator2-driver
[debug] [Appium] ReferenceError: Could not find a driver installed at C:\Users\24843\.appium\node_modules\appium-uiautomator2-driver
[debug] [Appium] at DriverConfig.require (C:\Program Files\nodejs\node_global\node_modules\appium\lib\extension\extension-config.js:569:13)
[debug] [Appium] at C:\Program Files\nodejs\node_global\node_modules\appium\lib\extension\index.js:83:46
[debug] [Appium] at Array.map (<anonymous>)
[debug] [Appium] at getActiveDrivers (C:\Program Files\nodejs\node_global\node_modules\appium\lib\extension\index.js:80:10)
[debug] [Appium] at main (C:\Program Files\nodejs\node_global\node_modules\appium\lib\main.js:385:41)
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLS in your client code to connect to this server:
[Appium] http://172.100.1.111:4723/
[Appium] http://10.0.1.22:4723/
[Appium] http://192.168.137.1:4723/
[Appium] http://127.0.0.1:4723/ (only accessible from the same host)
[Appium] Available drivers:
[Appium] - [email protected] (automationName 'UiAutomator2')
[Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
[Appium] Received SIGINT - shutting down
[debug] [AppiumDriver@be51] There are no active sessions for cleanup
但是我尝试安装uiautomater他就
C:\Users\24843>appium driver install uiautomator2
Error: × A driver named "uiautomator2" is already installed. Did you mean to update? Run "appium driver update". See installed drivers with "appium driver list --installed".
我更新也是
C:\Users\24843>appium driver update uiautomator2
√ Checking if driver 'uiautomator2' is updatable
× Checking if driver 'uiautomator2' needs an update
i Update report:
i - 'uiautomator2' had no updates available