Not Able To Launch App

AndroidDriver] Failed to launch settings app: Error occured while starting App. Original error: Activity used to start app doesn’t exist or cannot be launched! Make sure it exists and is a launchable activity
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“shell”,“appops”,“set”,“io.appium.settings”,“android:mock_location”,“allow”]
[debug] [AndroidDriver] Pushing unlock helper app to device…
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“install”,"/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“shell”,“getprop”,“ro.build.version.release”]
[debug] [ADB] Current device property ‘ro.build.version.release’: 6.0.1
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“shell”,“wm”,“size”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“shell”,“getprop”,“ro.product.model”]
[debug] [ADB] Current device property ‘ro.product.model’: Redmi 3S
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“shell”,“getprop”,“ro.product.manufacturer”]
[debug] [ADB] Current device property ‘ro.product.manufacturer’: Xiaomi
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“shell”,“am”,“force-stop”,“com.fsn.nykaa”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“shell”,“pm”,“clear”,“com.fsn.nykaa”]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 191 to device: 4724
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“forward”,“tcp:191”,“tcp:4724”]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state ‘starting’
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: ‘AppiumBootstrap.jar’
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“push”,"/usr/local/lib/node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“forward”,“tcp:191”,“tcp:4724”]
(node:1187) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Error executing adbExec. Original error: ‘Command ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb -P 5037 -s 192.168.0.32:5555 forward tcp:191 tcp:4724’ exited with code 1’; Stderr: ‘error: cannot bind listener: Permission denied’; Code: ‘1’
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/yashzanwar/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“192.168.0.32:5555”,“shell”,“ps”]
[ADB] No uiautomator process found to kill, continuing…
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s",“192.168.0.32:5555”,“shell”,“uiautomator”,“runtest”,“AppiumBootstrap.jar”,"-c",“io.appium.android.bootstrap.Bootstrap”,"-e",“pkg”,“com.fsn.nykaa”,"-e",“disableAndroidWatchers”,false,"-e",“acceptSslCerts”,false]
[debug] [UiAutomator] Moving to state ‘online’
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
Error: Android bootstrap socket crashed: Error: connect ECONNREFUSED 127.0.0.1:191
at Socket. (…/…/lib/bootstrap.js:86:21)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1277:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
Retry Analyze : AppFrameWork.Retry@1d3706ca

Error: connect ECONNREFUSED 127.0.0.1:191 this error comes when SDK path is not proper

Hi jitu,
Can u tell me how to set SDK path permenantly…
As i am not able to set it.

http://docs.kony.com/konylibrary/visualizer/visualizer_user_guide/Content/SUG_Android.htm