Comments (12)
I just solved this by myself.
Before , when I run flutter packages get
I get the following output:
Could not find a file named "pubspec.yaml" in https://github.com/MarkOSullivan94/dart_config.git 7a88fbc5fd987dce78e468ec45e9e841a49f422d.
Then, I deleted the folder git under --/flutter/.pub-cache/ , then flutter packages get
works.
Hope this works for others too~
from flutter_launcher_icons.
FYI I fixed this on my machine by manually repairing the cache.
Run this:
flutter pub pub cache repair
then i re-ran:
flutter packages get
and
flutter packages pub run flutter_launcher_icons:main
That seemed to do the trick.
from flutter_launcher_icons.
None of these worked for me.. ;/
from flutter_launcher_icons.
@w4mxl That didn't work for me, but it pointed me in the right direction.
For some reason, flutter seemed to be looking at /Users/myusername/.pub-cache/git
whereas the files were living in /Users/myusername/flutter/.pub-cache/git
. I'm not sure why that would be the case, but I solved my problem by symlinking ln -s /Users/myusername/flutter/.pub-cache /Users/myusername/.pub-cache
. Hopefully this helps someone. (Also, if someone has a better solution than this hack, that would be much appreciated.)
from flutter_launcher_icons.
Thanks for sharing @w4mxl!
The more solutions posted here, the less likely someone will get stuck with the same issue. Appreciate everyone posting how they fixed this issue.
from flutter_launcher_icons.
Same issue here.
[✓] Flutter (Channel beta, v0.11.9, on Mac OS X 10.13.6 17G65, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] VS Code (version 1.29.0)
[✓] Connected device (2 available)
from flutter_launcher_icons.
Thanks @aaronfg!
@bygrace1986 if that works for you I'll close this issue
from flutter_launcher_icons.
@MarkOSullivan94 Same issue here.
And @aaronfg way also doesn't work for me 🙁
My flutter version: 1.0.0+1
from flutter_launcher_icons.
@w4mxl solution worked for me. Thanks.
from flutter_launcher_icons.
@w4mxl That didn't work for me, but it pointed me in the right direction.
For some reason, flutter seemed to be looking at
/Users/myusername/.pub-cache/git
whereas the files were living in/Users/myusername/flutter/.pub-cache/git
. I'm not sure why that would be the case, but I solved my problem by symlinkingln -s /Users/myusername/flutter/.pub-cache /Users/myusername/.pub-cache
. Hopefully this helps someone. (Also, if someone has a better solution than this hack, that would be much appreciated.)
Yes, same problem, solved by symlinking.
from flutter_launcher_icons.
I just solved this by myself.
Before , when I run
flutter packages get
I get the following output:
Could not find a file named "pubspec.yaml" in https://github.com/MarkOSullivan94/dart_config.git 7a88fbc5fd987dce78e468ec45e9e841a49f422d.
Then, I deleted the folder git under --/flutter/.pub-cache/ , then
flutter packages get
works.Hope this works for others too~
This worked for me, thanks a lot!
from flutter_launcher_icons.
Hi guys,I am facing the same issue in Android studio and I tried your solution,but when I run “flutter packages get”,I was asked "how do your want to open this file ", still didnt work...
from flutter_launcher_icons.
Related Issues (20)
- [BUG] FormatException: Missing argument for "file".
- [BUG] Execution fails when renaming the default Runner project
- [BUG] Could not find a file named "pubspec.yaml"
- [BUG] ✗ ERROR: NoConfigFoundException No configuration found in flutter_launcher_icons.yaml or in pubspec.yaml. In case file exists in different directory use --file option #0 createIconsFromArguments (package:flutter_launcher_icons/main.dart:75:7) #1 main (file:///C:/Users/ahmed/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_launcher_icons-0.10.0/bin/main.dart:7:26) #2 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:294:33) #3 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189:12)
- [BUG] Unhandled Exception: PlatformException(INVALID_ICON, The resource app_icon could not be found. Please make sure it has been added as a drawable resource to your Android head project., null, null) HOT 1
- [BUG] Could not find a file named "pubspec.yaml" HOT 2
- Dart 2.18.2 is incompatible
- [BUG] Not all futures are awaited so impossible to create a dart custom dart script HOT 1
- [BUG] printStatus not using configured logger HOT 1
- [BUG] Backround color not changing HOT 2
- [BUG] Black screen on Samsung cellphone instead of white screen with icon in the middle? HOT 1
- [BUG] Adaptive Monochrome Icons are not generated HOT 2
- [BUG] icon resolution decreased
- [BUG] Android icon is zoomed in HOT 2
- [BUG] Icon not updated HOT 2
- [BUG] could not generate launcher icon
- [BUG] Issue with flutter_launcher_icons Background Color on iOS App HOT 2
- [BUG] Could not add icon.
- Icon change is not working for MacOS[BUG]
- [BUG] App icon generation with flavors seems to corrupt project.pbxproj
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_launcher_icons.