Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Androidデバイス(LG G4)でアプリケーションを使用してモンキーテストを行っています。
コマンドは
adb shell monkey -p {package name} -v 2000
しかし、誤って設定に入り、デバイスのデフォルト値を変更する可能性があります。
それを防ぐ方法は?
画面の固定を使用できます。テストするアプリ/パッケージを開始します。ピンする。次に、たとえば adb shell monkey -p {package name} -v 2000 でmonkeyを起動します。これは、Nougat(7.0)を実行しているAndroidデバイスで機能しました。