'Unable to change shell in Android Studio terminal

My system terminal is using zsh shell but my Android Studio terminal is using bash. On running

echo $SHELL

System Terminal prints:

/bin/zsh

Android Studio Terminal prints:

/bin/bash

I tried changing the shell in Android Studio Terminal using:

chsh -s /bin/zsh

But it doesn't change the shell. Here's the commands I ran:

iDecodes-mac:example iDecode$ chsh -s /bin/zsh
Changing shell for iDecode.
Password for iDecode:
chsh: no changes made
iDecodes-mac:example iDecode$ echo $SHELL
/bin/bash


Solution 1:[1]

This is for Mac Go to Android studio -> Preference -> Terminal -> shell path and select /bin/bash -> apply -> ok

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1