payload: {"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium-desktop/issues/1003","repository_url":"https://api.github.com/repos/appium/appium-desktop","labels_url":"https://api.github.com/repos/appium/appium-desktop/issues/1003/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium-desktop/issues/1003/comments","events_url":"https://api.github.com/repos/appium/appium-desktop/issues/1003/events","html_url":"https://github.com/appium/appium-desktop/issues/1003","id":454010769,"node_id":"MDU6SXNzdWU0NTQwMTA3Njk=","number":1003,"title":"cannot start the application with the error that Error getting device API level","user":{"login":"Su-yj","id":37967623,"node_id":"MDQ6VXNlcjM3OTY3NjIz","avatar_url":"https://avatars3.githubusercontent.com/u/37967623?v=4","gravatar_id":"","url":"https://api.github.com/users/Su-yj","html_url":"https://github.com/Su-yj","followers_url":"https://api.github.com/users/Su-yj/followers","following_url":"https://api.github.com/users/Su-yj/following{/other_user}","gists_url":"https://api.github.com/users/Su-yj/gists{/gist_id}","starred_url":"https://api.github.com/users/Su-yj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Su-yj/subscriptions","organizations_url":"https://api.github.com/users/Su-yj/orgs","repos_url":"https://api.github.com/users/Su-yj/repos","events_url":"https://api.github.com/users/Su-yj/events{/privacy}","received_events_url":"https://api.github.com/users/Su-yj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-06-10T06:02:48Z","updated_at":"2019-06-10T06:47:57Z","closed_at":"2019-06-10T06:20:23Z","author_association":"NONE","body":"## Appium or Appium Desktop?\r\n\r\nYou are reporting an issue at the Appium Desktop repository. Appium Desktop is a wrapper around Appium. If you are having trouble running tests, it is much more likely that the problem you are encountering is not a problem with Appium Desktop but with Appium. For that reason we require you to have tried your testcase with Appium CLI before reporting issues. Check the checkbox below to confirm that you have proven your issue does _not_ reproduce on Appium itself:\r\n\r\n- [ ] I have verified that my issue does not occur with Appium and should be investigated as an Appium Desktop issue\r\n\r\n## The problem\r\n\r\nThe session setting like this:\r\n```json\r\n{\r\n  \"platformName\": \"Android\",\r\n  \"platformversion\": \"5.1.1\",\r\n  \"deviceName\": \"127.0.0.1:62001\",\r\n  \"appPackage\": \"com.tencent.mm\",\r\n  \"appActivity\": \"com.tencent.mm.ui.LauncherUI\",\r\n  \"noReset\": true,\r\n  \"unicodekeyboard\": true,\r\n  \"resetkeyboard\": true\r\n}\r\n```\r\nand when I start the Session, it raise the error:\r\n```\r\nAn unknown server-side error occurred while processing the command. Original error: Error getting device API level. Original error: Error executing adbExec. Original error: 'Command 'C\\:\\\\SDK\\\\platform-tools\\\\adb.exe -P 5037 -s 127.0.0.1\\:62001 shell getprop ro.build.version.sdk' exited with code 3221226356'; Stderr: ''; Code: '3221226356'\r\n```\r\nthe log\r\n```\r\nMJSONWP] Calling AppiumDriver.createSession() with args: [{\"appActivity\":\"com.tencent.mm.ui.LauncherUI\",\"appPackage\":\"com.tencent.mm\",\"deviceName\":\"127.0.0.1:62001\",\"noReset\":true,\"platformName\":\"Android\",\"platformversion\":\"5.1.1\",\"resetkeyboard\":true,\"unicodekeyboard\":true,\"newCommandTimeout\":0,\"connectHardwareKeyboard\":true},null,null]\r\n[BaseDriver] Event 'newSessionRequested' logged at 1560146508037 (14:01:48 GMT+0800 (中国标准时间))\r\n[Appium] \r\n[Appium] ======================================================================\r\n[Appium]   DEPRECATION WARNING:\r\n[Appium] \r\n[Appium]   The 'automationName' capability was not provided in the desired \r\n[Appium]   capabilities for this Android session\r\n[Appium] \r\n[Appium]   Setting 'automationName=UiAutomator1' by default and using the \r\n[Appium]   UiAutomator1 Driver\r\n[Appium] \r\n[Appium]   The next minor version of Appium (1.14.x) will set \r\n[Appium]   'automationName=UiAutomator2' by default and use the UiAutomator2 \r\n[Appium]   Driver\r\n[Appium] \r\n[Appium]   The next major version of Appium (2.x) will **require** the \r\n[Appium]   'automationName' capability to be set for all sessions on all \r\n[Appium]   platforms\r\n[Appium] \r\n[Appium]   If you are happy with 'UiAutomator1' and do not wish to upgrade \r\n[Appium]   Android drivers, please add 'automationName=UiAutomator1' to your \r\n[Appium]   desired capabilities\r\n[Appium] \r\n[Appium]   For more information about drivers, please visit \r\n[Appium]   http://appium.io/docs/en/about-appium/intro/ and explore the \r\n[Appium]   'Drivers' menu\r\n[Appium] \r\n[Appium] ======================================================================\r\n[Appium] \r\n[Appium] Setting automation to 'UiAutomator1'. \r\n[Appium] Appium v1.13.0 creating new AndroidDriver (v4.15.1) session\r\n[Appium] Capabilities:\r\n[Appium]   appActivity: com.tencent.mm.ui.LauncherUI\r\n[Appium]   appPackage: com.tencent.mm\r\n[Appium]   deviceName: 127.0.0.1:62001\r\n[Appium]   noReset: true\r\n[Appium]   platformName: Android\r\n[Appium]   platformversion: 5.1.1\r\n[Appium]   resetkeyboard: true\r\n[Appium]   unicodekeyboard: true\r\n[Appium]   newCommandTimeout: 0\r\n[Appium]   connectHardwareKeyboard: true\r\n[BaseDriver] Creating session with MJSONWP desired capabilities: {\"appActivity\":\"com.tencent...\r\n[BaseDriver] The following capabilities were provided, but are not recognized by appium: platformversion, resetkeyboard, unicodekeyboard, connectHardwareKeyboard.\r\n[BaseDriver] Session created with session id: 50a96413-e4e1-479e-99ec-9133975a2a78\r\n[ADB] Using 'adb.exe' from 'C:\\SDK\\platform-tools\\adb.exe'\r\n[AndroidDriver] Retrieving device list\r\n[ADB] Trying to find a connected android device\r\n[ADB] Getting connected devices...\r\n[ADB] 1 device(s) connected\r\n[AndroidDriver] Using device: 127.0.0.1:62001\r\n[ADB] Using 'adb.exe' from 'C:\\SDK\\platform-tools\\adb.exe'\r\n[ADB] Setting device id to 127.0.0.1:62001\r\n[ADB] Running 'C:\\SDK\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\\:62001 shell getprop ro.build.version.sdk'\r\n[AndroidDriver] Shutting down Android driver\r\n[AndroidDriver] Called deleteSession but bootstrap wasn't active\r\n[ADB] Running 'C:\\SDK\\platform-tools\\adb.exe -P 5037 -s 127.0.0.1\\:62001 shell am force-stop io.appium.unlock'\r\n[BaseDriver] Event 'newSessionStarted' logged at 1560146515679 (14:01:55 GMT+0800 (中国标准时间))\r\n[MJSONWP] Encountered internal error running command: Error: Error getting device API level. Original error: Error executing adbExec. Original error: 'Command 'C\\:\\\\SDK\\\\platform-tools\\\\adb.exe -P 5037 -s 127.0.0.1\\:62001 shell getprop ro.build.version.sdk' exited with code 3221226356'; Stderr: ''; Code: '3221226356'\r\n[MJSONWP]     at ADB. (C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-adb\\lib\\tools\\adb-commands.js:98:13)\r\n[MJSONWP]     at Generator.throw ()\r\n[MJSONWP]     at asyncGeneratorStep (C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\@babel\\runtime\\helpers\\asyncToGenerator.js:3:24)\r\n[MJSONWP]     at _throw (C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\@babel\\runtime\\helpers\\asyncToGenerator.js:29:9)\r\n[MJSONWP]     at run (C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\core-js\\modules\\es6.promise.js:75:22)\r\n[MJSONWP]     at C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\core-js\\modules\\es6.promise.js:92:30\r\n[MJSONWP]     at flush (C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\core-js\\modules\\_microtask.js:18:9)\r\n[MJSONWP]     at process._tickCallback (internal/process/next_tick.js:61:11)\r\n[HTTP] <-- POST /wd/hub/session 500 7643 ms - 402\r\n[HTTP] \r\n[HTTP] --> DELETE /wd/hub/session\r\n[HTTP] {}\r\n[HTTP] No route found. Setting content type to 'text/plain'\r\n[HTTP] <-- DELETE /wd/hub/session 404 3 ms - 57\r\n[HTTP] \r\n```\r\n\r\n## Environment\r\n\r\n- I am running Appium Desktop version _<1.13.0>_.\r\n- I am on (pick one):\r\n    - [ ] Mac\r\n    - [x] Windows\r\n    - [ ] Linux\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium-desktop/issues/comments/500310815","html_url":"https://github.com/appium/appium-desktop/issues/1003#issuecomment-500310815","issue_url":"https://api.github.com/repos/appium/appium-desktop/issues/1003","id":500310815,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMDMxMDgxNQ==","user":{"login":"Su-yj","id":37967623,"node_id":"MDQ6VXNlcjM3OTY3NjIz","avatar_url":"https://avatars3.githubusercontent.com/u/37967623?v=4","gravatar_id":"","url":"https://api.github.com/users/Su-yj","html_url":"https://github.com/Su-yj","followers_url":"https://api.github.com/users/Su-yj/followers","following_url":"https://api.github.com/users/Su-yj/following{/other_user}","gists_url":"https://api.github.com/users/Su-yj/gists{/gist_id}","starred_url":"https://api.github.com/users/Su-yj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Su-yj/subscriptions","organizations_url":"https://api.github.com/users/Su-yj/orgs","repos_url":"https://api.github.com/users/Su-yj/repos","events_url":"https://api.github.com/users/Su-yj/events{/privacy}","received_events_url":"https://api.github.com/users/Su-yj/received_events","type":"User","site_admin":false},"created_at":"2019-06-10T06:47:57Z","updated_at":"2019-06-10T06:47:57Z","author_association":"NONE","body":"The Appium is not supper the Android SDK Platform-Tools 29 now, must download the Previous versions less than 29"}}
other: {"actor":{"display_login":"Su-yj"}}