No, you said that you “did not open it, I just downloaded it”. Open it, run it, use the SDK Manager inside to make sure you have the stuff you need. The errors you are getting should all be taken care of by installing and using Android Studio.
You should upgrade your cordova-android to the current 6.2.3. What is your current Cordova version? Best run ionic info to output all kinds of important information and post it here.
What I need is to debug the code in android 4.1 Jelly bean. But from the cordova-android version, seems like the project is build in 5.1.1.
WHat should I do so can I run ionic run android without error in android 4.1?
cordova-android is not the Android version. See here for what API levels of cordova-android are: Android Platform Guide - Apache Cordova (you can use the API level to check which Android versions are supported then)
If you want to test a specific Android version, you just need to use a compatible cordova-android version and do it in an emulator or on a device with that version.
BUT: Your problem is that your system is not configured at all. Your ancient CLI is just not compatible with current Android SDK and Android Studio version.
I think you should upgrade to a current CLI with current App-Scripts: npm uninstall -g ionic npm install -g ionic
(Best first switch to a new node version as well, use nvm or nvm-windows so you can have mutliple versions installed at the same time)
From the screenshots I think you are on Windows, so follow this link: https://github.com/coreybutler/nvm-windows This is additional software that manages your node installations.