First I installed node.js and Cordova. the reference page is here.
after that, I installed android studio and OpenJDK, altough the page recommends to install OrecleJDK, I install OpenJDK because OracleJDK is not be available freely anymore.
the versiton I installed was jdk8u222-b10.
As for androitd studio, I got from https://developer.android.com/studio/?hl=ja
Then, install Xcode so that brew command is enabled.
install gradle with the command ‘https://reasonable-code.com/install-gradle/’