Skip to content

Build error in flutter linux #59890

Closed
Closed

Description

@TaimoorHassan

flutter tools fails on flutter run -d linux

CMake Error at cmake_install.cmake:61 (file): file INSTALL cannot copy file "/home/taimoor/junkcode/desk/build/linux/debug/desk" to "/usr/local/desk": Permission denied.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.20.0-1.0.pre.128, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3)
[✓] Connected device (3 available)

Edit: formatting

Activity

  1. TaimoorHassan commented on Jun 19, 2020

    @TaimoorHassan
    Author

    fixed by running flutter clean

  2. mathiasgodwin commented on May 16, 2021

    @mathiasgodwin

    fixed by running flutter clean

    It thus worked for me too, Thanks for saving my ass!

  3. iampato commented on May 19, 2021

    @iampato

    Super save

  4. github-actions commented on Aug 1, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions