Android development RecoverySystem.installPackage() cannot write to /cache/recovery/command permission denied

前端 未结 5 1638
陌清茗
陌清茗 2020-12-10 03:42

I have been asked to write a small simple app for an Android-based product. The device comes with two Android system images with different features. The app I\'m writing is

5条回答
  •  时光说笑
    2020-12-10 04:17

    I met the same problem in android 8.
    If you add android:sharedUserId="android.uid.system" in AndroidManifest.xml, it should work.

提交回复
热议问题