Appium always give error

below error is what i see each time i tried to connect inspector with bluestack

Failed to create session. An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\vitalis\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell ‘settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy’’ exited with code 1’; Command output: error: closed

please can someone suggest a solution for this

Your phone model is … ?

i use bluestack emulator