I faced the same problem but my application is open and suddenly close. As i did Appium Log Level to “Debug” but its not working.
Error:
%the server did not provide any stacktrace information%
My appium.log:
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\saad bin usman\.katalon\tools\android_sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“629536c5”,“shell”,“ps”]
[debug] [ADB] Attempting to kill process 21201
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\saad bin usman\.katalon\tools\android_sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“629536c5”,“shell”,“kill”,"-0",21201]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\saad bin usman\.katalon\tools\android_sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“629536c5”,“shell”,“kill”,21201]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\saad bin usman\.katalon\tools\android_sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“629536c5”,“shell”,“kill”,21201]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\saad bin usman\.katalon\tools\android_sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“629536c5”,“shell”,“kill”,21201]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\saad bin usman\.katalon\tools\android_sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“629536c5”,“shell”,“kill”,21201]
[ADB] Cannot kill process 21201 in 1000 ms. Trying to force kill…
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\saad bin usman\.katalon\tools\android_sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“629536c5”,“shell”,“kill”,"-9",21201]
[debug] [UiAutomator] Moving to state ‘stopped’
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\saad bin usman\.katalon\tools\android_sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“629536c5”,“shell”,“am”,“force-stop”,“io.appium.unlock”]
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
[HTTP] <-- POST /wd/hub/session 500 45091 ms - 247