{"action":"created","issue":{"url":"https://api.github.com/repos/xSAVIKx/AndroidScreencast/issues/7","labels_url":"https://api.github.com/repos/xSAVIKx/AndroidScreencast/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/xSAVIKx/AndroidScreencast/issues/7/comments","events_url":"https://api.github.com/repos/xSAVIKx/AndroidScreencast/issues/7/events","html_url":"https://github.com/xSAVIKx/AndroidScreencast/issues/7","id":100441977,"number":7,"title":"Cannot focuse other windows","user":{"login":"wzhy90","id":2318890,"avatar_url":"https://avatars.githubusercontent.com/u/2318890?v=3","gravatar_id":"","url":"https://api.github.com/users/wzhy90","html_url":"https://github.com/wzhy90","followers_url":"https://api.github.com/users/wzhy90/followers","following_url":"https://api.github.com/users/wzhy90/following{/other_user}","gists_url":"https://api.github.com/users/wzhy90/gists{/gist_id}","starred_url":"https://api.github.com/users/wzhy90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzhy90/subscriptions","organizations_url":"https://api.github.com/users/wzhy90/orgs","repos_url":"https://api.github.com/users/wzhy90/repos","events_url":"https://api.github.com/users/wzhy90/events{/privacy}","received_events_url":"https://api.github.com/users/wzhy90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-12T00:41:19Z","updated_at":"2015-08-13T07:52:13Z","closed_at":null,"body":"```\r\n08:38:27 [INFO ] [Injector] - injectData(String) - String data=tap/-418/1158\r\n08:38:27 [DEBUG] [Injector] - injectData(String) - end\r\n08:38:27 [DEBUG] [Injector] - injectTap(int, int) - end\r\n[agent] Received : tap/-418/1158\r\n[agent] CommandHandlerThread.handleCommand()\r\n[agent] Command[name=tap]\r\n[agent] TapEvent [x=-418, y=1158]\r\n08:38:32 [ERROR] [Injector$AgentRunningThread] - run()\r\ncom.android.ddmlib.ShellCommandUnresponsiveException\r\n\tat com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:513)\r\n\tat com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:390)\r\n\tat com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:359)\r\n\tat com.android.ddmlib.Device.executeShellCommand(Device.java:559)\r\n\tat com.github.xsavikx.android.screencast.api.injector.Injector$AgentRunningThread.launchProg(Injector.java:378)\r\n\tat com.github.xsavikx.android.screencast.api.injector.Injector$AgentRunningThread.run(Injector.java:393)\r\ncom.android.ddmlib.ShellCommandUnresponsiveException\r\n\tat com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:513)\r\n\tat com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:390)\r\n\tat com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:359)\r\n\tat com.android.ddmlib.Device.executeShellCommand(Device.java:559)\r\n\tat com.github.xsavikx.android.screencast.api.injector.Injector$AgentRunningThread.launchProg(Injector.java:378)\r\n\tat com.github.xsavikx.android.screencast.api.injector.Injector$AgentRunningThread.run(Injector.java:393)\r\n08:38:32 [DEBUG] [Injector$AgentRunningThread] - run() - end\r\n```\r\nWhen focuse on other window, the app will send an error number to the client then the client crash!"},"comment":{"url":"https://api.github.com/repos/xSAVIKx/AndroidScreencast/issues/comments/130568049","html_url":"https://github.com/xSAVIKx/AndroidScreencast/issues/7#issuecomment-130568049","issue_url":"https://api.github.com/repos/xSAVIKx/AndroidScreencast/issues/7","id":130568049,"user":{"login":"xSAVIKx","id":5675689,"avatar_url":"https://avatars.githubusercontent.com/u/5675689?v=3","gravatar_id":"","url":"https://api.github.com/users/xSAVIKx","html_url":"https://github.com/xSAVIKx","followers_url":"https://api.github.com/users/xSAVIKx/followers","following_url":"https://api.github.com/users/xSAVIKx/following{/other_user}","gists_url":"https://api.github.com/users/xSAVIKx/gists{/gist_id}","starred_url":"https://api.github.com/users/xSAVIKx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xSAVIKx/subscriptions","organizations_url":"https://api.github.com/users/xSAVIKx/orgs","repos_url":"https://api.github.com/users/xSAVIKx/repos","events_url":"https://api.github.com/users/xSAVIKx/events{/privacy}","received_events_url":"https://api.github.com/users/xSAVIKx/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T07:52:13Z","updated_at":"2015-08-13T07:52:13Z","body":"check client repository. you do need to use JDK 1.6 to compile android 4.*-compatible source, cause java7 bytecode is different from java6 and you won't be able to generate dexed classes using DX tool.\r\nAnd for .classpath - I'm using eclipse IDE, so it does everything about classpath for me. I haven't tried to generate it manually, but you can look at smth like http://ant-eclipse.sourceforge.net/ant-eclipse.html\r\nAlso be aware, that newer version of android build tool could also cause problems (again with DX tool maybe)."}}