Home > Software engineering >  Installing build/app/outputs/flutter-apk/app.apk... is missing / not happening after flutter run. No
Installing build/app/outputs/flutter-apk/app.apk... is missing / not happening after flutter run. No

Time:03-12

When I flutter run, the app starts normally but when I stop the process, there is no app saved on the device as usual and also the employed build release is empty

normally when I flutter run I get this message:

- flutter run
Launching lib/main.dart on sdk gphone arm64 in debug mode...
Running Gradle task 'assembleDebug'...                            25.1s⣽
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...

this time, the line

Installing build/app/outputs/flutter-apk/app.apk...

is missing

im using visual studio code, anroid emulator, firebase:


    # Firebase
      firebase_core: ^1.12.0 
      cloud_firestore: ^2.5.4
      cloud_firestore_web: ^2.4.4

flutter doctor:


    [✓] Flutter (Channel stable, 2.10.1, on macOS 12.2.1 21D62 darwin-arm, locale en-DE)
    [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    [✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    [✓] Chrome - develop for the web
    [✓] Android Studio (version 2021.1)
    [✓] VS Code (version 1.65.1)
    [✓] Connected device (2 available)
    [✓] HTTP Host Availability
    
    • No issues found!

CodePudding user response:

try to do, flutter clean, also make sure the app is totally deleted from the device or emulator. if ur using emulator, clean it's data if ur using device, look for the app in settings an then app.

CodePudding user response:

If you are using emulator, make sure your emulator is identified by VS Codesomething like this, in my case, iPhone 13 (ios Simulator)

If the device section has No Device printed, click on it to select an emulator, if you do not see the emulator name in the list, then try building a new emulator.

If you are using physical phone, turn on the USB debugging mode in settings section.

  • Related