ActivityCompat.requestPermissions not showing dialog box

前端 未结 20 1475
野趣味
野趣味 2020-12-07 17:15
if (ContextCompat.checkSelfPermission(RegisterActivity.this,      Manifest.permission.READ_PHONE_STATE) == PackageManager.PERMISSION_DENIED){
            ActivityCom         


        
20条回答
  •  Happy的楠姐
    2020-12-07 17:55

    I had this same issue.I updated to buildToolsVersion "23.0.3" It all of a sudden worked. Hope this helps anyone having this issue.

提交回复
热议问题