我想用猴子,但它沒有奏效!如何啓動未知名稱的活動?
startAppCommand = 'moneky -p com.example.packageName -c android.intent.category.LAUNCHER 1'
result = device.shell(startAppCommand)
print('the result of '+startAppCommand + ' is ' + result)
那麼reslut是:
the result of moneky -p com.example.packageName -c android.intent.category.LAUNCHER 1 is /system/bin/sh: moneky: not found
有處理這一問題的解決方案? 謝謝!
只能用「'monkey'!='monkeyrunner' –