genymotion simulator start times wrong:
Unable to start the virtual device. The virtual device got no IP address. The VirtualBox DHCP server has not assigned a IP address to the virtual device. To find a solution,please start Virualbox.
Workaround:
1, run genymotion as Administrator;
I follow the internet to set the VM VirtualBox network, NIC, DHCP, etc. no effect, so that they try to start the virtual machine to view the error content, found that the computer is not set to cause the virtualization, and Genymotion is reported to be network problems, Only to think about the problem or to look at the basic.
2, VM VirtualBox Normal start the simulator, to see the specific error message
Simulator Report Error:
Enter the computer boss, set the virtualization, then select the version of the simulator, you can solve
genymotion download emulator complete, prompt Unable to create virtual device:failed to import OVA file
1, run genymotion as Administrator;
2. Delete files:
Uiautomatorviewer.bat Open Error:
Error while obtaining UI hierarchy XML File:com.android.ddmlib.SyncException:Remote object doesn ' t exist!
Workaround:
Turn off Appium to recapture the app interface;
Appium 1.4 using desired_caps[' unicodekeyboard ' = True will be error, because repeated installation of the UNICODEIME-DEBUG.APK error is as follows:
Selenium.common.exceptions.sessionnotcreatedexception:message:a new session could not be created. (Original error:command failed:c:\windows\system32\cmd.exe/s/C "F:\xxx\android-sdk-windows\platform-tools\adb.exe -S p1qrmw6136 Install "F:\xxx\Appium\node_modules\appium\build\unicode_ime_apk\UnicodeIME-debug.apk" "
Failed to install f:\xxx\appium\node_modules\appium\build\unicode_ime_apk\unicodeime-debug.apk:failure [INSTALL_ Failed_already_exists:attempt to re-install Io.appium.android.ime without first uninstalling
Workaround:
CMD to uninstall adb install Io.appium.android.ime
appium1.4 does not support Android version 7 error:
Attempt to re-install Io.appium.settings without first uninstalling
Workaround:
Solution:
1. Modify C:\Program files (x86) \appium\node_modules\appium\lib\devices\android\android.js file as
2. Modify C:\Program files (x86) \appium\node_modules\appium\node_modules\appium-adb\lib\adb.js file as
This. Shell_grep ("PS", name, function (err, stdout) {if(Err) {Logger.debug ("No matching processes found"); returncbNULL, []); } ADB.prototype.shell_grep=function (cmd, grep, CB) {if(Cmd.indexof ('"') === -1) {cmd='"'+ cmd +'"'; } varExecCmd ='Shell'+ cmd +'| grep'+grep; This. EXEC (ExecCmd, CB); };
Appium Run scripts, launch apps, popup permissions or other popup boxes:
Workaround:
fromselenium.webdriver.support.ui Import webdriverwait fromSelenium.webdriver.support Import Expected_conditions asEcdriver= Webdriver. Remote ('Http://localhost:4723/wd/hub', Desired_caps) # Determine if there is a permission to pop the window, depending on the keyword forIinchRange5): Alertwin= ("XPath","//*[@text = ' go to authorize ']") Try: E= Webdriverwait (Driver,1,0.5). Until (ec.presence_of_element_located (Alertwin)) E.click () Except:pass
Genymotion, Uiautomatorviewer, appium error