Open RichardHoOoOo opened 2 years ago
Sorry I have another question. I think I can understand all the scripts under /scripts
. Basically, the Android SDK needs to be put under the user's home directory in order to make many commands (e.g., adb
, aapt
, emulator
, etc.) work. May I ask can I change the command paths in these scripts to make them point to the path of my SDK if the SDK is not put under the home directory? For example, I may change ~/android-sdk/tools/bin/avdmanager
to <my_sdk_root>/tools/bin/avdmanager
. I think I am confident to adapt the scripts under /scripts
, but I am not sure if the change of path affect other parts of the tool (e.g., python scripts under /src
, the pre-trained model, monkey.jar
, etc.). Can you give me some advise? Thanks in advance!
Hey
So the clone from tester to controller is probably not necessary. I just looked at it and I think I included that line by mistake (but honestly I can't be sure because it's been a long time). For the sdk location, I think if you change the path to all these function calls AND also change the path in the config files you must be good to go. I believe the reason I didn't do it is that it was a lot of work :D If you change it and it works, maybe you can submit a pull request :?
Hi, thanks for your prompt reply! I will see whether the modification will work or not. Thanks again.
Hi, I am reading the scripts under
/scripts
and trying to understand them.In the 1st subsection of
Android Experiments (Monkey++)
in the README, we need to create an emulator byMay I ask what is the purpose of the 3rd line? In particular, why we need to clone an avd from
tester_ref
tocollector_ref
? If we only use the pre-trained model, is it necessary to "clone" the avd?