cancel
Showing results for 
Search instead for 
Did you mean: 

Some errors occurred while installing the agent

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
Community Hero

Re: Some errors occurred while installing the agent

Did you follow these instructions?  

 

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

 

 

Step 2 mentions the file in your error message.

Contributor

Re: Some errors occurred while installing the agent

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

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors