I have resolved the issue by below steps:
Read moreHow do I accept license for Android SDK build tools?
AndroidSDK can finally accept licenses. On Widows I had to go to Run then C:\Users\x1\AppData\Local\Android\sdk\tools\android then it popped open a GUI and then install missing then click “Accept Liscenses” in new dialog that pops.
Read moreCan I build an Android app without Android Studio?
So technically, you don’t need an IDE at all . Basically, every project has at least a build. gradle file that contains the instructions to build it. You only have to launch Gradle with the appropriate command to compile your app.
Read moreWhere is the SDK folder in Android Studio?
Open Android Studio. Select Android Studio -> Settings -> Android SDK or Android Studio -> Project structure -> SDK location or to open Project structure shortcut is ( Ctrl + Alt + Shift + s ) Your SDK location will be specified on the upper right side of the screen under [Android SDK Location]
Read more