为了账号安全,请及时绑定邮箱和手机立即绑定

正在回答

3 回答

什么意思,我也出现这个情况

0 回复 有任何疑惑可以回复我~

知道了这玩意不能测试自己本身

0 回复 有任何疑惑可以回复我~

lang.NullPointerException: Attempt to invoke virtual method 'void android.support.test.uiautomator.UiObject2.setText(java.lang.String)' on a null object reference

at cn.qssq666.androidtest.QssqTest.findView(QssqTest.java:54)

at java.lang.reflect.Method.invoke(Native Method)

at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)

at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)

at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

at android.support.test.internal.runner.junit4.statement.RunBefores.evaluate(RunBefores.java:80)

at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)

at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)

at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)

at org.junit.runners.ParentRunner.run(ParentRunner.java:363)

at android.


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

by找不到,明明是对的

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信