Skip to content

Could not find a file named "pubspec.yaml" in "../.pub-cache/hosted/pub.dartlang.org/term_glyph-1.0.0". #16100

Closed
@myulz

Description

@myulz

Hi! I am trying to run the test drive code using android studio but I am getting this error whenever flutter packages get is ran:

Could not find a file named "pubspec.yaml" in "/Users/../.pub-cache/hosted/pub.dartlang.org/term_glyph-1.0.0". pub get failed (66)

Just followed all of the directions on the 'Get Started' page, but this is happening when I open/start any project in android studio or try to run it in terminal. I also just successfully set it up on my old laptop a few weeks ago so I'm not sure what I missed.

flutter doctor -v results:

[✓] Flutter (Channel beta, v0.2.3, on Mac OS X 10.13.3 17D47, locale en-US) • Flutter version 0.2.3 at /Users/../flutter • Framework revision 5a58b36e36 (2 weeks ago), 2018-03-13 13:20:13 -0700 • Engine revision e61bb9ac3a • Dart version 2.0.0-dev.35.flutter-290c576264

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/../Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.2, Build version 9C40b • ios-deploy 1.9.2 • CocoaPods version 1.4.0

[✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[!] IntelliJ IDEA Community Edition (version 2018.1) • IntelliJ at /Applications/IntelliJ IDEA CE.app ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • For information about installing plugins, see https://flutter.io/intellij-setup/#installing-the-plugins

[✓] Connected devices (1 available) • SM J327V • ~~~~~~~~~ • android-arm • Android 7.0 (API 24)

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions