@vntricky please share with me the gmail modules, because I have the same issues
AndroidManager - module for managing android emulators
-
@thepappo
why am i getting this error?
i also tried this xpath : @class="android.widget.Button"] still same.
Am I entering xpath wrong?
I've tried entering xpath in many different ways.
I also tried clicking with coordinate.
The result is the same.invalid session id: A session is either terminated or not started
Even the "Take Screenshot" same error.

-
this will be a gamechanger as this module progresses
-
@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.
-
need solution

~~CUSTOM~LOG~~[-][red][743100869] [16:48:58] Thread #1 : Error: Failed to create session. An unknown server-side error occurred while processing the command. Original error: Cannot verify the signature of 'C:\Users\hp\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.27.0.apk'. Original error: Could not find 'apksigner.jar' in ["C:\\Users\\hp\\AppData\\Local\\Android\\Sdk\\platform-tools\\platform-tools\\apksigner.jar","C:\\Users\\hp\\AppData\\Local\\Android\\Sdk\\platform-tools\\emulator\\apksigner.jar","C:\\Users\\hp\\AppData\\Local\\Android\\Sdk\\platform-tools\\cmdline-tools\\latest\\bin\\apksigner.jar","C:\\Users\\hp\\AppData\\Local\\Android\\Sdk\\platform-tools\\tools\\apksigner.jar","C:\\Users\\hp\\AppData\\Local\\Android\\Sdk\\platform-tools\\tools\\bin\\apksigner.jar","C:\\Users\\hp\\AppData\\Local\\Android\\Sdk\\platform-tools\\apksigner.jar"]. Do you have Android Build Tools installed at 'C:\Users\hp\AppData\Local\Android\Sdk\platform-tools'? -
@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.

