参考:https://blog.csdn.net/codywangziham01/article/details/22064859?utm_source=copy
设置语言的时候报错: Permission Denial: updateConfiguration() requires
在终端输入以下
>adb shell
>pm grant com.sightidea.locale android.permission.CHANGE_CONFIGURATION
手动设置设置该包名的权限
在manifest里我也设置了权限,但是没有用,具体原因不清楚,貌似版本低一点的as可以运行?