Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save matejthetree/7ad99502ab0ec23158d293a5c83779aa to your computer and use it in GitHub Desktop.
Save matejthetree/7ad99502ab0ec23158d293a5c83779aa to your computer and use it in GitHub Desktop.
matejs-MacBook-Pro:dart matejsimunic$ flutter create not_working
Creating project not_working...
not_working/ios/Runner.xcworkspace/contents.xcworkspacedata (created)
not_working/ios/Runner/Info.plist (created)
not_working/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (created)
not_working/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (created)
not_working/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (created)
not_working/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (created)
not_working/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (created)
not_working/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (created)
not_working/ios/Runner/Base.lproj/LaunchScreen.storyboard (created)
not_working/ios/Runner/Base.lproj/Main.storyboard (created)
not_working/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (created)
not_working/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (created)
not_working/ios/Flutter/Debug.xcconfig (created)
not_working/ios/Flutter/Release.xcconfig (created)
not_working/ios/Flutter/AppFrameworkInfo.plist (created)
not_working/ios/.gitignore (created)
not_working/test/widget_test.dart (created)
not_working/not_working.iml (created)
not_working/.gitignore (created)
not_working/.metadata (created)
not_working/ios/Runner/AppDelegate.h (created)
not_working/ios/Runner/main.m (created)
not_working/ios/Runner/AppDelegate.m (created)
not_working/ios/Runner.xcodeproj/project.pbxproj (created)
not_working/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (created)
not_working/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (created)
not_working/android/app/src/main/res/drawable/launch_background.xml (created)
not_working/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (created)
not_working/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (created)
not_working/android/app/src/main/res/values/styles.xml (created)
not_working/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (created)
not_working/android/app/src/main/AndroidManifest.xml (created)
not_working/android/gradle/wrapper/gradle-wrapper.properties (created)
not_working/android/.gitignore (created)
not_working/android/gradle.properties (created)
not_working/android/settings.gradle (created)
not_working/pubspec.yaml (created)
not_working/README.md (created)
not_working/lib/main.dart (created)
not_working/android/app/build.gradle (created)
not_working/android/app/src/main/java/com/example/notworking/MainActivity.java (created)
not_working/android/build.gradle (created)
not_working/not_working_android.iml (created)
not_working/.idea/runConfigurations/main_dart.xml (created)
not_working/.idea/libraries/Flutter_for_Android.xml (created)
not_working/.idea/libraries/Dart_SDK.xml (created)
not_working/.idea/modules.xml (created)
not_working/.idea/workspace.xml (created)
Wrote 65 files.
Running "flutter packages get" in not_working... 10.3s
[✓] Flutter is fully installed. (Channel beta, v0.2.3, on Mac OS X 10.13.3 17D102, locale en-HR)
[✓] Android toolchain - develop for Android devices is fully installed. (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices is fully installed. (Xcode 9.2)
[✓] Android Studio is fully installed. (version 3.0)
[✓] IntelliJ IDEA Ultimate Edition is fully installed. (version 2018.1)
[✓] Connected devices is fully installed. (1 available)
All done! In order to run your application, type:
$ cd not_working
$ flutter run
Your main program file is lib/main.dart in the not_working directory.
matejs-MacBook-Pro:dart matejsimunic$ cd not_working/
matejs-MacBook-Pro:not_working matejsimunic$ flutter run
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Your application could not be compiled, because its dependencies could not be established.
The following Dart file:
/Users/matejsimunic/Work/dart/flutter/packages/flutter/lib/material.dart
...refers, in an import, to the following library:
/Users/matejsimunic/Work/dart/flutter/packages/flutter/lib/src/material/animated_icons.dart
Unfortunately, that library does not appear to exist on your file system.
matejs-MacBook-Pro:not_working matejsimunic$ flutter analyze
Analyzing /Users/matejsimunic/Work/dart/not_working...
error • Classes can only extend other classes at lib/main.dart:5:21 • extends_non_class
error • Classes can only extend other classes at lib/main.dart:27:26 • extends_non_class
error • Classes can only extend other classes at lib/main.dart:45:32 • extends_non_class
warning • The function 'runApp' isn't defined at lib/main.dart:3:16 • undefined_function
warning • Undefined class 'StatelessWidget' at lib/main.dart:5:21 • undefined_class
warning • Undefined class 'Widget' at lib/main.dart:8:3 • undefined_class
warning • Undefined class 'BuildContext' at lib/main.dart:8:16 • undefined_class
warning • Undefined name 'Colors' at lib/main.dart:20:24 • undefined_identifier
warning • Undefined class 'StatefulWidget' at lib/main.dart:27:26 • undefined_class
warning • Undefined class 'Key' at lib/main.dart:28:15 • undefined_class
warning • The named parameter 'key' isn't defined at lib/main.dart:28:45 • undefined_named_parameter
warning • Undefined class 'State' at lib/main.dart:45:32 • undefined_class
warning • The method 'setState' isn't defined for the class '_MyHomePageState' at lib/main.dart:49:5 • undefined_method
warning • Undefined class 'Widget' at lib/main.dart:60:3 • undefined_class
warning • Undefined class 'BuildContext' at lib/main.dart:60:16 • undefined_class
warning • Undefined class 'Text' at lib/main.dart:71:20 • undefined_class
warning • Undefined name 'widget' at lib/main.dart:71:25 • undefined_identifier
warning • Undefined class 'Center' at lib/main.dart:73:17 • undefined_class
warning • Undefined class 'Column' at lib/main.dart:76:20 • undefined_class
warning • Undefined name 'MainAxisAlignment' at lib/main.dart:90:30 • undefined_identifier
warning • The name 'Widget' isn't a type so it can't be used as a type argument at lib/main.dart:91:22 • non_type_as_type_argument
warning • Undefined class 'Text' at lib/main.dart:92:17 • undefined_class
warning • Undefined class 'Text' at lib/main.dart:95:17 • undefined_class
warning • Undefined class 'Icon' at lib/main.dart:105:20 • undefined_class
warning • Undefined name 'Icons' at lib/main.dart:105:25 • undefined_identifier
warning • The method 'tap' isn't defined for the class 'WidgetTester' at test/widget_test.dart:22:18 • undefined_method
warning • Undefined name 'Icons' at test/widget_test.dart:22:34 • undefined_identifier
hint • Method doesn't override an inherited method at lib/main.dart:8:10 • override_on_non_overriding_method
hint • Method doesn't override an inherited method at lib/main.dart:42:20 • override_on_non_overriding_method
hint • Method doesn't override an inherited method at lib/main.dart:60:10 • override_on_non_overriding_method
hint • Unused import: 'package:flutter/material.dart' at test/widget_test.dart:7:8 • unused_import
31 issues found.
(Ran in 2.7s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment