bizz84 / layout-demo-flutter Goto Github PK
View Code? Open in Web Editor NEWSuper Useful Flutter Layouts - Right in Your Pocket. π
Home Page: https://codewithandrea.com/
License: MIT License
Super Useful Flutter Layouts - Right in Your Pocket. π
Home Page: https://codewithandrea.com/
License: MIT License
as I did flutter run
, I got the following ERROR messages:
~/s/f/layout-demo-flutter ξ° ξ master ξ° flutter run
Running "flutter packages get" in layout-demo-flutter... 0.8s
Launching lib/main.dart on iPhone X in debug mode...
Starting Xcode build...
Xcode build done. 0.8s
Failed to build iOS app
Error output from Xcode build:
β³
** BUILD FAILED **
Xcode's output:
β³
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with βUse of deprecated Swift 3 @objc inferenceβ logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Could not build the application for the simulator.
Error launching application on iPhone X.
Referring to nested_page.dart
Hi. Trying to run the project but it does not work with latest flutter stable
Could you lock the version number so we can know what version to use via fvm
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not create service of type GeneralCompileCaches using GradleScopeCompileServices.createGeneralCompileCaches().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 31s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Your code on 'layout-demo-flutter' I have no idea where to start to resolve this... any thoughts??
Hi Andrea,
I don't know what that actually means. I click on all the icons and everything works fine except for the Hero Icon when it suddenly crushes giving an assertion error.
Exception caught by widgets library βββββββββββββββββββββββββββββββββββ
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4377 pos 14: 'owner!._debugCurrentBuildTarget == this': is not true.
The relevant error-causing widget was
MainPage
Below is the error message I received trying to run the app on my ios simulator in android studio. I am new to coding dart and flutter. How do i get this to run? I would like to download this app to my phone also to study on the go. Please help with that also. Thanks in advance
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
Xcode build done. 1.0s
Failed to build iOS app
Error output from Xcode build:
β³
** BUILD FAILED **
Xcode's output:
β³
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with βUse of deprecated Swift 3 @objc inferenceβ logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
In Android Studio, running everything up to date. Imported all dependencies upon cloning file.
The only file with errors that won't run.
console:
`Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Compiler message:
lib/pages/hero_page.dart:6:7: Error: The non-abstract class 'HeroHeader' is missing implementations for these members:
class HeroHeader implements SliverPersistentHeaderDelegate {
^^^^^^^^^^
../../Developer/flutter/packages/flutter/lib/src/widgets/sliver_persistent_header.dart:80:44: Context: 'SliverPersistentHeaderDelegate.stretchConfiguration' is defined here.
OverScrollHeaderStretchConfiguration get stretchConfiguration => null;
^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
Failed to build bundle.
Error launching application on iPhone 11 Pro Max.`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.