ERROR: The reason and usedScene attributes are mandatory for user_grant permissions.
解決方法,完善許可權,需要將usedScene和reason 新增上
{ "name": "ohos.permission.MICROPHONE", "reason": "$string:module_desc", "usedScene": { "abilities": [ "EntryAbility" ], "when": "inuse" }