-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
The following note was added by @tvolkert on Oct 16, 2018
If you are affected by this bug,
please fill out the following form!
https://goo.gl/forms/eFPT6A3jAD8clU4o2 (Survey to gather information about this bug)
Steps to Reproduce
When 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.
This 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.
The same happens when building and installing production APKs:
When I run flutter build and flutter install, the installed APK isn't updated.
If I run flutter clean, and next, again, flutter build and flutter install, the installed APK is up-to-date.
Flutter Doctor:
[√] Flutter (Channel beta, v0.2.8, on Microsoft Windows [Versione 10.0.17133.73], locale it-IT)
• Flutter version 0.2.8 at C:\Users\Edoardo Debenedetti\flutter
• Framework revision b397406561 (13 days ago), 2018-04-02 13:53:20 -0700
• Engine revision c903c217a1
• Dart version 2.0.0-dev.43.0.flutter-52afcba357
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\Edoardo Debenedetti\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
• IntelliJ at C:\Users\Edoardo Debenedetti\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\181.4203.550
• Flutter plugin version 23.1.3
• Dart plugin version 181.4203.498
[√] VS Code, 64-bit edition (version 1.22.2)
• VS Code at C:\Program Files\Microsoft VS Code
• Dart Code extension version 2.11.2
[√] Connected devices (2 available)
• PRA LX1 • 57UDU17111026756 • android-arm64 • Android 7.0 (API 24)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• No issues found!