Code Monkey home page Code Monkey logo

flutter-todolist's People

Contributors

kirbynguyen avatar livelikecounter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter-todolist's Issues

Build failed with error: Finished with error: Please review your Gradle project setup in the android/ folder.

Here is the output of flutter doctor

C:\DevTools\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, v1.9.1+hotfix.2, on Microsoft Windows [Version 6.1.7601], locale en-US)
    • Flutter version 1.9.1+hotfix.2 at C:\DevTools\flutter
    • Framework revision 2d2a1ffec9 (2 weeks ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at C:/DevTools/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • ANDROID_HOME = C:/DevTools/Android/sdk
    • Java binary at: C:\DevTools\Android\studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\DevTools\Android\studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

And build log

Launching lib\main.dart on SM G960F in debug mode...
Initializing gradle...
Resolving dependencies...
* Error running Gradle:
ProcessException: Process "D:\Projects\GitHub\flutter-app\android\gradlew.bat" exited abnormally:

  Command: D:\Projects\GitHub\flutter-app\android\gradlew.bat app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

Do you have any issue when building app like me?

Distorted assets

The images look a bit distorted on most devices.. It would have been better if you could use a custom font based Icon or svg files maybe? Other than that it looks Awesome. Good Job

Could not start Observatory HTTP server

I'm attempting to run this Flutter To-Do list app in Visual Studio Code:

And I'm encountering this error:

I/flutter (30973): Observatory server failed to start after 11 tries
I/flutter (30973): Could not start Observatory HTTP server:
I/flutter (30973): SocketException: Failed to create server socket (OS Error: Operation not permitted, errno = 1), address = 127.0.0.1, port = 0
[38;5;244mI/flutter (30973): #0      _NativeSocket.bind  (dart:io-patch/socket_patch.dart:736:7)[39;49m
I/flutter (30973): <asynchronous suspension>
[38;5;244mI/flutter (30973): #1      _RawServerSocket.bind  (dart:io-patch/socket_patch.dart:1394:26)[39;49m
[38;5;244mI/flutter (30973): #2      _ServerSocket.bind  (dart:io-patch/socket_patch.dart:1676:29)[39;49m
[38;5;244mI/flutter (30973): #3      ServerSocket._bind  (dart:io-patch/socket_patch.dart:1667:26)[39;49m
[38;5;244mI/flutter (30973): #4      ServerSocket.bind  (dart:io/socket.dart:382:27)[39;49m
[38;5;244mI/flutter (30973): #5      _HttpServer.bind  (dart:_http/http_impl.dart:2701:25)[39;49m
I/flutter (30973): #6      HttpServer.bind (dart:_http:229:19)
[38;5;244mI/flutter (30973): #7      Server.startup.poll  (dart:vmservice_io/vmservice_server.dart:410:36)[39;49m
I/flutter (30973): <asynchronous suspension>
I/flutter (30973): #8      Server.startup.poll (dart:vmservice_io/vmservice_server.dart)
[38;5;244mI/flutter (30973): #9      Server.startup  (dart:vmservice_io/vmservice_server.dart:422:23)[39;49m
I/flutter (30973): <asynchronous suspension>
I/flutter (30973): #10     main (dart:vmservice_io:262:12)

I'm running Windows 10 Home.

After doing some digging on the issue I have tried:

No success here.

On all my debug, main and profile AndroidManifest.xml files I have:

...
<uses-permission android:name="android.permission.INTERNET" />
...

Except on the main one I have:

...
<uses-permission android:name="android.permission.INTERNET" android:maxSdkVersion="18" />
...

On my pubsec.yaml file I have:

...
environment:
  sdk: ">=2.2.0 <3.0.0"
...

On my android/app/build.gradle file I have:

...
android {
    compileSdkVersion 28
...

Flutter Doctor:

[√] Flutter (Channel stable, v1.17.1, on Microsoft Windows [Version 10.0.18363.836], locale en-US)
    • Flutter version 1.17.1 at C:\SDK\FlutterSDK\flutter
    • Framework revision f7a6a7906b (4 weeks ago), 2020-05-12 18:39:00 -0700
    • Engine revision 6bc433c6b6
    • Dart version 2.8.2


[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\y_cha\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.45.1)
    • VS Code at C:\Users\y_cha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.11.0

[√] Connected device (2 available)
    • SM G975F                  • R58M43954DX   • android-arm64 • Android 10 (API 29)
    • Android SDK built for x86 • emulator-5554 • android-x86   • Android 10 (API 29) (emulator)

• No issues found!

Gradle version:

distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip

This issue happens on both the android emulator and my physical device.

I have seen this issue show up in many searches, but I haven't seen a definitive solution.

Anyone with any knowledge of a solution to this please help.

Thanks.

Error to run App

Hi, I'm new to Flutter development, and I found your app beautiful, I would like to try it out and see the features. But I went to run the app and the following error occurred:

  • Error running Gradle:
    ProcessException: Process "D:\Projetos\flutter\Exemplos\Flutter_Todolist\android\gradlew.bat" exited abnormally:

FAILURE: Build failed with an exception.

  • Where:
    Build file 'D:\Projetos\flutter\Exemplos\Flutter_Todolist\android\app\build.gradle' line: 53

  • What went wrong:
    A problem occurred evaluating project ':app'.

path may not be null or empty string. path='null'

How can I resolve this ?

Dependency problem

Error (Xcode): ../../.pub-cache/git/GradientAppBar-37c4b1bea68eebaf29627cc696fcf8ed4701592e/lib/gradient_app_bar.dart:1177:9: Error: No named parameter with the name 'vsync'.

Error (Xcode): ../../.pub-cache/git/GradientAppBar-37c4b1bea68eebaf29627cc696fcf8ed4701592e/lib/gradient_app_bar.dart:421:47: Error: The getter 'title' isn't defined for the class 'TextTheme'.

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.

License for screenshot?

Hi, I didn't see a license in the repo but the README text mentioned the app's free. Can I use the screenshot in an article on Flutter? It's beautiful for showing off Flutter's native tool kit

issues with getters

in the gradient_app_bar and text_them it can't get title and body1 and throws a bunch of errors on build

Error to run App

I went to run the app and the following error occurred:

Launching lib/main.dart on sdk gphone x86 arm in debug mode...
../../flutter/.pub-cache/hosted/pub.dartlang.org/gradient_app_bar-0.1.3/lib/gradient_app_bar.dart:407:57: Error: No named parameter with the name 'nullOk'.
final ScaffoldState scaffold = Scaffold.of(context, nullOk: true);
^^^^^^
../../flutter/packages/flutter/lib/src/material/scaffold.dart:1944:24: Context: Found this candidate, but the arguments don't match.
static ScaffoldState of(BuildContext context) {

                   ^^

../../flutter/.pub-cache/hosted/pub.dartlang.org/gradient_app_bar-0.1.3/lib/gradient_app_bar.dart:636:20: Error: The method 'ancestorRenderObjectOfType' isn't defined for the class 'BuildContext'.

  • 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../flutter/packages/flutter/lib/src/widgets/framework.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'ancestorRenderObjectOfType'.
    return context.ancestorRenderObjectOfType(

                ^^^^^^^^^^^^^^^^^^^^^^^^^^
    

FAILURE: Build failed with an exception.

  • Where:
    Script '/home/zedki7/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 991
  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/zedki7/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org
    BUILD FAILED in 11s
    Exception: Gradle task assembleDebug failed with exit code 1
    Exited (sigterm)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.