title: Flutter: app isn't properly install after building
body: <p>I have created .apk file and tried to install it however without any success. There are no errors and looks like the installing process finished in 7.2 sec (according to the log). But the app is not opened in the connected device as usual. Perhaps, someone had the same issue. Thanks in advance for your reply.</p>
  
  <p>This is the scenario of what I do:</p>
  
  <pre><code>mary@mary-X540LA:~/AndroidStudioProjects/myapp$ flutter build apk --debug
  Initializing gradle...                                       1.5s
  Resolving dependencies...                                    2.4s
  Running 'gradlew assembleDebug'...                               
  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  Built build/app/outputs/apk/debug/app-debug.apk.
  
  mary@mary-X540LA:~/AndroidStudioProjects/myapp$ flutter install
  Initializing gradle...                                       8.6s
  Resolving dependencies...                                   14.5s
  Installing app.apk to SM G950F...
  Installing build/app/outputs/apk/app.apk...                  7.2s
  </code></pre>
  
  <p>PS: when I simply run (or debug) main.dart, the process is stopped on the point of installing:</p>
  
  <pre><code>Launching lib/main.dart on SM G950F in debug mode...
  Initializing gradle...
  Resolving dependencies...
  Running 'gradlew assembleDebug'...
  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  Built build/app/outputs/apk/debug/app-debug.apk.
  Installing build/app/outputs/apk/app.apk...
  </code></pre>