Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0

前端 未结 3 645
执笔经年
执笔经年 2021-01-17 08:18

My application works normally on my test device (When I install it via ADT & when I install it via the exported APK file) but it fails on Play Store testing device with

3条回答
  •  -上瘾入骨i
    2021-01-17 09:12

    I ran into the same issue while trying to use move Files using the version of the application that I plan to post to market. The problem was that the files I was trying to move were created during the application development process by the app that was signed with the debug certificate. So I was trying to access a file created with one certificate with an app that was signed by another certificate. I cleaned up all the files and started fresh with new files created by the app I plan to post to market. Now I am able to access and move the files without the Android System complaining :)

提交回复
热议问题