Forum Discussion
2 Replies
Hi Suvidh,
I think you need to create a script that will remove your application by using special methods, like adb remove or shell execute.
Please let me know if this suggestion works for you.
- anhvuFrequent Contributor
Hi,
You can use the function as below.
//Example for package: com.tmobile.pr.com
function uninstall_App_with_ADB(device,package)
{
var status = true;
var msg = "";
if(Mobile["Device"](device)["Exists"])
{
Mobile["Device"](device)["ShellExecute"]("adb shell pm uninstall "+package)
}
else
{
status = false;
msg = Log["Error"]("uninstallAppwithADB: "+"Failed!"+" The device is not existed!")
}
}Download and install the Android System Info and use it to check your app package.