Appium-windows-1.21.0，手机vivo s7/Android 10
appium startup error: An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read https://developer.android.com/studio/command-line/variables for more details
The general idea is that the SDK environment variables are not configured correctly and cannot be read, so you can use manual configuration.
Solution, manually select the android SDK
I thought this would be solved, I did not expect that there are new mishaps
An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘D:\Android\platform-tools\adb.exe -P 5037 -s 2591584f install -g ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk’’ exited with code 1’; Stderr: ‘adb: failed to install C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk: Failure [INSTALL_FAILED_ABORTED: User rejected permissions]’; Code: ‘1’
Solution: Because the Vivo phone I used did not give permission to open the developer mode to connect to debug after a one-time installation of several appium-related apk, just keep agreeing, you can enter.
- Resolve Chromedriver’s original error: chrome not reachable
- Mac Appium Error: Error executing adb Exec. Original error…
- Error: uncaughtexception: cannot find module ‘internal / util / types’
- [Solved] Android Studio Run Error: Error while executing: am start -n
- [Solved] NPM Error: gyp: No Xcode or CLT version detected!
- How to Fix Webpack run error webpack dev server
- Mac Error: sh: vue-cli-service: command not found
- [Solved] Electron Error: Error: Electron failed to install correctly, please delete node_modules/electron and try
- NPM start project error: cannot find module ‘webpack’ problem solution
- Mac error: SH: Vue cli service: command not found
- [Solved] Manifest merger failed: Apps targeting Android 12 and higher are required to specify an explicit
- [Solved] Flutter – AAPT: error: resource android:attr/dialogCornerRadius not found.
- The SDK of Android webrtc compiled with Ninja – C out / release command reported an error, and the Android NDK processing method could not be found
- Vue Report Error #NULL! :no such file or directory,chmod….. [email protected] **\css- Beautify.js
- [Solved] This is probably not a problem with npm. There is likely additional logging output above.
- How to Fix Node SASS Error in Vue + webpack project after nodejs upgrade
- [Solved] This usually happens because your environment has changed since running `npm install`
- [Solved] Error: Cannot find module ‘webpack-cli/package.json‘
- Error lnk2038: detected “_ ITERATOR_ DEBUG_ Mismatched ‘level’ value of ‘0’