{"action":"created","issue":{"url":"https://api.github.com/repos/AzimoLabs/fastlane-plugin-automated-test-emulator-run/issues/19","repository_url":"https://api.github.com/repos/AzimoLabs/fastlane-plugin-automated-test-emulator-run","labels_url":"https://api.github.com/repos/AzimoLabs/fastlane-plugin-automated-test-emulator-run/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/AzimoLabs/fastlane-plugin-automated-test-emulator-run/issues/19/comments","events_url":"https://api.github.com/repos/AzimoLabs/fastlane-plugin-automated-test-emulator-run/issues/19/events","html_url":"https://github.com/AzimoLabs/fastlane-plugin-automated-test-emulator-run/issues/19","id":292012429,"node_id":"MDU6SXNzdWUyOTIwMTI0Mjk=","number":19,"title":"AVD is not starting","user":{"login":"philipesteiff","id":460174,"node_id":"MDQ6VXNlcjQ2MDE3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/460174?v=4","gravatar_id":"","url":"https://api.github.com/users/philipesteiff","html_url":"https://github.com/philipesteiff","followers_url":"https://api.github.com/users/philipesteiff/followers","following_url":"https://api.github.com/users/philipesteiff/following{/other_user}","gists_url":"https://api.github.com/users/philipesteiff/gists{/gist_id}","starred_url":"https://api.github.com/users/philipesteiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipesteiff/subscriptions","organizations_url":"https://api.github.com/users/philipesteiff/orgs","repos_url":"https://api.github.com/users/philipesteiff/repos","events_url":"https://api.github.com/users/philipesteiff/events{/privacy}","received_events_url":"https://api.github.com/users/philipesteiff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-26T19:50:26Z","updated_at":"2018-06-27T09:56:55Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nFor any reason my emulator is not starting. \r\n\r\n![](https://cl.ly/2P3l1p223R1S/Image%202018-01-26%20at%204.45.46%20PM.png)\r\n\r\n\r\nMy config.json:\r\n\r\n```\r\n{\r\n  \"avd_list\": [\r\n    {\r\n\r\n      \"avd_name\": \"Test-Emulator-API23-Nexus-5-1\",\r\n\r\n      \"create_avd_package\": \"system-images;android-23;google_apis;x86_64\",\r\n      \"create_avd_device\": \"Nexus 5X\",\r\n      \"create_avd_tag\": \"google_apis\",\r\n      \"create_avd_abi\": \"x86_64\",\r\n      \"create_avd_additional_options\": \"\",\r\n      \"create_avd_hardware_config_filepath\": \"~/.android/avd/Test-Emulator-API23-Nexus-5-1.ini\",\r\n\r\n      \"launch_avd_port\": \"\",\r\n      \"launch_avd_snapshot_filepath\": \"~/.android/avd/Test-Emulator-API23-Nexus-5-1.avd/cache.img\",\r\n      \"launch_avd_launch_binary_name\": \"emulator\",\r\n      \"launch_avd_additional_options\": \"-gpu on\"\r\n\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\nI tried to start the emulator directly using the plugin command:\r\n\r\n![](https://cl.ly/1011052Y2o01/Image%202018-01-26%20at%204.48.46%20PM.png)\r\n\r\n\r\nAny suggestion?"},"comment":{"url":"https://api.github.com/repos/AzimoLabs/fastlane-plugin-automated-test-emulator-run/issues/comments/400614309","html_url":"https://github.com/AzimoLabs/fastlane-plugin-automated-test-emulator-run/issues/19#issuecomment-400614309","issue_url":"https://api.github.com/repos/AzimoLabs/fastlane-plugin-automated-test-emulator-run/issues/19","id":400614309,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDYxNDMwOQ==","user":{"login":"piterwilson","id":1923693,"node_id":"MDQ6VXNlcjE5MjM2OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1923693?v=4","gravatar_id":"","url":"https://api.github.com/users/piterwilson","html_url":"https://github.com/piterwilson","followers_url":"https://api.github.com/users/piterwilson/followers","following_url":"https://api.github.com/users/piterwilson/following{/other_user}","gists_url":"https://api.github.com/users/piterwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/piterwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piterwilson/subscriptions","organizations_url":"https://api.github.com/users/piterwilson/orgs","repos_url":"https://api.github.com/users/piterwilson/repos","events_url":"https://api.github.com/users/piterwilson/events{/privacy}","received_events_url":"https://api.github.com/users/piterwilson/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T09:56:55Z","updated_at":"2018-06-27T09:56:55Z","author_association":"NONE","body":"For anyone having this issue, we figured it out one solution.\r\n\r\nAfter this failure, we simply quit the script. Then we went and looked into the AVD Manager and payed close attention to the settings on the newly created AVD which was still in the list. That's how we realized that the emulator created only had 16MB memory heap size, while if we looked at the other emulators, we could see they had more normal values like 256MB etc ...\r\n\r\nSo, the solution was to go into the folder where the emulators are stored (CTR+CLICK / Show on Disk) and we copied the `config.ini` file there and used that as the parameter in `create_avd_hardware_config_filepath`\r\n\r\nAfter that the emulator booted and things are progressing. We are still scratching our heads trying to figure out how to obtain a `.img` snapshot to avoid going trough the whole boot up each time. The folder where the snapshot should be doesn't have a `.img` file but instead is a directory with a bunch of `.ini`,`.pb` and `.bin` files.\r\n\r\nAnyway i hope that helps."}}
{"actor":{"display_login":"piterwilson"}}