Setting Up Android SDK and NDK for Unreal

I have followed the instructions according to the document. >>[Here][1]
but I still cannot get the Cmd Prompt to let me accept the Android SDK license agreement.

I’ve followed this video >>[YouTubeLink][2]

Does anyone know what I should do in order to move forward?
Attached are images of where I am currently stuck.