函数:app.uninstallApp 卸载应用

函数名称: 卸载应用

函数功能: 卸载一个应用程序

函数方法

app.uninstallApp(bid)

参数 类型 必填 说明
bid string 需要卸载的应用包名

函数用例

app.uninstallApp("com.touchsprite.android")

注意事项

  • 如果要卸载的应用在前台或者后台时,无法通过此函数卸载。

  • 目前积木编程函数和触动精灵函数不通用,请仔细查看本手册,此手册中函数仅支持积木编程,不支持触动精灵,同理请勿将触动精灵函数在积木编程运行。

Copyright 北京帮你玩科技有限公司 2022 all right reserved,powered by Gitbook该文章修订时间: 2023-08-09 17:19:31

results matching ""

    No results matching ""