Solution
cd ~/Library/Android/sdk/tools/bin
export JAVA_HOME=/Applications/Android\ Studio.app/Contents/jre/jdk/Contents/Home
yes | ~/Library/Android/sdk/tools/bin/sdkmanager --licenses
Referred Link
Referred Qiita article 1 (“Failed to install the following Android SDK packages as some licences have not been accepted” error)
Referred Qiita article 2 (Androidのlicencesのエラーを解決)