Error in using UIAutomatorviewer for testing Android app in Appium

前端 未结 19 1751
甜味超标
甜味超标 2020-12-06 00:54

I have to automate an Android application, I am doing the same through Appium.

The problem I am facing is after launching the Appium server, the app is getting instal

19条回答
  •  伪装坚强ぢ
    2020-12-06 01:32

    I fixed the same issue by using following methods.

    (1) Connect your Android device to your development machines;

    (2) Go to command line in terminal or DOS command line for Windows;

    (3) Using "adb shell" into your Android devices;

    (4) Change the user to root by input "su root" in command line;

    (5) Change the access right to /data/local/tmp by input "chmod 777 /data/local/tmp";

    (6) Go back to uiautomatorviewer and do screen shot again, the error should be gone;

    I guess there are some file can't be access if it doesn't own right in /data/local/tmp.

提交回复
热议问题