关于android monkeyrunner的使用菜鸟求解答啊!!!
打开模拟器,在打开monkeyrunner后,输入>>> from com.android.monkeyrunner import Monkeyrunner,MonkeyDevice
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name Monkeyrunner
>>> device = MonkeyRunner.waitForConnection()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'MonkeyRunner' is not defined
出现了这种情况,请高人赐教! MonkeyRunner大写R, 我也自己也是,发现刚开始学写的时候,拼写错误挺多的,以后得多细心。
页:
[1]