I am using command line Appium. I have updated version from 1.15.0 to 1.16.0 by the following npm command:
npm uninstall -g appium
npm install -g [email protected]
During the execution of test cases, the error came as:
‘Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: The file at ‘C:\Users\USERNAME\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.3.0.apk’ does not exist or is not accessible (WARNING: The server did not provide any stacktrace information)’
I have checked in the above file path and appium-uiautomator2-server does exist but the new version is v.4.5.2 instead of v4.3.0.
As per my understanding, for Appium server 1.15.0, the uiautomator2-server version was 4.3.0 and after updating to appium server 1.16.0 its new version is 4.5.2.
Kindly look into this issue and share your opinions.