where is the use guiedence bro
AndroidManager - module for managing android emulators
-
@ahmad said in AndroidManager - module for managing android emulators:
Do you have Android Build Tools installed at 'C:\Users\hp\AppData\Local\Android\Sdk\platform-tools'?This is from the error that occurred. Make sure that platform-tools folder exists and apksigner.jar is inside.
-
@ahmad said in AndroidManager - module for managing android emulators:
How can we connect BAS to uiautomator viewer?
No way. It can only be run separately via a bat file.
@ahmad said in AndroidManager - module for managing android emulators:
And do you have to start the emulator manually every time?
You can run emulator via API.
-
@thepappo What could be the reason for this and what is the solution?
When I install any app it gives error
SubprocessError: Subprocess finished with code 1. Error: adb.exe: device 'null' not foundAnd if open any app it gives an error
SubprocessError: Subprocess finished with code 1. Error: adb.exe: unknown command amApp Package Name
App Activity Name

-
@thepappo said in AndroidManager - module for managing android emulators:
@aefrgn because your xpath query is invalid.
@rooory446 said in AndroidManager - module for managing android emulators:
device not found
DEVICES_LIST variable is empty, check that at least 1 device is running.
Even "Take Screenshot" same error.
We do not specify xpath there.
If xpath is wrong, why is it giving a screenshot error? -
@ahmad said in AndroidManager - module for managing android emulators:
When I install any app it gives error
You pass
nullinstead of serial of the device.@ahmad said in AndroidManager - module for managing android emulators:
And if open any app it gives an error
Also check that SERIAL variable contains correct serial number.
You can execute this command manually in the console for debugging like this:
adb -s YOUR_SERIAL shell am start YOUR_ACTIVITYthis command opens activity
YOUR_ACTIVITY. -
Is there any way to get the device name or index? I found some useful actions, but need each memu name or index.
-
@ChrisHolmes
memuc listvms. Setmemucat system variables before running. -
I have already done that. Like, the script works in multithreaded mode.
- Scripts create MEmu
- Get the Device List
- Create resource - devices (serial)
- Starts server
- Connects to MEmu (serial)
If you run the script in multi-thread mode, then
memuc listvms. it will just list all devices, not the MEmu it connected. -
@ChrisHolmes said in AndroidManager - module for managing android emulators:
memuc listvms
Found solution. This kinda helped.
-
So maybe someone have idea.
so, I use "Run Process" for specific tasks and works while recording mode -
memuc -i [[DEVICEINDEX]] adb “devices”(you need to have adb.exe file in MEmu folder). Whit this it gets serial for the specific MEmu. If I runADB "devices", it will get serials for all active MEmu (That I don't want)When I run the script in run mode - it crashes since there are adb.exe files in the platform-tools folder and MEmu folder.
C:\Users\HumbleRecords>where adb C:\Users\HumbleRecords\AppData\Local\Android\Sdk\platform-tools\adb.exe C:\Program Files\Microvirt\MEmu\adb.exe -
@ChrisHolmes said in AndroidManager - module for managing android emulators:
so, I use "Run Process" for specific tasks and works while recording mode - memuc -i [[DEVICEINDEX]] adb “devices” (you need to have adb.exe file in MEmu folder).
Why not just use the command
adb deviceswithout running memuc or action Get Devices List? In this case you don't need to rename adb.exe from memu folder. -
Hello, I like the module very much, great work!
Any solution for typing bug? Error: SubprocessError: Subprocess finished with code 1. Error: adb: failed to stat Release/BrowserAutomationStudio/apps/25.3.8/e/0d00.mNPT/distr/app/lib/ADBKeyboard.apk: No such file or directory ". I tried installing manually the apk but didnt help. -
@ChrisHolmes Yes I have it, where adb works
-
Hello, first of all I like the module very much, thank you.
my question
If we set memu , apium and jdk on each of the remote machines (rdp) as you mentioned in your first message, can the module access the apiums on the rdp's on the remote machines and run on android emulators?
