Giter Club home page Giter Club logo

Comments (9)

Shubxam avatar Shubxam commented on May 23, 2024

I can confirm this behavior.

from color-studio.

bernaferrari avatar bernaferrari commented on May 23, 2024

Uhhhh ohh. I'm testing in dev (1.13.5 framework revision 41a911099b) in macOS. Could you try in dev branch and tell me what happens?

I tried it here on the web and worked fine.

ChangeDetection

from color-studio.

jshvarts avatar jshvarts commented on May 23, 2024

Possibly related: Running gradlew build in android getting build failure.

lib/example/mdc/showcase.dart:173:27: Error: No named parameter with the name 'clipBehavior'.
                          clipBehavior: Clip.antiAlias,
                          ^^^^^^^^^^^^
../../development/flutter/packages/flutter/lib/src/widgets/container.dart:302:3: Context: Found this candidate, but the arguments don't match.
  Container({
  ^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

> Task :app:compileFlutterBuildDebug FAILED

FAILURE: Build failed with an exception.

from color-studio.

bernaferrari avatar bernaferrari commented on May 23, 2024

Thanks! @jshvarts

I know what went wrong. ClipBehavior on Container was commited 24 days ago and is available since 1.13.0, but not on stable. I have just replaced it with something else. Could you all try again?!

flutter/flutter@f68cdac#diff-26623f46f87b8f10fdcf148c2e53469a

from color-studio.

jshvarts avatar jshvarts commented on May 23, 2024

Builds and runs fine in AS now!

gradlew build now gives me a test failure but at least I can build it in AS.

> Task :path_provider:testDebugUnitTest FAILED
io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_valid FAILED
    java.lang.IllegalArgumentException at StorageDirectoryMapperTest.java:28
3 tests completed, 1 failed
FAILURE: Build failed with an exception.

from color-studio.

bernaferrari avatar bernaferrari commented on May 23, 2024

.___. I'll give a look into this (plus, the signing issues with gradle). Thanks!

from color-studio.

bernaferrari avatar bernaferrari commented on May 23, 2024

Issues with Gradle solved. After initial flutter pub get it should work without errors in Android and iOS (after pod install).

from color-studio.

jshvarts avatar jshvarts commented on May 23, 2024

hmmm...still see the same test failure

from color-studio.

bernaferrari avatar bernaferrari commented on May 23, 2024

I'm not sure where that is coming from. Couldn't find anything. But as long as you can run it, it should be fine. Feel free to tell if anything weird ever happens again. I'm also setting up GitHub Actions with the stable release of Flutter, so this issue never happens with you or anyone else ever again.

from color-studio.

Related Issues (5)

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.