Comments (7)
@theSoenke For some reason, running flutter packages pub get
instead of flutter pub get
for codemagic build script solved my issue (solution from the community). Now build is generated and OTA is working...
from flutter_sdk_example.
@Mik77o Glad this is working now! And thanks for posting the solution in case anyone else runs into the same issue
from flutter_sdk_example.
Hi @Mik77o, could you try setting synthetic-package
to false in in l10n.yaml and check whether this makes any difference?
from flutter_sdk_example.
Hi @Mik77o, could you try setting
synthetic-package
to false in in l10n.yaml and check whether this makes any difference?
Okay, I will try :)
from flutter_sdk_example.
@theSoenke I got:
'phrase_localizations.dart' has been successfully created
flutter packages pub run build_runner build --delete-conflicting-outputs
Unhandled exception:
_bad state: Unable to generate package graph, no /Users/builder/clone/.dart_tool/flutter_gen/pubspec.yaml
found.
#0 _pubspecForPath (package:build_runner_core/src/package_graph/package_graph.dart:232:5)
#1 parsePackageDependencies (package:build_runner_core/src/package_graph/package_graph.dart:206:21)
#2 PackageGraph.forPath (package:build_runner_core/src/package_graph/package_graph.dart:101:33)
#3 main (file:///Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/build_runner-2.3.2/bin/build_runner.dart:27:30)
pub finished with exit code 255
make: *** [generate-code] Error 255
from flutter_sdk_example.
@theSoenke I found something like that: dart-lang/build#2835 (comment)
from flutter_sdk_example.
@Mik77o Glad this is working now! And thanks for posting the solution in case anyone else runs into the same issue
Yes, it's very interesting how these two commands differ because according to the documentation they mean the same thing.
from flutter_sdk_example.
Related Issues (13)
- Placeholders not generated in .arb files for plural forms HOT 6
- Phrase.getText() not work. HOT 2
- Update of the dependencies HOT 2
- failed to run because of flutter_gen HOT 15
- fix: consider `l10n.yaml`'s `output-class` parameter when generating `PhraseLocalizations` class HOT 3
- chore(deps): please update `package_info_plus` constraints HOT 2
- bug: `Error: The class 'FileSystemEvent' can't be extended [...] in outside of its library because it's a sealed class.` HOT 1
- Phrase flutter HOT 1
- Feature request (Flutter): Deleting the cache on the local device HOT 3
- Feature Request : Translating a String variable HOT 4
- Unit Testing HOT 6
- Modified generated code HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_sdk_example.