Appium 1.6.x release Remove installation unlock, Setting

Source: Internet
Author: User
Tags appium

(Appium directory does not know can view Appium run log)

Modify Directory /usr/local/lib/node_modules/appium/node_modules/appium-android-driver/build/lib/ under the

Android-helpers.js and driver.js File

Android-helpers.js

Comment out the following

Helpers.pushsettingsapp = function callee$0$0 (ADB) {

Return _regeneratorruntime.async (function callee$0$0$ (context$1$0) {

while (1) switch (Context$1$0.prev = context$1$0.next) {

Case 0:

_logger2[' Default '].debug ("Pushing settings apk to device ...");

Context$1$0.prev = 1;

Context$1$0.next = 4;

Return _regeneratorruntime.awrap (Adb.installorupgrade (_ioappiumsettings.path, settings_helper_pkg_id));//Comment out

return;//Increase

Helpers.initunicodekeyboard = function callee$0$0 (ADB) {

var defaultime, Appiumime;

Return _regeneratorruntime.async (function callee$0$0$ (context$1$0) {

while (1) switch (Context$1$0.prev = context$1$0.next) {

Case 0:

_logger2[' Default '].debug (' enabling Unicode keyboard support ');

_logger2[' Default '].debug ("Pushing Unicode ime to device ...");

Context$1$0.next = 4;

Return _regeneratorruntime.awrap (Adb.install (_appiumandroidime.path, false));//Comment out

return; //Increase

Context$1$0.next = 14;

Return _regeneratorruntime.awrap (Helpers.pushsettingsapp (ADB));//Comment out

return;//Increase

Context$1$0.next = 17;

Return _regeneratorruntime.awrap (Helpers.pushunlock (ADB));//Comment out

return;//Increase

Appium 1.6.x Release Remove installation unlock, Setting

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.