What do I do about: this requires android.permission.INTERACT_ACROSS_USERS_FULL

后端 未结 4 1173
清酒与你
清酒与你 2020-11-27 21:08

I am working on integrating micode\'s open source compass into an app I am making. I am wondering how I can fix this here permission error when I clearly have it stated in m

相关标签:
4条回答
  • 2020-11-27 21:30

    I had a same problem and i did project -> clean. It works now.

    0 讨论(0)
  • 2020-11-27 21:46

    android.permission.INTERACT_ACROSS_USERS_FULL is a signature level permission. Your app will not be able to use it until and unless it has the same signature as the system.

    0 讨论(0)
  • 2020-11-27 21:48

    I know there is already an accepted answer but for some reason its not working (or no longer working) on my part.

    This error happened to me on Android SDK version 19 and lower, because of NDK that was part of my app.

    I just deleted few codes that are connected with NDK codes at the Android Manifests file.

    0 讨论(0)
  • 2020-11-27 21:55

    I disabled autofill and project started to work normally. Check this link

    Just add this code to your app :

          if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
            window.decorView.importantForAutofill = 
            View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS;
        }
    
    0 讨论(0)
提交回复
热议问题