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

后端 未结 4 1203
清酒与你
清酒与你 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: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;
        }
    

提交回复
热议问题