Install apps silently, with granted INSTALL_PACKAGES permission

后端 未结 16 2423
梦谈多话
梦谈多话 2020-11-22 10:32

I am trying to silently install apk into the system. My app is located in /system/app and successfully granted permission \"android.permission.INSTALL_PACKAGES\"

Ho

16条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-22 11:06

    I checked all the answers, the conclusion seems to be you must have root access to the device first to make it work.

    But then I found these articles very useful. Since I'm making "company-owned" devices.

    How to Update Android App Silently Without User Interaction

    Android Device Owner - Minimal App

    Here is google's the documentation about "managed-device"

    Fully managed device

提交回复
热议问题