Reputation: 488
I am trying to use monkeyrunner on linux system. However, I am unable to locate monkeyrunner file.
I have installed andriod studio using this link https://developer.android.com/studio/, android studio running fine and i'm able to create adroid virtual machine. I have also downloaded and extracted command line tools from this link https://developer.android.com/studio#command-tools.
From all the resources on internet that I have seen, they say that monkeyrunner will be in tools/bin folder, however, this is not the case. I have downloaded tools for windows and mac as well but even these don't have monkeyrunner in tools/bin folder. tools/bin has only following four files
apkanalyzer avdmanager lint screenshot2 sdkmanager
I have also searched all the files on my linux system to find a file or folder named moneyrunner without any luck.
Can anyone please help me in figuring this out?
Upvotes: 1
Views: 1293
Reputation: 488
I was able to solve this.
The problem was that Android SDK Tools are obsolete (I am not sure since when as I cannot find any documentation on official website).
Unlike Android SDK Platform-Tools, Android SDK tools are not implicitly installed with installation of Android studio. However, can be installed explicitly after installing Android Studio, using following method:
/Android/Sdk/tools/bin
folderP.S. I also followed same steps for windows, and monkeyrunner was in C:\Users\Admin\AppData\Local\Android\Sdk\tools\bin
folder, where C:\Users\Admin\AppData\Local\Android
is path where android studio was installed.
Upvotes: 4