Ask a Question

Some errors occurred while installing the agent

XuanPham
New Contributor

Some errors occurred while installing the agent

Hello everyone,

On Mobile Screen

I click the "Enable" button (or click "Install Android Agent" icon) the error message "Some errors occurred while installing the agent" displays (Screenshot "agent.png")

 

I try using enable Agent manually. Use script as below:

def InstallAgent():
AgentApkPath = "C:/Program Files (x86)/SmartBear/TestComplete 12/Bin/Extensions/Android/AndroidAgent.apk";
Agent = Mobile.Device().PackageManager.GetPackageFromAPK(AgentApkPath);
Mobile.Device().PackageManager.InstallPackage(Agent);

 

But I receive the error when run scripts (Screenshot "manual.png")

 

Please support me how to enable Test Complete Agent. 

 

Many thanks,

Xuan Pham

 

2 REPLIES 2
Marsha_R
Community Hero

Did you follow these instructions?  

 

https://support.smartbear.com/viewarticle/88517/

 

 

Step 2 mentions the file in your error message.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
ackmondual
Contributor

For me, I'm working with restricted devices.  I had to make sure that I had the permissions to install the app

cancel
Showing results for 
Search instead for 
Did you mean: