{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/16604","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/16604/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/16604/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/16604/events","html_url":"https://github.com/flutter/flutter/issues/16604","id":314426110,"node_id":"MDU6SXNzdWUzMTQ0MjYxMTA=","number":16604,"title":"Need to restart or flutter clean too often","user":{"login":"dedeswim","id":4366950,"node_id":"MDQ6VXNlcjQzNjY5NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/4366950?v=4","gravatar_id":"","url":"https://api.github.com/users/dedeswim","html_url":"https://github.com/dedeswim","followers_url":"https://api.github.com/users/dedeswim/followers","following_url":"https://api.github.com/users/dedeswim/following{/other_user}","gists_url":"https://api.github.com/users/dedeswim/gists{/gist_id}","starred_url":"https://api.github.com/users/dedeswim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedeswim/subscriptions","organizations_url":"https://api.github.com/users/dedeswim/orgs","repos_url":"https://api.github.com/users/dedeswim/repos","events_url":"https://api.github.com/users/dedeswim/events{/privacy}","received_events_url":"https://api.github.com/users/dedeswim/received_events","type":"User","site_admin":false},"labels":[{"id":283479271,"node_id":"MDU6TGFiZWwyODM0NzkyNzE=","url":"https://api.github.com/repos/flutter/flutter/labels/severe:%20regression","name":"severe: regression","color":"e11d21","default":false},{"id":407144314,"node_id":"MDU6TGFiZWw0MDcxNDQzMTQ=","url":"https://api.github.com/repos/flutter/flutter/labels/t:%20hot%20reload","name":"t: hot reload","color":"5319e7","default":false},{"id":283480100,"node_id":"MDU6TGFiZWwyODM0ODAxMDA=","url":"https://api.github.com/repos/flutter/flutter/labels/tool","name":"tool","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/flutter/flutter/milestones/22","html_url":"https://github.com/flutter/flutter/milestone/22","labels_url":"https://api.github.com/repos/flutter/flutter/milestones/22/labels","id":2270094,"node_id":"MDk6TWlsZXN0b25lMjI3MDA5NA==","number":22,"title":"Goals","description":"P2: These are tasks we think are worth fixing in the coming years. It includes issues we've identified that might block fully shipping broad consumer-facing apps, correctness issues, and bugs relating to polish and quality.\r\n\r\nThe date on this milestone is utterly arbitrary and just intended to sort the milestone appropriately.","creator":{"login":"Hixie","id":551196,"node_id":"MDQ6VXNlcjU1MTE5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/551196?v=4","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"open_issues":1041,"closed_issues":422,"state":"open","created_at":"2017-01-23T00:27:59Z","updated_at":"2018-09-07T09:23:13Z","due_on":"2031-01-01T08:00:00Z","closed_at":null},"comments":80,"created_at":"2018-04-15T15:39:19Z","updated_at":"2018-09-07T16:31:56Z","closed_at":null,"author_association":"NONE","body":"## Steps to Reproduce\r\n\r\nWhen I (or one of my teammates) run flutter `flutter run` (or with the run/debug button on IntelliJ and VSCode) on an AVD or on real devices, the installed version is always behind the newest one and I **always** need to restart the app or even sometimes `flutter clean`.\r\nThis is a problem especially when the build on the AVD/real device crashes, and the only solution here is to `flutter clean`, even when I stop the app running and do `flutter run` again.\r\n\r\nThe same happens when building and installing production APKs:\r\nWhen I run `flutter build` and `flutter install`, the installed APK isn't updated.\r\nIf I run flutter clean, and next, again, `flutter build` and `flutter install`, the installed APK is up-to-date.\r\n\r\n\r\n## Flutter Doctor:\r\n\r\n```\r\n[√] Flutter (Channel beta, v0.2.8, on Microsoft Windows [Versione 10.0.17133.73], locale it-IT)\r\n    • Flutter version 0.2.8 at C:\\Users\\Edoardo Debenedetti\\flutter\r\n    • Framework revision b397406561 (13 days ago), 2018-04-02 13:53:20 -0700\r\n    • Engine revision c903c217a1\r\n    • Dart version 2.0.0-dev.43.0.flutter-52afcba357\r\n\r\n[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)\r\n    • Android SDK at C:\\Users\\Edoardo Debenedetti\\AppData\\Local\\Android\\sdk\r\n    • Android NDK location not configured (optional; useful for native profiling support)\r\n    • Platform android-27, build-tools 27.0.3\r\n    • Java binary at: C:\\Program Files\\Android\\Android Studio\\jre\\bin\\java\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)\r\n    • All Android licenses accepted.\r\n\r\n[√] Android Studio (version 3.1)\r\n    • Android Studio at C:\\Program Files\\Android\\Android Studio\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)\r\n\r\n[√] IntelliJ IDEA Ultimate Edition (version 2018.1)\r\n    • IntelliJ at C:\\Users\\Edoardo Debenedetti\\AppData\\Local\\JetBrains\\Toolbox\\apps\\IDEA-U\\ch-0\\181.4203.550\r\n    • Flutter plugin version 23.1.3\r\n    • Dart plugin version 181.4203.498\r\n\r\n[√] VS Code, 64-bit edition (version 1.22.2)\r\n    • VS Code at C:\\Program Files\\Microsoft VS Code\r\n    • Dart Code extension version 2.11.2\r\n\r\n[√] Connected devices (2 available)\r\n    • PRA LX1                   • 57UDU17111026756 • android-arm64 • Android 7.0 (API 24)\r\n    • Android SDK built for x86 • emulator-5554    • android-x86   • Android 8.1.0 (API 27) (emulator)\r\n\r\n• No issues found!\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/419494943","html_url":"https://github.com/flutter/flutter/issues/16604#issuecomment-419494943","issue_url":"https://api.github.com/repos/flutter/flutter/issues/16604","id":419494943,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQ5NDk0Mw==","user":{"login":"DanTup","id":1078012,"node_id":"MDQ6VXNlcjEwNzgwMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1078012?v=4","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T16:31:56Z","updated_at":"2018-09-07T16:31:56Z","author_association":"MEMBER","body":"@tvolkert yep, click the cog on the Debug Sidebar to create/open `launch.json`, and then add an `args` section, so it looks something like this:\r\n\r\n```js\r\n{\r\n\t\"version\": \"0.2.0\",\r\n\t\"configurations\": [\r\n\t\t{\r\n\t\t\t\"name\": \"Flutter\",\r\n\t\t\t\"request\": \"launch\",\r\n\t\t\t\"type\": \"dart\",\r\n\t\t\t\"args\": [\r\n\t\t\t\t\"-v\"\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}\r\n\r\n```"}}
{"actor":{"display_login":"DanTup"}}