在Mi设备返回异常上运行Monkey测试

时间:2018-01-11 10:03:55

标签: android monkeyrunner

崩溃:

@{
    ViewData["Title"] = "JSGrid";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>JSGrid for @ViewBag.entity</h2>
@Html.AntiForgeryToken()
<div id="jqxgrid">
</div>

@section scripts
{
    <link rel="stylesheet" href="~/lib/jqwidgets/styles/jqx.base.css" type="text/css" />
    <link rel="stylesheet" href="~/lib/jqwidgets/styles/jqx.light.css" type="text/css" />
    <script type="text/javascript" src="~/lib/jqwidgets/jqxcore.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxdata.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxbuttons.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxscrollbar.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxmenu.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxlistbox.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxdropdownlist.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxcheckbox.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxgrid.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxdatetimeinput.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxcalendar.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxtooltip.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxgrid.selection.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxgrid.columnsresize.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxgrid.filter.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxgrid.sort.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxgrid.pager.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxgrid.grouping.js"></script>
    <script type="text/javascript" src="~/lib/jqwidgets/jqxgrid.edit.js"></script>
    <script type="text/javascript" src="~/js/JSGrid.js"></script>

    <script>
        entity = '@ViewBag.entity';
        createGrid();
    </script>
}

命令:

任何想法如何克服这个?

1 个答案:

答案 0 :(得分:0)

在开发者选项下启用Usb调试后。请启用 开发者选项本身下的USB Debbugging(安全设置)。

这对我有用!!