gskinnerTeam / flutter-folio

A platform adaptive Flutter app for desktop, mobile and web.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OS Error access denied , errno = 5

taoruifu opened this issue · comments

windows10
Oops; flutter has exited unexpectedly: "FileSystemException: Cannot create link, path =
'E:\app\pp\flutter-folio\windows\flutter\ephemeral.plugin_symlinks\shared_preferences_windows' (OS Error: 拒绝访问。
, errno = 5)".
A crash report has been written to E:\app\pp\flutter-folio\flutter_05.log.

commented

Seems like some local build cache might be corrupt? Try flutter clean? Also, please post your flutter doctor --version

@esDotDev

PS E:\app\pp\flutter-folio> flutter clean
Deleting build... 6ms
Deleting .dart_tool... 2ms
Deleting .packages... 1ms
Deleting Generated.xcconfig... 0ms
Deleting flutter_export_environment.sh... 0ms
Deleting ephemeral... 5ms
Deleting .flutter-plugins-dependencies... 1ms
Deleting .flutter-plugins... 0ms
PS E:\app\pp\flutter-folio> flutter doctor -v
[√] Flutter (Channel dev, 2.1.0-10.0.pre, on Microsoft Windows [Version 10.0.17763.1577], locale zh-CN)
• Flutter version 2.1.0-10.0.pre at D:\work\flutter
• Framework revision cc9b78fc5c (11 days ago), 2021-02-25 13:26:03 -0800
• Engine revision a252ec09b7
• Dart version 2.13.0 (build 2.13.0-77.0.dev)

[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.

[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.6)
• Visual Studio at D:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.7.30611.23
• Windows 10 SDK version 10.0.18362.0

[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.53.1)
• VS Code at C:\Users\GF\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.17.0

[√] Connected device (2 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.17763.1577]
• Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.190

! Doctor found issues in 2 categories.
PS E:\app\pp\flutter-folio> flutter build windows
Warning: You are using these overridden dependencies:
! http 0.12.2 (0.13.0 available)
! http_parser 3.1.4 (4.0.0 available)
Running "flutter pub get" in flutter-folio... 26.0s

Oops; flutter has exited unexpectedly: "FileSystemException: Cannot create link, path =
'E:\app\pp\flutter-folio\windows\flutter\ephemeral.plugin_symlinks\bitsdojo_window_windows' (OS Error: 拒绝访问。
, errno = 5)".
A crash report has been written to E:\app\pp\flutter-folio\flutter_06.log.
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+FileSystemException%3A+Cannot+create+link%2C+path+%3D+%27E%3A%5Capp%5Cpp%5Cflutter-folio%5Cwindows%5Cflutter%5Cephemeral%5C.plugin_symlinks%5Cbitsdojo_window_windows%27+%28OS+Error%3A+%E6%8B%92%E7%BB%9D%E8%AE%BF%E9%97%AE%E3%80%82%0D%0A%2C+errno+%3D+5%29

To report your crash to the Flutter team, first read the guide to filing a bug.
https://flutter.dev/docs/resources/bug-reports

Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank you!
https://git.io/JqLwd