{"action":"created","issue":{"url":"https://api.github.com/repos/AndroidHooker/hooker/issues/5","labels_url":"https://api.github.com/repos/AndroidHooker/hooker/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/AndroidHooker/hooker/issues/5/comments","events_url":"https://api.github.com/repos/AndroidHooker/hooker/issues/5/events","html_url":"https://github.com/AndroidHooker/hooker/issues/5","id":66967460,"number":5,"title":"Loop (and error) when running with real device","user":{"login":"mrpinghe","id":3488076,"avatar_url":"https://avatars.githubusercontent.com/u/3488076?v=3","gravatar_id":"","url":"https://api.github.com/users/mrpinghe","html_url":"https://github.com/mrpinghe","followers_url":"https://api.github.com/users/mrpinghe/followers","following_url":"https://api.github.com/users/mrpinghe/following{/other_user}","gists_url":"https://api.github.com/users/mrpinghe/gists{/gist_id}","starred_url":"https://api.github.com/users/mrpinghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrpinghe/subscriptions","organizations_url":"https://api.github.com/users/mrpinghe/orgs","repos_url":"https://api.github.com/users/mrpinghe/repos","events_url":"https://api.github.com/users/mrpinghe/events{/privacy}","received_events_url":"https://api.github.com/users/mrpinghe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-07T19:01:10Z","updated_at":"2015-04-15T07:51:18Z","closed_at":null,"body":"Hi,\r\n\r\nFirst, thank you for developing this promising tool and I have been following it for a while, and it is wonderful to see you guys are supporting real device now!\r\n\r\nHowever, I ran into a problem while trying to run it. It first says I don't have APK instrumenter installed, but I do (see last phone screenshot). Then it kept going even after that error, until it stuck in the loop in the end (see Terminal screenshot). I can provide more information as needed, and thank you in advance for any help!\r\n\r\n![ss1](https://cloud.githubusercontent.com/assets/3488076/7030879/ca1e7c10-dd35-11e4-9025-9defff167d7b.png)\r\n![ss2](https://cloud.githubusercontent.com/assets/3488076/7030881/ca466e46-dd35-11e4-8116-01bd887b94cd.png)\r\n![ss3](https://cloud.githubusercontent.com/assets/3488076/7030880/ca441ccc-dd35-11e4-8b17-664fc30c9639.png)\r\n\r\n![screenshot_2015-04-07-14-54-01](https://cloud.githubusercontent.com/assets/3488076/7030941/44ec1650-dd36-11e4-9277-6977d9c69811.png)\r\n"},"comment":{"url":"https://api.github.com/repos/AndroidHooker/hooker/issues/comments/93248200","html_url":"https://github.com/AndroidHooker/hooker/issues/5#issuecomment-93248200","issue_url":"https://api.github.com/repos/AndroidHooker/hooker/issues/5","id":93248200,"user":{"login":"gbossert","id":1853778,"avatar_url":"https://avatars.githubusercontent.com/u/1853778?v=3","gravatar_id":"","url":"https://api.github.com/users/gbossert","html_url":"https://github.com/gbossert","followers_url":"https://api.github.com/users/gbossert/followers","following_url":"https://api.github.com/users/gbossert/following{/other_user}","gists_url":"https://api.github.com/users/gbossert/gists{/gist_id}","starred_url":"https://api.github.com/users/gbossert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbossert/subscriptions","organizations_url":"https://api.github.com/users/gbossert/orgs","repos_url":"https://api.github.com/users/gbossert/repos","events_url":"https://api.github.com/users/gbossert/events{/privacy}","received_events_url":"https://api.github.com/users/gbossert/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T07:51:18Z","updated_at":"2015-04-15T07:51:18Z","body":"Ok, so here we have a bug. This file (experiment.conf and not environment.conf) must contain the configuration of the experiment so the Android Application knows where and how to export the collected events.\r\nHere is an example of its content for a simple file reporting mode :\r\n\r\n# Hooker Analysis Configuration File\r\n# Network configuration\r\n[elasticsearch]\r\nelasticsearch_mode=false\r\nelasticsearch_nb_thread=1\r\nelasticsearch_ip=10.0.2.2\r\nelasticsearch_port=9200\r\nelasticsearch_index=hooker_test\r\nelasticsearch_doctype=event\r\n\r\n# File configuration\r\n[file]\r\nfile_mode=true\r\nfile_name=events.log\r\n\r\n[analysis]\r\nidXP=1\r\n\r\nCan you start the emulator with the Hooker started (you should see logs showlng some events are captured) and then update the experiment.conf content with the example.\r\nIt should work (hopefully).\r\n"}}