id
stringlengths 4
10
| text
stringlengths 4
2.14M
| source
stringclasses 2
values | created
timestamp[s]date 2001-05-16 21:05:09
2025-01-01 03:38:30
| added
stringdate 2025-04-01 04:05:38
2025-04-01 07:14:06
| metadata
dict |
---|---|---|---|---|---|
899613133
|
removed JQUERY dependecy
removed JQUERY dependecy
fix on dependency removal - minified
|
gharchive/pull-request
| 2021-05-24T12:25:07 |
2025-04-01T04:34:15.597142
|
{
"authors": [
"Amalkarunakaran"
],
"repo": "finom/vanillatree",
"url": "https://github.com/finom/vanillatree/pull/9",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
}
|
1306470750
|
02 August 2022 - Diversity Equity & Inclusion Special Interest Group Meeting
Date
02 August 2022 - 1:00 PM EST
Untracked attendees
Fullname, Affiliation, (optional) GitHub username
...
Meeting notices
FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.
All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.
FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact legal@finos.org with any questions.
FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.
Agenda
[ ] Convene & roll call (5mins)
[ ] Display FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Approve past meeting minutes
[ ] DEI sessions/talks at OSFF NY - Dec 8th - Call for Papers deadline Sept 12th -
[ ] FINOS July board meeting - presentation update (incl below main points) & next steps
[ ] Discuss/agree on types of contributions for Awards (to be used for OSSF NY with the end goal of increasing diversity in award recipient profiles) (Beeke)
[ ] OKRs (target vs goal)
[ ] AOB, Q&A & Adjourn (5mins)
Decisions Made
[ ] Decision 1
[ ] Decision 2
[ ] ...
Action Items
[ ] Action 1
[ ] Action 2
[ ] ...
Meeting info
Join Zoom Meeting
https://zoom.us/j/98492160513
Meeting ID: 984 9216 0513
Passcode: 691166
Hello :hand:
hello!
howdy - and @mcleo-d as well
Hi!
hi
Hi everyone ✋
Hi
Declan O'Gorman linkedin keynote from OSFF London
|
gharchive/issue
| 2022-07-15T20:38:03 |
2025-04-01T04:34:15.609971
|
{
"authors": [
"TheJuanAndOnly99",
"alstratigos",
"cm-howard",
"grizzwolf",
"jevonbeck",
"melindajoy",
"winmorgan"
],
"repo": "finos/DEI-SIG",
"url": "https://github.com/finos/DEI-SIG/issues/11",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
1480064501
|
Dec 7th 2022 - Diversity Equity & Inclusion Special Interest Group Meeting
Date
Dec 7th 2022 - 12:00pm EST
Untracked attendees
Fullname, Affiliation, (optional) GitHub username
...
Meeting notices
FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.
All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.
FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact legal@finos.org with any questions.
FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.
Agenda
[ ] Convene & roll call (5mins)
[ ] Display FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Approve past meeting minutes
[ ] Agenda item 1
[ ] Agenda item 2
[ ] ...
[ ] AOB, Q&A & Adjourn (5mins)
Decisions Made
[ ] Decision 1
[ ] Decision 2
[ ] ...
Action Items
[ ] Action 1
[ ] Action 2
[ ] ...
Meeting Info
Join Zoom Meeting
https://zoom.us/j/98492160513
Meeting ID: 984 9216 0513
Passcode: 691166
hi
hi
Hello 👋🏻
Hello, all!
|
gharchive/issue
| 2022-12-06T20:05:21 |
2025-04-01T04:34:15.621532
|
{
"authors": [
"TheJuanAndOnly99",
"beekemarie",
"mcleo-d",
"whykay"
],
"repo": "finos/DEI-SIG",
"url": "https://github.com/finos/DEI-SIG/issues/16",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
1433178791
|
Add InnerSource SIG License Working Group Agenda template
Description
This pull request add an agenda template for the InnerSource SIG License Working Group that includes a unique webex that's different to the main SIG meeting.
Date
Monday DD MMM yyyy - time EST / time UK
Untracked attendees
Fullname, Affiliation, (optional) GitHub username
...
Meeting notices
FINOS SIG Leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.
All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.
FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact legal@finos.org with any questions.
FINOS SIG meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.
Agenda
[ ] Convene & roll call (5mins)
[ ] Display
FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Approve past meeting minutes
[ ] Agenda item 1
[ ] Agenda item 2
[ ] ...
[ ] AOB, Q&A & Adjourn (5mins)
Decisions Made
[ ] Decision 1
[ ] Decision 2
[ ] ...
Action Items
[ ] Action 1
[ ] Action 2
[ ] ...
Zoom Details
https://zoom.us/j/94949043746?pwd=WnBFQjhpUnBjMWE0OUhqUGhhb0ZOdz09
Meeting ID: 949 4904 3746
Passcode: 067897
Join by phone
Find your local number: https://zoom.us/u/adJnH9JOiY
Mailing List
Email innersource+subscribe@finos.org to subscribe to the InnerSource SIG
mailing list.
Hey @amaltson 👋🏻
Do you mind reviewing and merging this PR?
Thanks,
James.
@mcleo-d merged PR as standard template
|
gharchive/pull-request
| 2022-11-02T13:47:58 |
2025-04-01T04:34:15.634461
|
{
"authors": [
"mcleo-d"
],
"repo": "finos/InnerSource",
"url": "https://github.com/finos/InnerSource/pull/73",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2240712209
|
add id in template query in dataspace
add id in template query in dataspace
lets fix the build failure here
|
gharchive/pull-request
| 2024-04-12T18:42:22 |
2025-04-01T04:34:15.635394
|
{
"authors": [
"MauricioUyaguari",
"YannanGao-gs"
],
"repo": "finos/legend",
"url": "https://github.com/finos/legend/pull/807",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
402223713
|
Investigate Integration with CLAHub
https://www.clahub.com/
Not needed as now provided by FINOS cla-bot.
|
gharchive/issue
| 2019-01-23T12:48:05 |
2025-04-01T04:34:15.636367
|
{
"authors": [
"davidwatkins73"
],
"repo": "finos/waltz",
"url": "https://github.com/finos/waltz/issues/3779",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2471373894
|
Type system support for iterators
For for-in loops we need some kind of iterator type, but the type system is not expressive enough yet to support it.
In a loop like for x in a: ... we want a to be some kind of iterator that yields elements of some type, which will be the type of x.
For example, for the vector type:
type Vec[T]:
data: Array[T]
len: U32
type VecIter[T]:
vec: Vec[T]
idx: U32
There are two ways of implementing an iterator type:
# (1) Using multiple parameters.
trait Iterator[C, A]:
fn next(self: C): Option[A]
impl[T] Iterator[VecIter[T], T]:
# Here we could make type of `self` implicit and use the first type
# parameter of the trait as the self type.
fn next(self: VecIter[T]): Option[T] = ...
# (2) Using associated types.
trait Iterator[C]:
type Item
fn next(self): Option[Item]
impl[T] Iterator[VecIter[T]]:
type Item = T
fn next(self): Option[T] = ...
Because in (1) the method refers to all of the type parameters of the trait, there is no ambiguity, and the difference between these two is only syntactic.
I don't know any other way to make for-in loops work, so we should implement one of these.
I'm inclined towards (2) for the following reasons:
Trait system at this point is already a simplified version of Rust's trait system, and copying more of Rust's trait makes sense as we know overall system is still coherent and works well, and it's familiar.
Associated types should be simpler to implement as they don't make trait resolving process any more complicated.
I've implemented associated types. Here's a test that defines an iterator trait and an instance: https://github.com/fir-lang/fir/blob/fefa9c2c25dd81508938f7755a23311254722de6/tests/Iterator.fir.
|
gharchive/issue
| 2024-08-17T06:21:23 |
2025-04-01T04:34:15.644688
|
{
"authors": [
"osa1"
],
"repo": "fir-lang/fir",
"url": "https://github.com/fir-lang/fir/issues/21",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
}
|
2000580760
|
Create of thumbview after closing previous causes errors
Open folder in thumbview.
Open second folder in thumbview.
Open third folder in thumbview.
Close 3rd view.
Close 2d view.
Open a new view. Can be same from steps 2 or 3, or new view.
Click on an image thumbnail.
Python error occurs. Selection doesn't happen.
Traceback (most recent call last):
File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
return self.func(*args)
File "/home/kevin/proj/pyTagger/pyphoto/PyGadgets-source/_PyPhoto/PIL/pyphoto.py", line 846, in handler1
singleClick(_link, imgdir, _imgfile)
File "/home/kevin/proj/pyTagger/pyphoto/PyGadgets-source/_PyPhoto/PIL/pyphoto.py", line 720, in singleClick
btnSelected.config(bg=orig_color, activebackground=orig_color)
File "/usr/lib/python3.10/tkinter/__init__.py", line 1675, in configure
return self._configure('configure', cnf, kw)
File "/usr/lib/python3.10/tkinter/__init__.py", line 1665, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: invalid command name ".!toplevel.!scrolledcanvas.!button206"
|
gharchive/issue
| 2023-11-18T21:08:35 |
2025-04-01T04:34:15.650242
|
{
"authors": [
"fire-eggs"
],
"repo": "fire-eggs/pyTagger",
"url": "https://github.com/fire-eggs/pyTagger/issues/21",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
}
|
161094564
|
added a FragmentStatePagerAdapter class
Added a FragmentStatePagerAdapter class, which uses the FirebaseArray class.
@dabele91 first of all thank you for this incredibly complete pull request (docs and everything!). We love to see this kind of involvement from the community.
While I totally see the utility of this feature and I think your implementation is good, I have to close this Pull Request as it's out of scope for this library. There are many adapters in Android that could be implemented on top of FirebaseArray (Fragments, Spinners, ViewPager, etc) but we'd like to keep the surface of the library small and only have the most popular features so that we can effectively support the library and keep it updated in the future.
For this feature I'd suggest making your own library that has a dependency on Firebase UI. If you've never published an Android library before it's very easy these days with Bintray and jCenter!
Also in the future if you plan to implement a new feature it's always good to submit an Issue first to see what the reaction to a Pull Request would be before putting in all the hard work to implement.
@samtstern thanks for the great feedback :-)
It wasn't much work because i've needed the class anyway.
Next time i'll create an issue, to check, if the community needs such an class.
I'm thinking about it, to publish the class in an separate library the next days.
Thanks for the tips :-)
|
gharchive/pull-request
| 2016-06-19T22:02:22 |
2025-04-01T04:34:15.671039
|
{
"authors": [
"dabele91",
"samtstern"
],
"repo": "firebase/FirebaseUI-Android",
"url": "https://github.com/firebase/FirebaseUI-Android/pull/194",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
571641428
|
chore(storage-resize-images) Move package.json into functions folder
Having package.json inside extension root doesn't make as much sense as having it inside of the functions folder, since it's the package.json for the functions, not for the entire extension.
Once you've verified that this works (I've already verified on my side, but good to double check.) Can one of you also do this for all the other extensions please?
Hey @laurenzlong - I see a couple issues with making this change;
Lerna mono-repo issues, e.g.;
will no longer install packages for each extension
post install at root will no longer clean & build js in each package
CI (tests in this extension now fail)
generate-readme script in each package.json will no longer work
firestore-bigquery-export has a root package.json alongside a separate package.json in functions
Closing as discussed - we'll draft another PR against the translate text extension for this
|
gharchive/pull-request
| 2020-02-26T20:32:02 |
2025-04-01T04:34:15.674889
|
{
"authors": [
"Salakar",
"laurenzlong"
],
"repo": "firebase/extensions",
"url": "https://github.com/firebase/extensions/pull/208",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
759736619
|
FR: Use Firestore client credentials with firestore emulator
It would be nice to be able to run tests against a local Firestore emulator that respected the credentials in the client, at the moment they are discarded when connecting to the emulator. This would allow tests of firestore rules in python.
This can be done by replacing grpc.ssh_channel_credentials() with grpc.local_channel_credentials() in the grpc channel when _emulator_host is used.
Would you accept a pull request doing this
thanks
P
Thanks for the feature request @paulharter. Couple of points:
Firestore Python SDK is developed at https://github.com/googleapis/python-firestore. So any pull requests should be submitted there.
Server-side Firestore interactions are not subjected to rules checks (regardless of the credentials being used). This is a known limitation with Firestore at the moment: https://firebase.google.com/docs/firestore/security/overview
@hiranya911
1 - Sorry for being in the wrong place. I'll go over there.
2 - The python admin SDK can be used to interact with firestore as if it was a client and it does use the rule checks if you use credentials wrapped round a custom token. This has worked for a while now
Thanks
|
gharchive/issue
| 2020-12-08T19:58:10 |
2025-04-01T04:34:15.679191
|
{
"authors": [
"hiranya911",
"paulharter"
],
"repo": "firebase/firebase-admin-python",
"url": "https://github.com/firebase/firebase-admin-python/issues/513",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
594765704
|
Completion closure on putData to upload a file to Firebase Storage is never called
Step 0: Are you in the right place?
For issues or feature requests related to the code in this repository
file a Github issue.
If this is a feature request please use the Feature Request template.
For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.
[REQUIRED] Step 1: Describe your environment
Xcode version: 11.0
Firebase SDK version: Latest
Firebase Component: Storage
Component version: Latest
Installation method: CocoaPods
[REQUIRED] Step 2: Describe the problem
When running a putData method in an iPhone without any internet connection it never calls the completion callback.
When monitoring the progress/status of an upload task it never gets called too, i.e. we as developers will get stuck and won't get any response from the Firebase SDK when trying to upload a file without internet connection. We can't just show a connection error for our users because we don't get notified when it does happen, and the "completion" that should be called even when there's an error doesn't get called.
Steps to reproduce:
Just try to upload a file without any internet connection.
Relevant Code:
No need.
Related stackoverflow discussions:
https://stackoverflow.com/a/61046081
https://stackoverflow.com/a/42536475/556617
@filipealva Thanks for filing this.
We don't raise any events if the network is unavailable since this is not an error condition for our SDK. The networking library we use will retry the upload when the device gains network connectivity. We should probably use our progress events to let you know when the upload begins to stall (similar to https://github.com/firebase/firebase-ios-sdk/issues/5298), but this is not something we do right now.
We will prioritize requests like these and let you know when this is part of our roadmap.
Guys,
I completely understand that it's not an Firebase SDK error condition, but:
Usually the file upload will come from an user interaction. In the case of a internet connection error, how would we give the user feedback and decide how to proceed in the app without the callback being called. The upload operation has failed. Doesn't matter if it will retry.
Even if the SDK retries. What if the user closed the application? I'll lose track of the progress observer. How I'll grab the downloadUrl for this file?
I'm checking the internet connection before firing the upload operation, but it looks like unnecessary workaround. I mean, there's a "completion" block, the operation failed, it should be called in order for the app to flow, even if there's a retry.
Also, if you use the Firebase SDK with logging enabled you'll see that the network error is logged in the console. I see no reason for not calling the completion block, to be honest.
Thank you guys for making the things clearer for me, I'll keep with the internet connection check workaround and hope to see the completion block being called for a network error in a future version of the SDK
Besides checking for internet connection I ended up implementing a wrapper + a timer to force the completion call when Firebase Storage fails to run the callback for the put operation within a time interval (in my case 20 seconds).
I'll share the idea here just in case someone needs the same behaviour than me and is wondering an alternative:
var hasRanCompletion = false
let operationTimer = Timer(timeInterval: 20, repeats: false) { timer in
timer.invalidate()
guard !hasRanCompletion else {
return
}
DeliveryProofManager.addPendingUpload(deliveryProofUpload)
completion?(nil)
}
RunLoop.current.add(operationTimer, forMode: .common)
let reference = fileStorage.reference().child("your_path")
let task = reference.putData(deliveryProofUpload.data, metadata: nil) { _, error in
hasRanCompletion = true
operationTimer.invalidate()
guard error == nil else {
DeliveryProofManager.addPendingUpload(deliveryProofUpload)
completion?(nil)
return
}
reference.downloadURL { url, error in
guard let url = url?.absoluteString, error == nil else {
DeliveryProofManager.addPendingUpload(deliveryProofUpload)
completion?(nil)
return
}
if isPendingUpload {
DeliveryProofManager.updateStop(deliveryProofUpload, withUrl: url)
DeliveryProofManager.removePendingUpload(deliveryProofUpload)
}
completion?(url)
}
}
task.observe(.success) { _ in
hasRanCompletion = true
}
task.observe(.failure) { _ in
hasRanCompletion = true
}
Basically it tries to upload a file and if the Firebase Storage put's method doesn't call the completion callback in 20 seconds it will call it and use another mechanism that I've implemented to queue the pending upload based on internet reachability.
Hello @paulb777,
During some tests our team found out that it seems to be returning a network error for the scenario I brought up above. (cc @thomasdelgado)
Was this feature request addressed?
Thank you!
Hi @filipealva This feature has not yet been addressed.
We're in the process of converting the Storage implementation to Swift. See #9963. After that we plan to investigate ways in which the Swift Concurrency Model can help address outstanding feature requests including this one.
Suggestions and PRs appreciated.
Hello @paulb777, weirdly enough the storage SDK is at least now throwing the Network connection error with Firebase/Storage > 8.2.0
Here's an example of an error throwed by storage SDK.
NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=https://securetoken.googleapis.com/v1/token?key=AIzaSyAyg41sCRQdqX_c8Wt3gRNEVjyL9xynzrs, NSErrorFailingURLKey=https://securetoken.googleapis.com/v1/token?key=AIzaSyAyg41sCRQdqX_c8Wt3gRNEVjyL9xynzrs, _kCFStreamErrorDomainKey=1}}, ResponseErrorCode=-13020
So this isn't expected?
Hello @paulb777, weirdly enough the storage SDK is at least now throwing the Network connection error with Firebase/Storage > 8.2.0
Here's an example of an error throwed by storage SDK.
NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=https://securetoken.googleapis.com/v1/token?key=, NSErrorFailingURLKey=https://securetoken.googleapis.com/v1/token?key, _kCFStreamErrorDomainKey=1}}, ResponseErrorCode=-13020
So this isn't expected?
@thomasdelgado I'm not able to reproduce. I see the Network connection error in the console log, but the SDK indefinitely keeps trying to do the upload.
|
gharchive/issue
| 2020-04-06T02:47:59 |
2025-04-01T04:34:15.706196
|
{
"authors": [
"filipealva",
"paulb777",
"schmidt-sebastian",
"thomasdelgado"
],
"repo": "firebase/firebase-ios-sdk",
"url": "https://github.com/firebase/firebase-ios-sdk/issues/5295",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
1100733377
|
Crashlytics auto launches the app
Discussed in https://github.com/firebase/firebase-ios-sdk/discussions/9194
Originally posted by davidengler January 11, 2022
After adding Crashlytics to apple watch application, I notice that the app is automatically launched every 5-15 minutes. Is this an expected behavior ?
@davidengler is this reproducible in an empty project with nothing but Crashlytics?
@morganchen12 I don't know. I'm just wondering how can this be happening, because there is no way to programmatically start the watch app, just wondering does firebase have a way to start the watch app?
|
gharchive/issue
| 2022-01-12T19:55:54 |
2025-04-01T04:34:15.709546
|
{
"authors": [
"davidengler",
"morganchen12"
],
"repo": "firebase/firebase-ios-sdk",
"url": "https://github.com/firebase/firebase-ios-sdk/issues/9203",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
307621963
|
Crash after remoteconfig cache expires
[READ] Step 1: Are you in the right place?
For issues or feature requests related to the code in this repository
file a Github issue.
If this is a feature request make sure the issue title starts with "FR:".
For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
Xcode version: 9.2
Firebase SDK version: Firebase/RemoteConfig (~> 4.0.0)
Firebase Component: Firebase/RemoteConfig (~> 4.0.0)
Component version: Firebase/RemoteConfig (~> 4.0.0)
[REQUIRED] Step 3: Describe the problem
I'm tracking an issue in my app that is not reproducible by us. My current clue is that's the majority of users that face that issue had just had the firebase cache expired and is hitting the server again. This is the crash:
-[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
I checked that our local plist doesn't have all the keys that are in the server and there are even ones without values on them. My question is, can that be a problem somehow? I know it's not always a problem since I've reproduced the cache timeout locally and still didn't get any error.
Thanks in advance
Can you post the full stack trace?
This's all I have
Fatal Exception: NSInvalidArgumentException
*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
0
CoreFoundation
__exceptionPreprocess
1
libobjc.A.dylib
objc_exception_throw
2
CoreFoundation
_CFArgv
3
CoreFoundation
-[__NSPlaceholderArray initWithObjects:count:]
13
UIKit
UIApplicationMain
Can you share the codebase that this occurs in? There's no Firebase symbols here, so we want to rule out the possibility of an unrelated crash occurring at the same time.
I actually can't, since I don't know exactly which point the app crashes. My intention here was just to know if there's any possibility that an incomplete local plist could generate that kind of error.
It sounds unlikely, though I can't tell for sure. You could check your logic for any bugs when handling nil values returned by RemoteConfig, though this won't help if it's an issue within RemoteConfig.
It looks like there's 10 missing frames of the stack trace that you posted above. Is there no way for you to either obtain the full stack trace or reproduce the issue locally?
|
gharchive/issue
| 2018-03-22T12:26:43 |
2025-04-01T04:34:15.719865
|
{
"authors": [
"danielCarlosCE",
"morganchen12"
],
"repo": "firebase/firebase-ios-sdk",
"url": "https://github.com/firebase/firebase-ios-sdk/issues/962",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2112847324
|
🐛 firebase_core_web - Error: Expected a value of type 'String', but got one of type 'Null'
Bug report
In an empty app setup for Firebase and Riverpod, calling Firebase.initializeApp produces the error "Error: Expected a value of type 'String', but got one of type 'Null'" when running for web.
Steps to reproduce
Steps to reproduce the behavior:
New app
CLI and flutterfire configuration
pub add Riverpod and Firebase
Call Firebase.initializeApp in main
Sample project
void main() async {
//Make a connection with Firebase
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
options: DefaultFirebaseOptions.web,
);
//Enable Riverpod and run app
runApp(
const ProviderScope(
child: MyApp(),
),
);
}
Additional context
Debug console
Launching lib\main.dart on Chrome in debug mode...
This app is linked to the debug service: ws://127.0.0.1:59625/eLj2ahEmYJU=/ws
Debug service listening on ws://127.0.0.1:59625/eLj2ahEmYJU=/ws
Connecting to VM Service at ws://127.0.0.1:59625/eLj2ahEmYJU=/ws
Error: Expected a value of type 'String', but got one of type 'Null'
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:3 throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 127:3 castError
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 818:12 cast
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 674:17 as
dart-sdk/lib/_internal/js_shared/lib/js_util_patch.dart 81:5 getProperty
packages/firebase_core_web/firebase_core_web.dart 35:26 _createFromJsOptions
packages/firebase_core_web/firebase_core_web.dart 27:39 _createFromJsApp
packages/firebase_core_web/src/firebase_core_web.dart 322:12 initializeApp
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50 <fn>
dart-sdk/lib/async/zone.dart 1661:54 runUnary
dart-sdk/lib/async/future_impl.dart 162:18 handleValue
dart-sdk/lib/async/future_impl.dart 846:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 875:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 647:5 [_completeWithValue]
dart-sdk/lib/async/future.dart 529:22 <fn>
dart-sdk/lib/async/zone.dart 1661:54 runUnary
dart-sdk/lib/async/future_impl.dart 162:18 handleValue
dart-sdk/lib/async/future_impl.dart 846:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 875:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 647:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 721:7 callback
dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7 <fn>
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.16.9, on Microsoft Windows [Version 10.0.19045.3930], locale nl-NL)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.4.3)
[√] Android Studio (version 2023.1)
[√] VS Code (version 1.85.2)
[√] Connected device (3 available)
[√] Network resources
• No issues found!
Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 3.2.6
Flutter SDK 3.16.9
hs_coaching_client 1.0.0+1
dependencies:
- cupertino_icons 1.0.6
- firebase_core 2.25.2 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine]
- flutter_riverpod 2.4.9 [collection flutter meta riverpod state_notifier]
- riverpod_annotation 2.3.3 [meta riverpod]
dev dependencies:
- build_runner 2.4.8 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- custom_lint 0.5.11 [analyzer analyzer_plugin args async ci cli_util collection freezed_annotation json_annotation meta package_config path pub_semver pubspec_parse rxdart uuid yaml]
- flutter_lints 3.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web]
- riverpod_generator 2.3.9 [analyzer build build_config collection crypto meta path riverpod_analyzer_utils riverpod_annotation source_gen]
- riverpod_lint 2.3.7 [analyzer analyzer_plugin collection custom_lint_builder meta path riverpod riverpod_analyzer_utils source_span yaml]
transitive dependencies:
- _fe_analyzer_shared 64.0.0 [meta]
- analyzer 6.2.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- analyzer_plugin 0.11.3 [analyzer collection dart_style pub_semver yaml]
- args 2.4.2
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- build 2.4.1 [analyzer async convert crypto glob logging meta package_config path]
- build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 4.0.1 [built_collection built_value crypto http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.4.2 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml]
- build_runner_core 7.3.0 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta package_config path pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.9.0 [built_collection collection fixnum meta]
- characters 1.3.0
- checked_yaml 2.0.3 [json_annotation source_span yaml]
- ci 0.1.0
- cli_util 0.4.1 [meta path]
- clock 1.1.1
- code_builder 4.10.0 [built_collection built_value collection matcher meta]
- collection 1.18.0
- convert 3.1.1 [typed_data]
- crypto 3.0.3 [typed_data]
- custom_lint_builder 0.5.11 [analyzer analyzer_plugin collection custom_lint custom_lint_core glob hotreloader meta package_config path pubspec_parse rxdart]
- custom_lint_core 0.5.11 [analyzer analyzer_plugin collection custom_lint matcher meta package_config path pubspec_parse source_span yaml]
- dart_style 2.3.4 [analyzer args collection path pub_semver source_span]
- fake_async 1.3.1 [clock collection]
- file 7.0.0 [meta path]
- firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.11.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta web]
- fixnum 1.1.0
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web]
- freezed_annotation 2.4.1 [collection json_annotation meta]
- frontend_server_client 3.2.0 [async path]
- glob 2.1.2 [async collection file path string_scanner]
- graphs 2.3.1 [collection]
- hotreloader 4.1.0 [collection logging path stream_transform vm_service watcher]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- io 1.0.4 [meta path string_scanner]
- js 0.6.7 [meta]
- json_annotation 4.8.1 [meta]
- lints 3.0.0
- logging 1.2.0
- matcher 0.12.16 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.5.0 [collection]
- meta 1.10.0
- mime 1.0.5
- package_config 2.1.0 [path]
- path 1.8.3
- plugin_platform_interface 2.1.8 [meta]
- pool 1.5.1 [async stack_trace]
- pub_semver 2.1.4 [collection meta]
- pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml]
- riverpod 2.4.9 [meta stack_trace state_notifier]
- riverpod_analyzer_utils 0.5.0 [analyzer collection crypto custom_lint_core freezed_annotation meta path source_span]
- rxdart 0.27.7
- shelf 1.4.1 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.4 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.5.0 [analyzer async build dart_style glob path source_span yaml]
- source_span 1.10.0 [collection path term_glyph]
- sprintf 7.0.0
- stack_trace 1.11.1 [path]
- state_notifier 1.0.0 [meta]
- stream_channel 2.1.2 [async]
- stream_transform 2.1.0
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- timing 1.0.1 [json_annotation]
- typed_data 1.3.2 [collection]
- uuid 4.3.3 [crypto sprintf meta fixnum]
- vector_math 2.1.4
- vm_service 13.0.0
- watcher 1.1.0 [async path]
- web 0.3.0
- web_socket_channel 2.4.0 [async crypto stream_channel]
- yaml 3.1.2 [collection source_span string_scanner]
@yarmel I just tried it, and it doesn't work
Error: Expected a value of type 'String', but got one of type 'Null'
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:3 throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 127:3 castError
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 818:12 cast
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 674:17 as
dart-sdk/lib/_internal/js_shared/lib/js_util_patch.dart 81:5 getProperty
packages/firebase_core_web/firebase_core_web.dart 34:25 _createFromJsOptions
packages/firebase_core_web/firebase_core_web.dart 27:39 _createFromJsApp
packages/firebase_core_web/src/firebase_core_web.dart 322:12 initializeApp
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50 <fn>
dart-sdk/lib/async/zone.dart 1661:54 runUnary
dart-sdk/lib/async/future_impl.dart 162:18 handleValue
dart-sdk/lib/async/future_impl.dart 846:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 875:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 647:5 [_completeWithValue]
dart-sdk/lib/async/future.dart 529:22 <fn>
dart-sdk/lib/async/zone.dart 1661:54 runUnary
dart-sdk/lib/async/future_impl.dart 162:18 handleValue
dart-sdk/lib/async/future_impl.dart 846:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 875:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 647:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 721:7 callback
dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7 <fn>
I need to add: databaseURL; storageBucket; measurementId; authDomain as strings there to work. That's annoying
FirebaseOptions(
...
databaseURL: firebaseOptions.databaseURL ?? '',
storageBucket: firebaseOptions.storageBucket ?? '',
measurementId: firebaseOptions.measurementId ?? '',
authDomain: firebaseOptions.authDomain ?? '',
)
@yarmel I just tried it, and it doesn't work
Error: Expected a value of type 'String', but got one of type 'Null'
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:3 throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 127:3 castError
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 818:12 cast
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 674:17 as
dart-sdk/lib/_internal/js_shared/lib/js_util_patch.dart 81:5 getProperty
packages/firebase_core_web/firebase_core_web.dart 34:25 _createFromJsOptions
packages/firebase_core_web/firebase_core_web.dart 27:39 _createFromJsApp
packages/firebase_core_web/src/firebase_core_web.dart 322:12 initializeApp
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50 <fn>
dart-sdk/lib/async/zone.dart 1661:54 runUnary
dart-sdk/lib/async/future_impl.dart 162:18 handleValue
dart-sdk/lib/async/future_impl.dart 846:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 875:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 647:5 [_completeWithValue]
dart-sdk/lib/async/future.dart 529:22 <fn>
dart-sdk/lib/async/zone.dart 1661:54 runUnary
dart-sdk/lib/async/future_impl.dart 162:18 handleValue
dart-sdk/lib/async/future_impl.dart 846:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 875:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 647:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 721:7 callback
dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7 <fn>
I need to add: databaseURL; storageBucket; measurementId; authDomain as strings there to work. That's annoying
FirebaseOptions(
...
databaseURL: firebaseOptions.databaseURL ?? '',
storageBucket: firebaseOptions.storageBucket ?? '',
measurementId: firebaseOptions.measurementId ?? '',
authDomain: firebaseOptions.authDomain ?? '',
)
I tried to deploy a production build on web using firebase and it doesn't even work with the above settings.
It only works in debug mode with the above config.
This is super sloppy. I've been fighting with this for the last 6 hours just to find out this is an issue with the package.
This is super sloppy. I've been fighting with this for the last 6 hours just to find out this is an issue with the package.
Same here :-(
This is super sloppy. I've been fighting with this for the last 6 hours just to find out this is an issue with the package.
mee too
Downgrade to old firebase_core_web to resolve it until the fix is pushed
@adar2378 which version do you had ? I did not have install firebase_core_web in the project and afer install doesnt work
Did Firebase Core Version 2.25.2 Resolve the Issue for Anyone? It still doesn´t work for me
final firebaseOptions = DefaultFirebaseOptions.currentPlatform;
FirebaseOptions(
apiKey: firebaseOptions.apiKey,
appId: firebaseOptions.appId,
messagingSenderId: firebaseOptions.messagingSenderId,
projectId: firebaseOptions.projectId,
databaseURL: firebaseOptions.databaseURL ?? '',
storageBucket: firebaseOptions.storageBucket ?? '',
measurementId: firebaseOptions.measurementId ?? '',
authDomain: firebaseOptions.authDomain ?? '',
)
This solution seems to work at the moment (previously I said it doesn't work on prod, but it does, my mistake 🤦 )
Can any of you try this temp fix and then do a fresh build/run and see if it works for you?
That last one works for me too, thanks!
@adar2378 which version do you had ? I did not have install firebase_core_web in the project and afer install doesnt work
firebase_core: 2.24.2
firebase_core_web: 2.10.0
final firebaseOptions = DefaultFirebaseOptions.currentPlatform;
FirebaseOptions(
apiKey: firebaseOptions.apiKey,
appId: firebaseOptions.appId,
messagingSenderId: firebaseOptions.messagingSenderId,
projectId: firebaseOptions.projectId,
databaseURL: firebaseOptions.databaseURL ?? '',
storageBucket: firebaseOptions.storageBucket ?? '',
measurementId: firebaseOptions.measurementId ?? '',
authDomain: firebaseOptions.authDomain ?? '',
)
This solution seems to work at the moment (previously I said it doesn't work on prod, but it does, my mistake 🤦 ) Can any of you try this temp fix and then do a fresh build/run and see if it works for you?
Thank you, this also works for me in prod. 👍
And, this is definitely not already fixed. I have been working with this since the update last week that broke everything, following every fix, applying it, updating flutter and firebase every few minutes, flutter clean, flutter build web, etc. All the fixes to date have fixed one part of it: I can now log in using email and password without the string/null error occurring-- so at least I am able to debug my Web app and carry on coding just about. But the authentication using credentials calling
final credential = GoogleAuthProvider
.credential(
accessToken: googleAuth?.accessToken,
idToken: googleAuth?.idToken,
);
Still does not work despite all the fixes. My thread got closed because it has been fixed-- it hasn't. Sometimes errors happen with these big projects (although somewhat odd that a new commit was put up which broke so many builds, without I assume much testing). But telling someone who is an experienced developer that the thing works when it obviously doesn't is pretty annoying.
I can confirm this is not fixed, with 2.25.3 and flutter 3.16.9, after startup, it displays my index.html with the loading indicator, but it never runs the flutter code because of this:
Expected a value of type 'JavaScriptObject', but got one of type 'Null'
With 2.25.2 it said:
Expected a value of type 'String', but got one of type 'Null'
|
gharchive/issue
| 2024-02-01T15:53:12 |
2025-04-01T04:34:15.760595
|
{
"authors": [
"GeertStev",
"LucasDCR2",
"MarcVanDaele90",
"MartinDapper",
"NeilFawcett1",
"adar2378",
"dacianf",
"dezsocsete",
"hughesyadaddy"
],
"repo": "firebase/flutterfire",
"url": "https://github.com/firebase/flutterfire/issues/12253",
"license": "bsd-3-clause",
"license_type": "permissive",
"license_source": "bigquery"
}
|
2314845078
|
[firebase_messaging]: Embedded binary is not signed with the same certificate as the parent app
Is there an existing issue for this?
[X] I have searched the existing issues.
Which plugins are affected?
No response
Which platforms are affected?
iOS
Description
I just updated my macOS and Flutter to the latest version. When i tried to build the app to IPA, i suddenly got this error
Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.
my app uses ImageNotification extension to display an image in notification. when i deleted it and rebuild it works as expected. but i want to use that extension. here are my bundle identifier each target
Reproducing the issue
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.5 23F79 darwin-arm64, locale en-ID)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Community Edition (version 2022.1.4)
[✓] VS Code (version 1.89.1)
[✓] Connected device (2 available)
[✓] Network resources
Firebase Core version
2.1.0
Flutter Version
3.19.6
Relevant Log Output
Failed to build iOS app
Error (Xcode): Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.
Encountered error while archiving for device.
Flutter dependencies
Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
No response
@febryardiansyah Thank you for reporting this issue.
Could you please downgrade your Flutter version and test again? Additionally, I recommend running flutter clean and rm -rf Pods && rm Podfile.lock before testing it again.
@TarekkMA any idea what specific flutter version should i downgrade to?
Maybe [3.19.6]
Maybe [3.19.6]
Maybe [3.19.6]
currently i use that version
So could you please find out which version it was working on before it stopped?
So could you please find out which version it was working on before it stopped?
Hi, sorry for the late response. it used to work on 3.7.3 version of flutter
@TarekkMA can we open this issue again?
@febryardiansyah Hello, if this issue is still happening, please open a new issue with the updated details.
|
gharchive/issue
| 2024-05-24T08:57:32 |
2025-04-01T04:34:15.772182
|
{
"authors": [
"TarekkMA",
"febryardiansyah"
],
"repo": "firebase/flutterfire",
"url": "https://github.com/firebase/flutterfire/issues/12827",
"license": "bsd-3-clause",
"license_type": "permissive",
"license_source": "bigquery"
}
|
304496923
|
[google-sheet-sync] Fix return value error
Fix Error serializing return value: TypeError: Converting circular structure to JSON error from Cloud Functions logs. This is the continuation of pull request #341.
Thanks again @FluorescentHallucinogen !
|
gharchive/pull-request
| 2018-03-12T18:51:08 |
2025-04-01T04:34:15.773514
|
{
"authors": [
"FluorescentHallucinogen",
"nicolasgarnier"
],
"repo": "firebase/functions-samples",
"url": "https://github.com/firebase/functions-samples/pull/342",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2573514151
|
[Dev UI] Export Trace is Corrupted
It seems downloading the trace (versus copying to clipboard) products a corrupted file.
Fixed in the next 0.5.x release.
|
gharchive/issue
| 2024-10-08T15:15:49 |
2025-04-01T04:34:15.774503
|
{
"authors": [
"MichaelDoyle"
],
"repo": "firebase/genkit",
"url": "https://github.com/firebase/genkit/issues/1026",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2406279026
|
[Go] add version to attribution headers
Add a version file that contains the current tagged version.
Also add a test for googleai.
It's harder to test vertexai because it uses gRPC.
Also ran go mod tidy.
@pavelgj Where can I document that the version in internal/version.go must be updated before a new Go release is tagged?
|
gharchive/pull-request
| 2024-07-12T20:12:50 |
2025-04-01T04:34:15.776169
|
{
"authors": [
"jba"
],
"repo": "firebase/genkit",
"url": "https://github.com/firebase/genkit/pull/606",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
243444776
|
CocoaPods missing many libraries compared to Firebase iOS download zip
Operating system: iOS
Operating system version: 10.3
What steps will reproduce the problem:
Attempt to build the analytics quickstart-cpp example after adding -I"path/to/firebase_cpp_sdk" to testapp.xcodeproj Build Settings -> Other C++ flags section.
What is the expected result? A successful build.
What happens instead of that?
Receiving these link errors from Xcode:
directory not found for option '-L/Users/andrew/Library/Developer/Xcode/DerivedData/testapp-hgkipipkgriqnvgtfxrgsayxbsga/Build/Products/Debug-iphoneos/GoogleToolboxForMac'
ld: library not found for -lGoogleToolboxForMac
In the Firebase iOS download zip, a framework for GoogleToolboxForMac is present in the Analytics folder. However, the CocoaPods subproject does not include this framework. This also seems to be the case for FirebaseNanoPb.framework, nanopb.framework, and Protobuf.framework for the Messaging and Remote config modules.
Same problem here.
Hi,
Could you please confirm you are following these steps (also listed in the readme file):
Run "pod install" in the analytics/testapp directory to download and install the required Firebase iOS Cocoapods.
Ensure your GoogleService-Info.plist file is present in the analytics/testapp directory.
Using Xcode, open the "testapp.xcworkspace" file (NOT the "testapp.xcodeproj" file - the .xcworkspace file is required for Cocoapods to work).
In the Firebase C++ SDK you downloaded, navigate to the frameworks/ios/universal directory and locate firebase.framework and firebase_analytics.framework. Drag these two files into the Xcode window with your project open, into the the "Frameworks" folder of your project. If you are prompted by Xcode, ensure the "Copy items if needed" option is ✔checked.
You should then be able to compile and run the Firebase Analytics C++ testapp. Please reply and let me know if this works or if you continue to have issues.
Thanks!
Jon
Using firebase.framework and firebase_analytics.framework solved my problem.
The problem I had was that I was trying to link against the static libraries in firebase_cpp_sdk/libs/ios/universal instead of the frameworks in firebase_cpp_sdk/frameworks/ios/universal.
The pod previously had the dependencies to link in this way, but now I can only find these in the Firebase-4.0.4.zip from https://firebase.google.com/download/ios.
I'll report back the results of trying to link my project with the frameworks in firebase_cpp_sdk/frameworks/ios/universal.
I'll close this issue for now since your problem is resolved, but if you have any issues linking the universal frameworks in your own project, please feel free to re-open it.
|
gharchive/issue
| 2017-07-17T16:01:49 |
2025-04-01T04:34:15.785998
|
{
"authors": [
"adolby",
"isipisi281",
"jonsimantov"
],
"repo": "firebase/quickstart-cpp",
"url": "https://github.com/firebase/quickstart-cpp/issues/10",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
1516317415
|
[BUG]: About data back and restore
I backup firezone postgres data, then reinstall firezone and restore postgres data. I found deivce config is all the same, but wireguard connect can not establish.
I debug wireguadr kernel module:
echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control
and dmesf show:
wireguard: wg-firezone: Invalid MAC of handshake, dropping packet from xxx.xxx.xxx.xxx
I do not know why. Will firezone reinit mac cookies???
Thanks for the report! Can I ask which version this is? Also, is this on a Docker or Omnibus install?
If Docker, did you back up the $HOME/.firezone/.env file as well? That contains database encryption keys which are used to encrypt sensitive fields.
Though if these were missing, Firezone usually fails to start.
Lastly, does the source ip match the expected ip of the client that’s connecting? And are you using a load balancer or layer 4 proxy of any kind?
my virtualbox VM network mode is:
clinet <-- L2 link --> firezone server
I have backup $HOME/.firezone/.env. I will repeat this scene. Please wait me some days.
Hmm, I see. This error usually happens when there's a connectivity issue and not (usually) when the keys don't match. If new configs work fine, then I think that would further suggest some kind of connectivity issue, but happy to look into further pending more information.
I have know reason. firezone reinstall will dynamicly generate wireguad sha key for interface and but this key do not store in
database. So I restore backup data and all the device failed to establish vpn connection.
Yes, the private key does not the leave the server. It's stored in $HOME/.firezone/firezone. I've added #1270 to better document our backup and restore process. Thanks for reporting!
|
gharchive/issue
| 2023-01-02T11:57:34 |
2025-04-01T04:34:15.891788
|
{
"authors": [
"jamilbk",
"jinqinghui"
],
"repo": "firezone/firezone",
"url": "https://github.com/firezone/firezone/issues/1261",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
1212146862
|
Check kernel version on package install and give warning if too low
Fixes #541
@copremesis Whoops, I think the scripts/install.sh script is fine -- I was referring to when users download and install Firezone manually (from the deb or rpm file). The preinst script I was referring to is here: https://github.com/firezone/firezone/blob/master/omnibus/package-scripts/firezone/preinst
Keep in mind it's /bin/sh only, (no bash). I think we just want to print that warning (but continue to install) when they use the manual installation method and not your install script.
oh yeah when you meant quickie I was thinking that was too quick myself ... I'll take a peek over the weekend
Already fixed by #556
|
gharchive/pull-request
| 2022-04-22T10:07:24 |
2025-04-01T04:34:15.894530
|
{
"authors": [
"copremesis",
"jamilbk"
],
"repo": "firezone/firezone",
"url": "https://github.com/firezone/firezone/pull/551",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2560418895
|
feat(connlib): implement TRACE logging for DNS
When debugging DNS-related issues, it is useful to see all DNS queries that go into connlib and the responses that we generate. Analogous to the wire::net and wire::dev TRACE logs, we introduce wire::dns which logs incoming queries and the responses on TRACE. The output looks like this:
2024-10-02T00:16:47.522847Z TRACE wire::dns::qry: A caldav.fastmail.com qid=55845
2024-10-02T00:16:47.522926Z TRACE wire::dns::qry: AAAA caldav.fastmail.com qid=56277
2024-10-02T00:16:47.531347Z TRACE wire::dns::res: AAAA caldav.fastmail.com => [] qid=56277 rcode=NOERROR
2024-10-02T00:16:47.538984Z TRACE wire::dns::res: A caldav.fastmail.com => [103.168.172.46 | 103.168.172.61] qid=55845 rcode=NOERROR
2024-10-02T00:16:47.580237Z TRACE wire::dns::qry: HTTPS cloudflare-dns.com qid=21518
2024-10-02T00:16:47.580338Z TRACE wire::dns::qry: A example.org qid=35459
2024-10-02T00:16:47.580364Z TRACE wire::dns::qry: AAAA example.org qid=60073
2024-10-02T00:16:47.580699Z TRACE wire::dns::qry: AAAA ipv4only.arpa qid=17280
2024-10-02T00:16:47.580782Z TRACE wire::dns::qry: A ipv4only.arpa qid=47215
2024-10-02T00:16:47.581134Z TRACE wire::dns::qry: A detectportal.firefox.com qid=34970
2024-10-02T00:16:47.581261Z TRACE wire::dns::qry: AAAA detectportal.firefox.com qid=39505
2024-10-02T00:16:47.609502Z TRACE wire::dns::res: AAAA example.org => [2606:2800:21f:cb07:6820:80da:af6b:8b2c] qid=60073 rcode=NOERROR
2024-10-02T00:16:47.609640Z TRACE wire::dns::res: AAAA ipv4only.arpa => [] qid=17280 rcode=NOERROR
2024-10-02T00:16:47.610407Z TRACE wire::dns::res: A ipv4only.arpa => [192.0.0.170 | 192.0.0.171] qid=47215 rcode=NOERROR
2024-10-02T00:16:47.617952Z TRACE wire::dns::res: HTTPS cloudflare-dns.com => [1 alpn=h3,h2 ipv4hint=104.16.248.249,104.16.249.249 ipv6hint=2606:4700::6810:f8f9,2606:4700::6810:f9f9] qid=21518 rcode=NOERROR
2024-10-02T00:16:47.631124Z TRACE wire::dns::res: A example.org => [93.184.215.14] qid=35459 rcode=NOERROR
2024-10-02T00:16:47.640286Z TRACE wire::dns::res: AAAA detectportal.firefox.com => [detectportal.prod.mozaws.net. | prod.detectportal.prod.cloudops.mozgcp.net. | 2600:1901:0:38d7::] qid=39505 rcode=NOERROR
2024-10-02T00:16:47.641332Z TRACE wire::dns::res: A detectportal.firefox.com => [detectportal.prod.mozaws.net. | prod.detectportal.prod.cloudops.mozgcp.net. | 34.107.221.82] qid=34970 rcode=NOERROR
2024-10-02T00:16:48.737608Z TRACE wire::dns::qry: AAAA myfiles.fastmail.com qid=52965
2024-10-02T00:16:48.737710Z TRACE wire::dns::qry: A myfiles.fastmail.com qid=5114
2024-10-02T00:16:48.745282Z TRACE wire::dns::res: AAAA myfiles.fastmail.com => [] qid=52965 rcode=NOERROR
2024-10-02T00:16:49.027932Z TRACE wire::dns::res: A myfiles.fastmail.com => [103.168.172.46 | 103.168.172.61] qid=5114 rcode=NOERROR
2024-10-02T00:16:49.190054Z TRACE wire::dns::qry: HTTPS github.com qid=64696
2024-10-02T00:16:49.190171Z TRACE wire::dns::qry: A github.com qid=11912
2024-10-02T00:16:49.190502Z TRACE wire::dns::res: A github.com => [100.96.0.1 | 100.96.0.2 | 100.96.0.3 | 100.96.0.4] qid=11912 rcode=NOERROR
2024-10-02T00:16:49.190619Z TRACE wire::dns::qry: A github.com qid=63366
2024-10-02T00:16:49.190730Z TRACE wire::dns::res: A github.com => [100.96.0.1 | 100.96.0.2 | 100.96.0.3 | 100.96.0.4] qid=63366 rcode=NOERROR
As with the other filters, seeing both queries and responses can be achieved with RUST_LOG=wire::dns=trace. If you are only interested in the responses, you can activate a more specific log filter using RUST_LOG=wire::dns::res=trace. All responses also print the original query that they are answering.
Resolves: #6862.
cc @AndrewDryga @jamilbk @bmanifold For tribal knowledge. What would be a good place to document these log filters? Should that go into the official docs?
@thomaseizinger I assumed these could be logged where-ever the DNS handling is, so I wondered why we have to check if each packet is a DNS query a second time. Doesn't our resolver impl already do that?
cc @AndrewDryga @jamilbk @bmanifold For tribal knowledge. What would be a good place to document these log filters? Should that go into the official docs?
I always try to bias towards our public facing docs yeah because (1) SEO and (2) you'd be surprised how many users actually read through them. I actually think we could use a section like What's logged in the https://www.firezone.dev/kb/administer/logs section. Maybe could also point the client app troubleshooting section to it and include a Increase log level subsection with instructions for setting like firezone_tunnel=trace,debug filters.
|
gharchive/pull-request
| 2024-10-02T00:15:11 |
2025-04-01T04:34:15.900362
|
{
"authors": [
"ReactorScram",
"jamilbk",
"thomaseizinger"
],
"repo": "firezone/firezone",
"url": "https://github.com/firezone/firezone/pull/6907",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
1442596804
|
fix: make sure turn_on and turn_off don't just toggle states
fixes #99
Thanks a lot for the quick fix!
|
gharchive/pull-request
| 2022-11-09T18:59:54 |
2025-04-01T04:34:15.914517
|
{
"authors": [
"Cadair",
"firstof9"
],
"repo": "firstof9/openevse",
"url": "https://github.com/firstof9/openevse/pull/101",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
}
|
2700918760
|
WebUI generated the audio,but can not play it.
Self Checks
[X] This template is only for bug reports. For questions, please visit Discussions.
[X] I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
[X] I have searched for existing issues, including closed ones. Search issues
[X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
[X] Please do not modify this template and fill in all required fields.
Cloud or Self Hosted
Self Hosted (Source)
Environment Details
CentOS7, python=3.11, torch==2.4.1+cu124 torchvision==0.19.1+cu124 torchaudio==2.4.1+cu124,gradio=5.7.0
Steps to Reproduce
1.Run the WebUI
python tools/webui.py \
--llama-checkpoint-path checkpoints/fish-speech-1.4 \
--decoder-checkpoint-path checkpoints/fish-speech-1.4/firefly-gan-vq-fsq-8x1024-21hz-generator.pth
2.Synthesize audio based on TEXT and Reference Audio on webUI
Prepare and configure the “Input Text”、“Reference Audio”, then click the “Generate”.
✔️ Expected Behavior
WebUI I can synthesize the audio and can play on this webpage.
❌ Actual Behavior
While in the WebUI I can synthesize the audio,but can not play, except I download the audio file to localhost.
I have read the 《 webui is failed to generate audio, no error reports on the backend log #610 》,but there is no answer.
GPU type: NVIDIA A10
The WebUI log:
2024-11-28 01:44:26.544 | INFO | tools.api:encode_reference:167 - Loaded audio with 5.42 seconds /myplc/.aigc/miniconda3/envs/fish-speech/lib/python3.11/site-packages/vector_quantize_pytorch/residual_fsq.py:170: FutureWarning: torch.cuda.amp.autocast(args...)is deprecated. Please usetorch.amp.autocast('cuda', args...)instead. with autocast(enabled = False): 2024-11-28 01:44:26.802 | INFO | tools.api:encode_reference:175 - Encoded prompt: torch.Size([8, 117]) 2024-11-28 01:44:26.805 | INFO | tools.llama.generate:generate_long:759 - Encoded text: 这学校真不是一般的寒酸,统共只有一幢楼房,两层高,楼下是教室,楼上是办公室。 2024-11-28 01:44:26.806 | INFO | tools.llama.generate:generate_long:759 - Encoded text: 六间教室,一年级和二年级八个班的学生只能轮番上课,读到三年级就直接送到工厂里去实习,找不到实习单位就在家睡觉,搞得像山区小学一样。 2024-11-28 01:44:26.807 | INFO | tools.llama.generate:generate_long:759 - Encoded text: 该校没有操场,体育老师倒有三个。 2024-11-28 01:44:26.807 | INFO | tools.llama.generate:generate_long:777 - Generating sentence 1/3 of sample 1/1 0%| | 0/3914 [00:00<?, ?it/s]/myplc/.aigc/miniconda3/envs/fish-speech/lib/python3.11/contextlib.py:105: FutureWarning:torch.backends.cuda.sdp_kernel()is deprecated. In the future, this context manager will be removed. Please seetorch.nn.attention.sdpa_kernel()` for the new context manager, with updated signature.
self.gen = func(*args, **kwds)
5%|██████▎ | 177/3914 [00:08<03:05, 20.16it/s]
2024-11-28 01:44:35.657 | INFO | tools.llama.generate:generate_long:832 - Generated 179 tokens in 8.85 seconds, 20.23 tokens/sec
2024-11-28 01:44:35.658 | INFO | tools.llama.generate:generate_long:835 - Bandwidth achieved: 10.00 GB/s
2024-11-28 01:44:35.658 | INFO | tools.llama.generate:generate_long:840 - GPU Memory used: 1.38 GB
2024-11-28 01:44:35.658 | INFO | tools.llama.generate:generate_long:777 - Generating sentence 2/3 of sample 1/1
2024-11-28 01:44:35.661 | INFO | tools.api:decode_vq_tokens:189 - VQ features: torch.Size([8, 178])
8%|██████████▉ | 287/3685 [00:14<02:53, 19.59it/s]
2024-11-28 01:44:50.460 | INFO | tools.llama.generate:generate_long:832 - Generated 289 tokens in 14.80 seconds, 19.53 tokens/sec
2024-11-28 01:44:50.460 | INFO | tools.llama.generate:generate_long:835 - Bandwidth achieved: 9.66 GB/s
2024-11-28 01:44:50.461 | INFO | tools.llama.generate:generate_long:840 - GPU Memory used: 1.54 GB
2024-11-28 01:44:50.461 | INFO | tools.llama.generate:generate_long:777 - Generating sentence 3/3 of sample 1/1
2024-11-28 01:44:50.464 | INFO | tools.api:decode_vq_tokens:189 - VQ features: torch.Size([8, 288])
2%|██▊ | 68/3375 [00:03<02:48, 19.60it/s]
2024-11-28 01:44:54.086 | INFO | tools.llama.generate:generate_long:832 - Generated 70 tokens in 3.62 seconds, 19.32 tokens/sec
2024-11-28 01:44:54.086 | INFO | tools.llama.generate:generate_long:835 - Bandwidth achieved: 9.55 GB/s
2024-11-28 01:44:54.087 | INFO | tools.llama.generate:generate_long:840 - GPU Memory used: 1.64 GB
2024-11-28 01:44:54.088 | INFO | tools.api:decode_vq_tokens:189 - VQ features: torch.Size([8, 69])
/myplc/.aigc/miniconda3/envs/fish-speech/lib/python3.11/site-packages/gradio/processing_utils.py:738: UserWarning: Trying to convert audio automatically from float32 to 16-bit int format.
warnings.warn(warning.format(data.dtype))`
|
gharchive/issue
| 2024-11-28T06:07:17 |
2025-04-01T04:34:15.956772
|
{
"authors": [
"allstable"
],
"repo": "fishaudio/fish-speech",
"url": "https://github.com/fishaudio/fish-speech/issues/686",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2048772042
|
Create a simple inference WebUI
Currently call scripts only
#12 Should be a better solution.
|
gharchive/pull-request
| 2023-12-19T14:27:59 |
2025-04-01T04:34:15.958017
|
{
"authors": [
"OedoSoldier",
"leng-yue"
],
"repo": "fishaudio/fish-speech",
"url": "https://github.com/fishaudio/fish-speech/pull/13",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
124966657
|
Add meter/log callback module which is configured per call
Proxy modules do not provide a good abstraction for logging because it is devilishly hard to log at the right moments. The two main goals of DBConnection is to separate concerns and make calls to orthogonal parts at the optimum moment. It has failed to do that for logging. It will be much cleaner and more efficient to support logging or metric measuring in DBConnection directly.
@josevalim I agree with your comment on IRC and I think this is the way to go for logging. However if you have other ideas or thoughts please give them.
Logging support has been added. The implementation is slightly more efficient than Ecto 1.* because time is read fewer times, 4 for a single query instead of 6.
The DBConnection.LogEntry is not quite the same as Ecto's: https://github.com/fishcakez/db_connection/blob/a2ad7210f6757fc66f838f6590908092b4b9cdb5/lib/db_connection/log_entry.ex#L9-L19.
:pool_time is used in place of :queue_time because there is a :queue option not to queue
:connection_time is used in place of :query_time because of prepare/close
:decode_time is the same
times use native units as its the natural 1.2 unit
:params is the same
:query is the query struct, not iodata/fun
:result can also be :ok and {:ok, query, res}
:call is the name of the function, perhaps :function better, so Ecto can rewrite begin/commit logs as appropriate (query is :begin etc for transactions)
Ecto can convert these when it builds its own LogEntry.
Note I used :log for the option, with mfargs or arity 1 fun, to match after_connect. Ecto will have to rewrite this option to create its own LogEntry whatever the key so I think it is ok.
@fishcakez fantastic work as always! Btw, which one do you think would be better:
Have the query function in DBConnection return this struct so we can do whatever we want with it
Or have the :log callback which we would wrap and override?
I'd actually prefer 1 but I am not sure if it is actually possible.
is very tricky because of consistency as we can't return the log with transactions. I think we will have to go with 2) unless you have a suggested API.
Good point about the transactions. I can only think about giving the log entry struct in the transaction callback and returning one in the transaction call. I guess it is clunky though?
|
gharchive/issue
| 2016-01-05T13:30:39 |
2025-04-01T04:34:15.964651
|
{
"authors": [
"fishcakez",
"josevalim"
],
"repo": "fishcakez/db_connection",
"url": "https://github.com/fishcakez/db_connection/issues/10",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
236997459
|
env var context function
Adds an env_var function to grab system environment variables. Can be used in the dbt profile, or in models.
profile:
target: dev
outputs:
dev:
type: postgres
host: localhost
user: {{ env_var('DBT_USER') }}
pass: {{ env_var('DBT_PASSWORD') }}
....
For https://github.com/fishtown-analytics/dbt/issues/450
:shipit:
|
gharchive/pull-request
| 2017-06-19T19:29:59 |
2025-04-01T04:34:15.979408
|
{
"authors": [
"cmcarthur",
"drewbanin"
],
"repo": "fishtown-analytics/dbt",
"url": "https://github.com/fishtown-analytics/dbt/pull/462",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
359359440
|
Set Mime Type and Compress
Is it possible to set MIME type to pick files?
Is it possible to compress the selected files?
Based on MimeUtils. guessMimeTypeFromExtension(String extension) you can create your own implementation or copy paste the code to your project, so you can get the extension from MIME type and use that
|
gharchive/issue
| 2018-09-12T08:00:04 |
2025-04-01T04:34:15.981785
|
{
"authors": [
"BareumSW",
"hendrawd"
],
"repo": "fishwjy/MultiType-FilePicker",
"url": "https://github.com/fishwjy/MultiType-FilePicker/issues/43",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
841671206
|
压缩的时候设置帧率无效
压缩的时候设置帧率无效,outputFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mDestFps);
同问,今天也发现这个问题,有没有解决方案?
我后面换的这个,你试试https://github.com/yellowcath/VideoProcessor
|
gharchive/issue
| 2021-03-26T07:25:51 |
2025-04-01T04:34:15.982984
|
{
"authors": [
"568285876",
"dufangyu1990"
],
"repo": "fishwjy/VideoCompressor",
"url": "https://github.com/fishwjy/VideoCompressor/issues/54",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
1038983284
|
BUG - new field values not being reflected in jira__issue_enhanced on incremental runs
Are you a current Fivetran customer?
nope but this came from https://getdbt.slack.com/archives/C01D1R2JLLA/p1635355824026800
Describe the bug
on incremental runs of the package, if you have removed (or changed ? -- asking Jacob this...) a field value, the new value is not being reflected in the issue enhanced model
Steps to reproduce
create a ticket and add label
sync fivetran
execute incremental run
confirm the label value is there in jira__issue_enhanced
remove the label in jira
resync
execute incremental run
if you still see the old label value, run a full refresh and see if it works now
Expected behavior
the model should pick up the new changes on an incremental run, full refreshes or materializing as tables should not be required
Project variables configuration
vars:
jira_database: raw
jira_schema: jira_fivetran
jira:
# Field options can be found with this query:
# select name from RAW.JIRA_FIVETRAN.FIELD;
issue_field_history_columns: ['Labels', 'Key', 'Epic Name', 'Severity', 'Project']
'dbt_date:time_zone': 'America/New_York'
dbt_artifacts:
dbt_artifacts_database: analytics
dbt_artifacts_schema: dbt_artifacts
dbt_artifacts_table: artifacts
Package Version
copy packages.yml here
Warehouse
[ ] BigQuery
[ ] Redshift
[ ] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)
Additional context
this line may be an issue -- we're subtracting 1 day from the wrong side i think (so like we should do this to max(date_day) from {{ this }} instead of when the field was updated_at . i think this would cause the package to ignore the most recent day of data on incremental runs.
otherwise, the problem may live in the pivot model or the final daily issue field history model
Screenshots
Please indicate the level of urgency
Are you interested in contributing to this package?
[ ] Yes, I can do this and open a PR for your review.
[ ] Possibly, but I'm not quite sure how to do this. I'd be happy to do a live coding session with someone to get this fixed.
[ ] No, I'd prefer if someone else fixed this. I don't have the time and/or don't know what the root cause of the problem is.
taking a look at this next week btw!
Hey @jcbmllgn I just wanted to post back here and provide an update on this task. @fivetran-jamie was able to help identify what the fix for this issue will be. They are currently only vacation and I will be taking this ticket on moving forward.
I will communicate back here next week once I have a working branch that you may test out. Thank you for your patience 😃
Thanks for the update @fivetran-joemarkiewicz! I'll keep an eye out for an update here.
Hey @jcbmllgn I was able to replicate the issue you mentioned in the dbt Slack message linked to this ticket! Since replicating the issue, I was able to take the advice made by @fivetran-jamie regarding modifying the int_jira__agg_multiselect_history incremental logic. Once I updated the incremental logic I was able to see the changing labels were accurately reflected in the jira__issue_enhanced model!
Would you be able to test the below version and let me know if the issue you noted still persists? If not, we can integrate this into the next release of the package 😄
packages:
- git: https://github.com/fivetran/dbt_jira.git
revision: bugfix/new-field-values
warn-unpinned: false
Thanks again for your patience on this issue.
Joe, thanks for the follow up! I tested this out locally and it works for me. Let me know when this is live and I'll confirm again that it works in production.
That's great to hear! I'll confirm here once the release is live 😄
Hi @jcbmllgn I wanted to let you know that the latest version of the dbt_jira package v0.6.0 is now live on the dbt hub!
Be sure to read the Release Notes to be aware of the changes that are included in the latest release along with the change from this issue, and to run a dbt run --full-refresh after upgrading in order to capture changes in the incremental models within this package.
Thanks again for helping raise this issue and test out the working branch before release! We are extremely grateful for your contributions to this package and for helping make this package better for all it's users. 🎉 ❤️ Please feel free to open a new issue if you experience any other bugs or a feature request if you think of a new enhancement to that the package would benefit from integrating.
|
gharchive/issue
| 2021-10-28T21:52:09 |
2025-04-01T04:34:16.014112
|
{
"authors": [
"fivetran-jamie",
"fivetran-joemarkiewicz",
"jcbmllgn"
],
"repo": "fivetran/dbt_jira",
"url": "https://github.com/fivetran/dbt_jira/issues/41",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
817790766
|
It bought but does not sell
Coin pair: ada
Buy order has been made!
Processing sell order.
A BinanceAPI error has occurred. Code = -2010
The relationship of the prices for the orders is not correct.. Please use https://github.com/binance/binance-spot-api-docs/blob/master/errors.md to find greater details on error codes before raising an issue.
I always get this kind of error. It buys well but does not sell even I made margin 100.0001.
"quotedCoin": "BTC",
"buyLimit": 1.10,
"percentOfWallet": 50,
"manualQuoted": 0.00000000,
"profitMargin": 100.001,
"stopLoss": 0.90,
"endpoint": "default",
I made like this to try whether it works or not.
This error #29 is known and I am unable to find a solution for it as I don't understand why/what is causing the error.
This should now be fixed. Closing issue.
|
gharchive/issue
| 2021-02-27T01:51:16 |
2025-04-01T04:34:16.026478
|
{
"authors": [
"NSDevelopment",
"fj317"
],
"repo": "fj317/PumpBot",
"url": "https://github.com/fj317/PumpBot/issues/56",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
379586308
|
Incorrect Ordinals
I'm submitting a ... (check one with "x")
[ x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
Current behavior
Ordinals from 11 to 13 are not correct (11st, 12nd, 13rd)
Expected behavior
They should be 11th, 12th, 13th
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
I'll try to make a fix ASAP
@fknop I can take care of it if you like
@christopheelkhoury I would appreciate it, thanks
@fknop on it. Should be done by 6 PM GMT 😃
Nvm done
|
gharchive/issue
| 2018-11-12T01:09:05 |
2025-04-01T04:34:16.074143
|
{
"authors": [
"christopheelkhoury",
"fknop",
"larjohn"
],
"repo": "fknop/angular-pipes",
"url": "https://github.com/fknop/angular-pipes/issues/83",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
}
|
212118795
|
Префикс 'docker.io/' в имени репозитория образа
When i using dapp on CentOS 7 with docker 1.10.3 i got next error
$ dapp build --verbose
pulling image `ruby:2.3-alpine` [RUNNING]
Trying to pull repository docker.io/library/ruby ... 2.3-alpine:
Pulling from docker.io/library/ruby
Digest: sha256:a0edc9fa6ce63e1a33475cb8a1097ec961d45597f2972242ef2d5187ba7bedf6
Status: Image is up to date for docker.io/ruby:2.3-alpine
pulling image `ruby:2.3-alpine` [OK] 1.9 sec
Stacktrace dumped to /tmp/dapp-stacktrace-7e12a2f5-89ea-4e1e-bfb5-0b21bcd6553e.out
Image `ruby:2.3-alpine` not found!
Used next Dappfile
dimg do
docker.from 'ruby:2.3-alpine'
shell do
before_install do
run '/bin/sh -c ls'
end
end
git do
add '/' do
to '/app'
end
end
end
When i change docker.from to docker.io/ruby:2.3-alpine build sucessfuly starts
But on ubuntu 14.04/16.04 works both records.
Закрываю в пользу #45 .
Ошибочно закрыли, никак не связано с #45.
Связан с #94.
@alexey-igrychev Касательно https://github.com/alexey-igrychev/dapp/commit/3ded217a971159c8459ad0b4661d7bf8e6308e7a Это решит только часть проблемы, т.к. аналогичное поведение с частными registry. Напр.: 192.168.0.15:5000/image:tag
@kobel169
различное поведение докера при скачивании из публичного хаба сейчас решается удалением префикса, а в последствии переход на использование Docker Api, где это унифицировано, решит вопрос и с частными registry.
@kobel169 А какое поведение ожидается если используется частный registry 192.168.0.15:5000? В docker.from надо явно указывать 192.168.0.15:5000/image:tag или docker-registry/<image>:<tag>, а docker-registry определять в /etc/hosts.
Проблема, которая тут возникла связана с тем, что docker автоматом подставляет docker.io. А поведение утилиты docker для образов из docker.io отличается на ubuntu и centos. В частности, сейчас dapp делает листинг существующих образов через вызов docker images, а не через API, и получает разный результат на centos:7 и ubuntu. Если использовать API — список будет на обеих системах одинаков. Поэтому решения 2:
Переводить на API
Отрезать docker.io в коде получения этого списка образов.
Переводить на API надо в любом случае, но решили, что позже. Поэтому пока отрезаем префикс docker.io.
На мой взгляд самой простой затычкой которая решит всё, будет отрезание, но умное.
Типа такого
require 'resolv'
unless Resolv.getaddresses(name.split("/")[0].split(":")[0]).empty?
name = name.split("/")[1..-1].join("/")
end
Если это ip или домен который резолвится то мы это убиваем, аналогично проверяем ip:port без порта.
|
gharchive/issue
| 2017-03-06T13:14:47 |
2025-04-01T04:34:16.110266
|
{
"authors": [
"alexey-igrychev",
"distol",
"distorhead",
"kobel169"
],
"repo": "flant/dapp",
"url": "https://github.com/flant/dapp/issues/93",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
2078535371
|
inputs.nvidia_smi中执行smi命令超时时间可配置
What would you like to be added:
nvidia-smi命令超时时间可配置
Why is this needed:
由于gpu卡通常使用节能模式以延长GPU使用寿命,闲置后再使用nvidia-smi命令会重新初始化gpu卡再执行命令,这样导致命令执行结果会延迟,查看源码发现执行命令时硬编码写的5秒超时时间,最终导致无法正常采集GPU信息
Describe the solution you'd like
期望执行采集命令的超时时间可配置
Additional context
fixed by #779 . You can set query timeout in config file conf/input.nvidia_smi/nvidia_smi.toml.
@devtjun fixed by #779 . You can set query timeout in config file conf/input.nvidia_smi/nvidia_smi.toml.
thanks
|
gharchive/issue
| 2024-01-12T10:33:11 |
2025-04-01T04:34:16.148801
|
{
"authors": [
"devtjun",
"xmh1011"
],
"repo": "flashcatcloud/categraf",
"url": "https://github.com/flashcatcloud/categraf/issues/759",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
}
|
1094891326
|
[Feature Request] Allow association_proxy/relationship fields in editable_column_list
Can anyone provide a way to make an association_proxy value work in editable_column_list? I'd like to have a boolean field from a related table displayed in list view. I did find this StackOverflow question from almost 5 years ago that asks about the same thing, but the solution does not work for me (and I'm assuming a lot has changed with flask-admin and sqlalchemy since then).
Unfortunately, in my attempts, I keep running into this error in the _convert_relation function.
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2021.3\plugins\python-ce\helpers\pydev\pydevd.py", line 1483, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "C:\Program Files\JetBrains\PyCharm Community Edition 2021.3\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/Users/mhill/PycharmProjects/daap_reporting_portal/wsgi.py", line 3, in <module>
app = create_app()
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\app\__init__.py", line 27, in create_app
register_admin_components()
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\app\__init__.py", line 57, in register_admin_components
admin.add_view(ReporterView(Reporter, db.session, name="Reporters", endpoint="reporters"))
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\app\admin\view.py", line 50, in __init__
super().__init__(*args, **kwargs)
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\flask_admin\contrib\sqla\view.py", line 330, in __init__
menu_icon_value=menu_icon_value)
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\flask_admin\model\base.py", line 817, in __init__
self._refresh_cache()
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\flask_admin\model\base.py", line 909, in _refresh_cache
self._refresh_forms_cache()
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\flask_admin\model\base.py", line 841, in _refresh_forms_cache
self._list_form_class = self.get_list_form()
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\flask_admin\model\base.py", line 1282, in get_list_form
return self.scaffold_list_form(validators=validators)
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\flask_admin\contrib\sqla\view.py", line 773, in scaffold_list_form
field_args=validators)
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\flask_admin\contrib\sqla\form.py", line 556, in get_form
field = converter.convert(model, mapper, name, prop, field_args.get(name), hidden_pk)
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\flask_admin\contrib\sqla\form.py", line 153, in convert
return self._convert_relation(name, prop, property_is_association_proxy, kwargs)
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\flask_admin\contrib\sqla\form.py", line 97, in _convert_relation
remote_model = prop.mapper.class_
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\sqlalchemy\util\langhelpers.py", line 1240, in __getattr__
return self._fallback_getattr(key)
File "C:\Users\mhill\PycharmProjects\daap_reporting_portal\venv\lib\site-packages\sqlalchemy\util\langhelpers.py", line 1214, in _fallback_getattr
raise AttributeError(key)
AttributeError: mapper
Here is a minimal, reproducible example
from sqlalchemy.ext.declarative import declared_attr
from sqlalchemy.orm.decl_api import declarative_mixin
from sqlalchemy.orm.relationships import foreign
from sqlalchemy.sql import and_
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_admin import Admin
app = Flask("MWE")
db = SQLAlchemy(app)
admin = Admin(app)
@declarative_mixin
class EntityRefMixin:
entity_id = db.Column(db.Integer, nullable=False)
entity_type = db.Column(
db.Enum("reporter", "account", "report", "job", name="entity_type_enum"),
nullable=False
)
@declarative_mixin
class EntityRelationshipMixin:
@classmethod
def join_builder(cls, remote_cls):
return and_(
foreign(remote_cls.entity_type) == cls.__tablename__,
foreign(remote_cls.entity_id) == cls.id
)
@declared_attr
def gs(cls): # noqa
return db.relationship(
"GoogleStorage",
primaryjoin=lambda: cls.join_builder(GoogleStorage),
backref=cls.__tablename__,
overlaps=f"reporter,account,gs,{cls.__tablename__}",
uselist=False # only a single entry will be related back to the record
)
@declared_attr
def use_gs(self):
return association_proxy("gs", "use_gs")
class GoogleStorage(EntityRefMixin, db.Model):
__tablename__ = "google_storage"
id = db.Column(db.Integer, primary_key=True)
use_gs = db.Column(db.Boolean)
bucket_name = db.Column(db.String(50), nullable=True)
folder_path = db.Column(db.String(100), nullable=True)
class Reporter(EntityRelationshipMixin, db.Model):
__tablename__ = "reporter"
id = db.Column(db.Integer, primary_key=True)
module = db.Column(db.String(50), nullable=False)
class ReporterView(ModelView):
column_list = ("module", "use_gs") # I've also tried gs.use_gs, but neither is editable
column_editable_list = column_list
column_filters = column_list
with app.app_context():
db.create_all()
admin.add_view(ReporterView(Reporter, db.session, name="Reporters", endpoint="reporters"))
if __name__ == "__main__":
app.run(debug=True)
I've been able to add BooleanField support of association proxies with a bit of hackiness.
flask_admin/contrib/sqla/form.py - AdminModelConverter
def _convert_relation(self, name, prop, property_is_association_proxy, kwargs):
# Check if relation is specified
form_columns = getattr(self.view, 'form_columns', None)
if form_columns and name not in form_columns:
return None
try: # newly-added
remote_model = prop.mapper.class_
column = prop.local_remote_pairs[0][0]
# If this relation points to local column that's not foreign key, assume
# that it is backref and use remote column data
if not column.foreign_keys:
column = prop.local_remote_pairs[0][1]
except AttributeError: # newly-added
remote_model = prop.parent.class_ # newly-added
column = prop.expression # newly-added
kwargs['label'] = self._get_label(name, kwargs)
kwargs['description'] = self._get_description(name, kwargs)
# determine optional/required, or respect existing
requirement_options = (validators.Optional, validators.InputRequired)
requirement_validator_specified = any(isinstance(v, requirement_options) for v in kwargs['validators'])
if property_is_association_proxy or column.nullable or prop.direction.name != 'MANYTOONE':
kwargs['allow_blank'] = True
if not requirement_validator_specified:
kwargs['validators'].append(validators.Optional())
else:
kwargs['allow_blank'] = False
if not requirement_validator_specified:
kwargs['validators'].append(validators.InputRequired())
# Override field type if necessary
override = self._get_field_override(prop.key)
if override:
if override is fields.BooleanField: # newly-added
kwargs.pop("allow_blank") # newly-added
return override(**kwargs)
multiple = (property_is_association_proxy or
(prop.direction.name in ('ONETOMANY', 'MANYTOMANY') and prop.uselist))
return self._model_select_field(prop, multiple, remote_model, **kwargs)
Then, making sure to add a creator function to my association proxy
@declarative_mixin
class EntityRelationshipMixin:
@classmethod
def join_builder(cls, remote_cls):
return and_(
foreign(remote_cls.entity_type) == cls.__tablename__,
foreign(remote_cls.entity_id) == cls.id
)
@declared_attr
def gs(cls):
return db.relationship(
"GoogleStorage",
primaryjoin=lambda: cls.join_builder(GoogleStorage),
backref=cls.__tablename__,
overlaps=f"reporter,account,gs,{cls.__tablename__}",
uselist=False # only a single entry will be related back to the record
)
@declared_attr
def use_gs(cls):
return association_proxy(
"gs",
"use_gs",
creator=lambda value: GoogleStorage(
use_gs=value,
entity_type=cls.__tablename__,
entity_id=cls.id
)
)
And finally, adding the association fields to form_overrides, assigning the appropriate field type
class ReporterView(ModelView):
column_list = ("module", "use_gs")
column_editable_list = column_list
column_filters = column_list
form_overrides = {"use_gs": BooleanField}
@michaelbukachi Any interest in having a look at "properly" implementing better support for specifying association/relationship fields in column_editable_list?
@caffeinatedMike sure thing. I'll take this up.
Hey @michaelbukachi Any luck with this? I'm finding a need for it with relationships more than association proxies now.
|
gharchive/issue
| 2022-01-06T01:52:05 |
2025-04-01T04:34:16.158539
|
{
"authors": [
"caffeinatedMike",
"michaelbukachi"
],
"repo": "flask-admin/flask-admin",
"url": "https://github.com/flask-admin/flask-admin/issues/2210",
"license": "bsd-3-clause",
"license_type": "permissive",
"license_source": "bigquery"
}
|
2107914146
|
K8S kubevirt 'allocatable: devices.kubevirt.io/vhost-net: "0"' with Flatcar 3850.0.0+
Description
If K8S + kubevirt is installed on Flatcar 3850.0.0+, the allocatable vhost-net devices are 0.
Impact
This issue impacts creating k8s kubevirt vms (no vms can be created if there are no allocatable vhost-net devices).
Environment and steps to reproduce
My environment was a k8s created on baremetal ARM64 using Flatcar 3850.0.0 stock image and automation from https://github.com/cloudbase/BMK/tree/flatcar_sysext.
Expected behavior
$: kubect get node -A -o yaml | grep -i vhost-net
allocatable: devices.kubevirt.io/vhost-net: 1k
Additional information
If the node is rebooted, the vhost-net allocatable devices are back to the expected size.
Sometimes, the issue cannot be reproduced, which means it is a race condition.
The issue is not present on the current stable or beta releases.
When trying to debug this issue, saw that the kubevirt implementation tries to open the /dev/vhost-net device file in order for the vhost-net kernel module to be autoloaded. I have created a small golang test script and I can confirm that opening the device file does not autoload the kernel module. More debug is needed to see if the 6.6 Linux kernel has module autoload disabled?
My golang repro code:
package main
import "fmt"
import "os"
func main() {
devnode, err := os.Open("/dev/vhost-net")
if err == nil {
fmt.Println("/dev/vhost-net opened")
devnode.Close()
} else {
fmt.Println("/dev/vhost-net failed to open")
}
}
When I run it on the Flatcar env without the vhost-net module preloaded, I get /dev/vhost-net failed to open.
@ader1990 are you running this from a systemd unit early in boot or something?
It works fine here:
$ ssh core
Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts.
Last login: Wed Jan 31 08:46:28 UTC 2024 on tty1
Flatcar Container Linux by Kinvolk alpha 3850.0.0 for QEMU
core@localhost ~ $ lsmod | grep vhost
core@localhost ~ $ ls -la /dev/vhost-net
crw-rw-rw-. 1 root kvm 10, 238 Jan 31 08:46 /dev/vhost-net
core@localhost ~ $ ./main
/dev/vhost-net opened
core@localhost ~ $ lsmod | grep vhost
vhost_net 36864 0
tun 69632 1 vhost_net
vhost 65536 1 vhost_net
vhost_iotlb 16384 1 vhost
tap 28672 1 vhost_net
core@localhost ~ $
lsmod | grep vhost
Hello @jepio,
I am running manually after the normal boot process, on a baremetal ARM64 server. I have also tried on a Hyper-V VM x64, and I get the same issue. When the VM is a QEMU-KVM, I think it gets automatically loaded, because of the underlying virtualization. I have used the https://alpha.release.flatcar-linux.net/arm64-usr/current/flatcar_production_image.bin.bz2 image.
From my testing, only a modprobe vhost_net can reliably create the /dev/vhost-net.
Before opening an issue in the kubevirt repo, I will try the upstream master of the kubevirt, just to make sure the issue reliably reproduces. The kubevirt implementation relies on open/close of the file to trigger a module load, which does not seem to work: https://github.com/kubevirt/kubevirt/blob/main/pkg/virt-handler/device-manager/generic_device.go#L117
Thank you,
Adrian
@ader1990 are you running this from a systemd unit early in boot or something? It works fine here:
$ ssh core
Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts.
Last login: Wed Jan 31 08:46:28 UTC 2024 on tty1
Flatcar Container Linux by Kinvolk alpha 3850.0.0 for QEMU
core@localhost ~ $ lsmod | grep vhost
core@localhost ~ $ ls -la /dev/vhost-net
crw-rw-rw-. 1 root kvm 10, 238 Jan 31 08:46 /dev/vhost-net
core@localhost ~ $ ./main
/dev/vhost-net opened
core@localhost ~ $ lsmod | grep vhost
vhost_net 36864 0
tun 69632 1 vhost_net
vhost 65536 1 vhost_net
vhost_iotlb 16384 1 vhost
tap 28672 1 vhost_net
core@localhost ~ $
What I also observed is that /dev/vhost-net can be present also if the vhost_net module is not loaded, because of the QEMU implementation. Can you also confirm this scenario on your environment?
The way module autoloading work is:
the module declares an alias on a device node with a specific major:minor
userspace precreates a device node with that major:minor
when other userspace opens the device node the kernel requests the module
udev loads the module
The files involved are:
$ systemctl cat kmod-static-nodes
# /usr/lib/systemd/system/kmod-static-nodes.service
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Create List of Static Device Nodes
DefaultDependencies=no
Before=sysinit.target systemd-tmpfiles-setup-dev.service
ConditionCapability=CAP_SYS_MODULE
ConditionFileNotEmpty=/lib/modules/%v/modules.devname
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/static-nodes.conf
$ cat /lib/modules/$(uname -r)/modules.devname
# Device nodes to trigger on-demand module loading.
fuse fuse c10:229
cuse cuse c10:203
btrfs btrfs-control c10:234
nvram nvram c10:144
loop loop-control c10:237
tun net/tun c10:200
ppp_generic ppp c108:0
dm_mod mapper/control c10:236
vfio vfio/vfio c10:196
vhost_net vhost-net c10:238
vhost_vsock vhost-vsock c10:241
$ cat /run/tmpfiles.d/static-nodes.conf
c! /dev/fuse 0600 - - - 10:229
c! /dev/cuse 0600 - - - 10:203
c! /dev/btrfs-control 0600 - - - 10:234
c! /dev/nvram 0600 - - - 10:144
c! /dev/loop-control 0600 - - - 10:237
d /dev/net 0755 - - -
c! /dev/net/tun 0600 - - - 10:200
c! /dev/ppp 0600 - - - 108:0
d /dev/mapper 0755 - - -
c! /dev/mapper/control 0600 - - - 10:236
d /dev/vfio 0755 - - -
c! /dev/vfio/vfio 0600 - - - 10:196
c! /dev/vhost-net 0600 - - - 10:238
c! /dev/vhost-vsock 0600 - - - 10:241
$ systemctl cat systemd-tmpfiles-setup-dev
# /usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Create Static Device Nodes in /dev
Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
DefaultDependencies=no
After=systemd-sysusers.service
Before=sysinit.target local-fs-pre.target systemd-udevd.service
Conflicts=shutdown.target initrd-switch-root.target
Before=shutdown.target initrd-switch-root.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=systemd-tmpfiles --prefix=/dev --create --boot
SuccessExitStatus=DATAERR CANTCREAT
LoadCredential=tmpfiles.extra
I'm not sure why this is failing, perhaps modules.devname is missing from the initrd? We might need a flatcar dev build that prints more info in before those services to see what the file contents are at that time. Both services are supposed to run from the initrd.
Actually: i'm seeing that on qemu the services run a second time after switch root. Could you figure out why this doesn't happen in Azure/Vmware?
On the baremetal ARM64 machine:
cat /lib/modules/$(uname -r)/modules.devname
# Device nodes to trigger on-demand module loading.
fuse fuse c10:229
cuse cuse c10:203
btrfs btrfs-control c10:234
loop loop-control c10:237
tun net/tun c10:200
ppp_generic ppp c108:0
dm_mod mapper/control c10:236
vhost_net vhost-net c10:238
Seems that the mapping is correct.
The file itself is correct, but something must be going wrong with the systemd units that create the dev nodes based on that file. I'll leave it to you to investigate.
Hello,
After various retries, I think I found out the culprit: systemd service systemd-tmpfiles-setup-dev should be creating these links.
If I restart the service, the links are correctly created and udev shows the correct events (module loaded) when trying to access the /dev/vhost-net with open/close (via the golang program).
The problem is that the systemd-tmpfiles-setup-dev sometimes runs before the creation of /run/tmpfiles.d/static-nodes.conf file.
This happens randomly (tried 10 or so reboots).
See bellow, file created at 08:42:15 and systemd-tmpfiles-setup-dev already finished at 08:42:12.
localhost ~ # ls -liath /run/tmpfiles.d/static-nodes.conf --full-time
73 -rw-r--r--. 1 root root 457 2024-02-01 08:42:15.676000000 +0000 /run/tmpfiles.d/static-nodes.conf
localhost ~ # systemctl status systemd-tmpfiles-setup-dev
● systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev
Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service; static)
Active: active (exited) since Thu 2024-02-01 08:42:12 UTC; 3min 39s ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Main PID: 175 (code=exited, status=0/SUCCESS)
Feb 01 08:42:12 localhost systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.
Maybe set a systemd-tmpfiles-setup-dev.service
ConditionFileNotEmpty=/run/tmpfiles.d/static-nodes.conf ?
Adrian found out that the way we pull in systemd-tmpfiles-setup-dev.service early has to do this because kmod-static-nodes.service wouldn't have run then. Upstream kmod-static-nodes.service has the Before= but systemd-tmpfiles-setup-dev.service is missing Wants= to actually pull the unit in. It only gets pulled in in the final system, not in the initrd, by sysinit.target.wants. I would suggest to add an explicit Wants= as drop-in and maybe get this upstream. But we diverge a bit due to how we pull in systemd-tmpfiles-setup-dev.service - maybe there are alternatives and we could do some direct calls with similar effect to create the /dev/ nodes we want instead of starting this service early.
Wait, maybe we should be using systemd-tmpfiles-setup-dev-early.service in bootengine, I hope it does the same for us when it skips things "not safe on boot".
In Fedora with a newer systemd version this is what I see as definition:
# /usr/lib/systemd/system/kmod-static-nodes.service
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Create List of Static Device Nodes
DefaultDependencies=no
Before=sysinit.target systemd-tmpfiles-setup-dev-early.service
ConditionCapability=CAP_SYS_MODULE
ConditionFileNotEmpty=/lib/modules/%v/modules.devname
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/static-nodes.conf
|
gharchive/issue
| 2024-01-30T13:49:41 |
2025-04-01T04:34:16.176554
|
{
"authors": [
"ader1990",
"jepio",
"pothos"
],
"repo": "flatcar/Flatcar",
"url": "https://github.com/flatcar/Flatcar/issues/1336",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
582564306
|
add CD2H logo to website
Please report the issue under the apppriate header below.
Content to be added or changed:
add CD2H logo to website
@mellybelly need clarity as to where this should go (at bottom of the page?) and should this include a funding statement?
It needs a funding statement as well, yes please. I think it could go in multiple places - potentially at the footer and in the contributors/attributions? depends on layout.
Here is the funding information and we can link to the CD2H website as well.
Funded by NIH U24TR002306
https://ctsa.ncats.nih.gov/cd2h/
@jaeddy can you work on this one?
I created a PR to add the logo to the repo
#129
@jaeddy once you have clarity on what other orgs logos we need feel free to comment here and the corresponding PR
Done!
|
gharchive/issue
| 2020-03-16T19:56:18 |
2025-04-01T04:34:16.272812
|
{
"authors": [
"mellybelly",
"mverzilli",
"nditada",
"nicolevasilevsky"
],
"repo": "flattenthecurve/guide",
"url": "https://github.com/flattenthecurve/guide/issues/116",
"license": "CC-BY-4.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
30674391
|
RandomTransitionGenerator gets outside of image's content sometimes, or does too much zooming sometimes
I'm trying to have a POC project that has the following features:
fading action bar, using this library:
https://github.com/flavienlaurent/NotBoringActionBar
imageView that change their sizes in parallel (top and bottom) , as you scroll.
the imageViews are actually KenBurnsView, and they switch between multiple images that might be from the Internet.
all in fragments and action-bar-navigation is supported.
here's the project:
https://drive.google.com/file/d/0B_nrUhQ0MIgwUGZ3cjJwZVpVbkU/
the problem is that even though everything works , the RandomTransitionGenerator sometimes go outside of the content of the image being shown, so empty area is shown too. Also, sometimes, the zoom factor gets really large.
of course, I had to change some stuff on both libraries in order for this to work, but most of the code remained intact.
hello
I'm not having the problem with getting out of the image's bounds.
However, I'm having the problem with WAY too much zoom.
You guys have any idea how I can fix that?
Sorry, I didn't return to this issue. I don't use this library anymore.
Hello,
Some news about this récurrent issue, it seems to occurs when view is used with multiple image downloaded from URL (Picasso in my case) and dynamically resized
Thanks
Nomane
I haven't seen it happening after https://github.com/flavioarfaria/KenBurnsView/pull/34.
Closing for now.
|
gharchive/issue
| 2014-04-02T10:00:58 |
2025-04-01T04:34:16.277760
|
{
"authors": [
"AndreiHarasemiuc",
"AndroidDeveloperLB",
"Nomane",
"flavioarfaria"
],
"repo": "flavioarfaria/KenBurnsView",
"url": "https://github.com/flavioarfaria/KenBurnsView/issues/4",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
2491783781
|
🛑 Flc Blog is down
In 4e29c3d, Flc Blog (https://flc.io) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Flc Blog is back up in aba56c1 after 15 minutes.
|
gharchive/issue
| 2024-08-28T11:10:37 |
2025-04-01T04:34:16.281314
|
{
"authors": [
"flc1125"
],
"repo": "flc1125/status.flc.io",
"url": "https://github.com/flc1125/status.flc.io/issues/77",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
}
|
1680018458
|
FilePicker in Flet 0.6.0 pops up 2 windows instead of 1
Description
Calling FilePicker on upper view since Flet 0.6.0.dev1309 results in 2 windows popping up instead of the expected 1. This behavior was not present in version 0.5.2.
Code example to reproduce the issue:
import flet as ft
def main(page: ft.Page):
page.title = "Routes Example"
file_picker = ft.FilePicker()
page.overlay.append(file_picker)
def route_change(route):
page.views.clear()
page.views.append(
ft.View(
"/",
[
ft.AppBar(title=ft.Text("Flet app"), bgcolor=ft.colors.SURFACE_VARIANT),
ft.ElevatedButton("Click this will pop up 1 window",
on_click=lambda _: file_picker.pick_files(allow_multiple=True)),
ft.ElevatedButton("Visit Store", on_click=lambda _: page.go("/store")),
],
)
)
if page.route == "/store":
page.views.append(
ft.View(
"/store",
[
ft.AppBar(title=ft.Text("Store"), bgcolor=ft.colors.SURFACE_VARIANT),
ft.ElevatedButton("Click this will pop up 2 windows",
on_click=lambda _: file_picker.pick_files(allow_multiple=True)),
ft.ElevatedButton("Go Home", on_click=lambda _: page.go("/")),
],
)
)
page.update()
def view_pop(view):
page.views.pop()
top_view = page.views[-1]
page.go(top_view.route)
page.on_route_change = route_change
page.on_view_pop = view_pop
page.go(page.route)
ft.app(target=main)
Describe the results you received:
Describe the results you expected:
The expected behavior is that only 1 window should pop up.
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (pip show flet):
Name: flet
Version: 0.6.0.dev1309
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email: hello@flet.dev
License: Apache-2.0
Location: /opt/homebrew/lib/python3.11/site-packages
Requires: flet-core, httpx, oauthlib, packaging, watchdog, websocket-client, websockets
Required-by:
Operating system:
Tested on MacOS and Windows
Additional environment details:
Python 3.11
Will take a look.
Could be related to https://github.com/flet-dev/flet/issues/1236
|
gharchive/issue
| 2023-04-23T12:55:32 |
2025-04-01T04:34:16.341059
|
{
"authors": [
"FeodorFitsner",
"ningzichun"
],
"repo": "flet-dev/flet",
"url": "https://github.com/flet-dev/flet/issues/1324",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2302524333
|
Fix regression with SnackBar.behavior not being properly set
Closes #3311
Could you please resolve a conflict here?
|
gharchive/pull-request
| 2024-05-17T11:47:23 |
2025-04-01T04:34:16.342134
|
{
"authors": [
"FeodorFitsner",
"ndonkoHenri"
],
"repo": "flet-dev/flet",
"url": "https://github.com/flet-dev/flet/pull/3313",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
1368310218
|
add interval field to Card interface
This PR was created to add the field interval to the interface Card to control the spending by categories selected.
:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
|
gharchive/pull-request
| 2022-09-09T20:46:47 |
2025-04-01T04:34:16.348664
|
{
"authors": [
"tophercf",
"xXAndrexPereXx"
],
"repo": "flexbase-eng/flexbase-client",
"url": "https://github.com/flexbase-eng/flexbase-client/pull/38",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
}
|
528242018
|
SaaS Manager - User Status Change
Description
initial release of SaaS Manager - User Status Change policy
Contribution Check List
[x] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD
1 Error
:no_entry_sign:
Policy Template path should be lowercase. saas/fsm/user_status_change/fsm-user_status_change.pt
Generated by :no_entry_sign: Danger
1 Error
:no_entry_sign:
The URL is not valid: http://docs.rightscale.com/policies/ in saas/fsm/user_status_change/fsm-user_status_change.pt Status: 301
Generated by :no_entry_sign: Danger
|
gharchive/pull-request
| 2019-11-25T17:50:10 |
2025-04-01T04:34:16.354261
|
{
"authors": [
"dfrankel33",
"flexera-ci"
],
"repo": "flexera/policy_templates",
"url": "https://github.com/flexera/policy_templates/pull/406",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
}
|
1705770280
|
Add an option to the extension that toggles whether the console is cleared
In particular, I want this specific line:
https://github.com/flix/vscode-flix/blob/master/client/src/extension.ts#L78
guarded by this option.
For an example of how to add options, take a look at:
https://github.com/flix/vscode-flix/blob/master/package.json#L119
The option should be enabled by default and called "Clear old compiler messages on changes". (Internally "clearOnChange").
The line number moved (because the file changed), here is what I had in mind:
https://github.com/flix/vscode-flix/blob/master/package.json#L172
|
gharchive/issue
| 2023-05-11T12:52:46 |
2025-04-01T04:34:16.427199
|
{
"authors": [
"magnus-madsen"
],
"repo": "flix/vscode-flix",
"url": "https://github.com/flix/vscode-flix/issues/260",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2526609796
|
feat: add BigDecimal literal highlighting
Fixes flix/flix#4798
|
gharchive/pull-request
| 2024-09-14T21:15:32 |
2025-04-01T04:34:16.428261
|
{
"authors": [
"sockmaster27"
],
"repo": "flix/vscode-flix",
"url": "https://github.com/flix/vscode-flix/pull/450",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
2399193709
|
Incorrect Popover positioning at rotating in Browser DevTools
Describe the bug
Using browser DevTools (using toggle device toolbar) on resize (small width values) and on rotating / tilting Popover has an incorrect positioning.
Here is the Video
To Reproduce
Steps to reproduce the behavior:
Go to CodeSandBox or from floating/ui official documentation Basic Popover example.
Open your browser DevTools
Click on the button to open the Popover
Resize the screen by reducing the width for example 270px
Click the rotation / tilting button twice and see the incorrect position.
Expected behavior
Expect to see previous correct position even after multiple rotations / tiltings
Screenshots
Normal positioning before rotations
Incorrect positioning after twice rotations
Context:
OS: WIndows 10
Browser Google Chrome
Version 126.0.6478.127 (Official Build) (64-bit)
How is it incorrect?
When open It doesn't always get repositioned correctly after the device is rotated, see 0:07 to 0:08 of video
It looks like it's positioned correctly the whole time? What you're referring to seems to be the document's width which isn't related to the floating element's position. Since it was placed on the right initially with horizontal orientation, when tilting back to vertical orientation, it has that extra space initially caused by the floating element being larger than the available space. In this case DevTools' viewport doesn't correctly reset the width until you resize - which seems like a possible DevTools quirk more than anything?
|
gharchive/issue
| 2024-07-09T20:52:47 |
2025-04-01T04:34:16.439195
|
{
"authors": [
"atomiks",
"juandrepanther",
"kputninsif"
],
"repo": "floating-ui/floating-ui",
"url": "https://github.com/floating-ui/floating-ui/issues/2972",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
}
|
123196323
|
Hide only subpages outputted by Subpagelist in sidebar
When using Subpagelist’s filter functionality it would be nice to hide only the filtered subpages in Kirbys sidebar.
Why?
I try to use Subpagelist to display subpages as sections of page (similar to the official one-pager solution). I am looking for a way to display page sections and real sub pages separately.
Hiding the pages in the sidebar of the panel is a core functionality of Kirby. I will close that issue because I think it's not related to this plugin.
I found a nice solution how to handle subpages as sections in combination with normal subpages. It's a combination of this subpagelist plugin, a customized version of @timoetting 's list field and some panel hook magic. But it needs some (more) explanation … I hope I will find the time to write an article about it :) Maybe this would be an option for you?
Here's a quick preview (with german panel):
|
gharchive/issue
| 2015-12-21T01:56:47 |
2025-04-01T04:34:16.443862
|
{
"authors": [
"dennisfrank",
"flokosiol"
],
"repo": "flokosiol/kirby-subpagelist",
"url": "https://github.com/flokosiol/kirby-subpagelist/issues/5",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
}
|
69263924
|
Added Comment OFVendorStatistics.java
Added comment for the newly added function .
By mistake annotation @Override added , Removed in this patch.
Explanation Regarding patch.
Regarding patch for STATS Vendor Extesnion (Patch 521 & 525) in floodlight Ver 0.91
In Floodlight version 0.91 if we look at class OFVendorStatistics.java , there are two fields protected int vendor ( This is used to set Vendor ID) and protected byte[] body;( This is used to fill the STATS VEDNOR DATA which is implementation specific ).
we can extend the class and can set both the fields as required:
Example :
import org.openflow.protocol.statistics.OFVendorStatistics;
public class VendorStats extends OFVendorStatistics {
public VendorStats(int vendorid ,byte[] buffer)
{
this.vendor=id;
this.body=buffer;
}
}
Now function to send the stats vendor data on switch :
Example:
IOFSwitch iofSwitch = floodlightProvider.getSwitches().get(dataPathid); // Function depend upon floodlight version
if (iofSwitch == null) {
System.out.println(" VENDOR_STATS_REQUEST Failed " + dataPathid );
return;
}
byte[] vendordata =new byte[256];
System.arraycopy(buffer,20,vendordata,0, length); // here buffer contains the vendor specific stats request structure , I am copying the request into vendordata byte array which can be implementation specific)
OFStatisticsRequest req = new OFStatisticsRequest(); //Creating new Stats Request
req.setStatisticType(OFStatisticsType.VENDOR); //Setting the type to VENDOR
int requestLength = req.getLength();
VendorStats vstats =new VendorStats(1234,vendordata); // Here I am setting the vendorid and stats vendordata which can be vendor/user specific.
vstats.setLength(vendordata.length+4);
List<OFStatistics>values = null;
java.util.concurrent.Future<List<OFStatistics>> future;
List<OFVendorStatistics> statsReply=new ArrayList<OFVendorStatistics>();
req.setStatistics(Collections.singletonList((OFStatistics)vstats));
requestLength +=vstats.getLength();
req.setLengthU(requestLength);
try {
future = iofSwitch.getStatistics(req); /// Function depend upon floodlight version using
System.out.println("STATS REQ SENT");
values = (List<OFStatistics>) future.get(3, TimeUnit.SECONDS);
if(values != null)
{
for(OFStatistics stat : values)
{
statsReply.add((OFVendorStatistics)stat); // Now here I am getting the STATS REPLY from switch
}
}
}
catch ( Exception e )
{
System.out.println(" Failure retrieving statistics from switch" + iofSwitch + e);
}
Now I need to fetch the Vendor STATS REPLY from the controller as controller has received the reply from the switch , but there was no function defined in OFVendorStatistics.java to fetch the stats vendor data.
So I have added following code snippet in OFVendorStatistics.java class to fetch the same :
// Return the body
public byte[] getBody()
{
return body;
}
Now I am able to utilize the above function to fetch the stats vendor data from switch via controller.
Example:
byte[] statsvendorreply = new body[256];
for(OFVendorStatistics sreply : statsReply) {
System.out.println("Got the Vendor specific STATS Reply "+ " \n");
statsvendorreply = sreply.getBody(); // Now we can use this vendor data as required
CheckData(statsvendorreply);
}
|
gharchive/pull-request
| 2015-04-18T03:58:03 |
2025-04-01T04:34:16.451458
|
{
"authors": [
"puneet2singh"
],
"repo": "floodlight/floodlight",
"url": "https://github.com/floodlight/floodlight/pull/525",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
141574182
|
pinned revision for glfw - because latest version is broken.
fips-glfw is current broken - the viewport doesn't update when you resize the window.
(pinning version in oryol would make a lot of sense for those that are using oryol btw)
By pinning the versions stuff won't break for people that are using oryol just because a dependency was updated.
Hmm seems to be a Linux-specific issue.
Does the 'rev' actually work for you? I seem to have some trouble here where the checkout to the specified version doesn't work (the HEAD is still tracking the master branch, instead of being detached).
Also: did you try adding the fips-glfw dependency with specific revision to your project's fips.yml? If this works we don't need to pin this in oryol (fips-glfw should actually use a stable glfw-submodule version, I simply pulled whatever was on master at the time, which might have been unstable, or uncomplete).
Argh, ok, both fips-imgui and fips-turbobadger have their own fips-glfw imports, which probably collide with the fips-glfw to a specific revision. This is where the fips package managements reaches its limits I guess.
The proper way would be to update fips-glfw with a glfw version that works (but it must be glfw3.2 for vulkan support)
I'm not having any problems with Window resizing on Ubuntu 15 with Intel GPU by the way:
I'm not having issues either. Tested on my Gentoo system with an AMD APU.
I further tested under Alpine Linux and Devuan (a Debian fork), and am still unable to reproduce.
yes, in the meantime I have updated the fips-glfw repo to 3.3, I think I can close this now :)
|
gharchive/pull-request
| 2016-03-17T12:50:51 |
2025-04-01T04:34:16.456339
|
{
"authors": [
"floooh",
"mgerhardy",
"pixelherodev"
],
"repo": "floooh/oryol",
"url": "https://github.com/floooh/oryol/pull/195",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
}
|
1236830793
|
Add option to select opengl version
Fixes #663
I tried to make it work on win/linux/mac. But worth double checking.
On the original code for windows/linux it was requested an opengl 3.3 core context, instead of a 3.2 (which is what from the constants looks it was supposed to do). Not sure what is the proper choice there, but it can be reverted back to 3.3 (or now, let the user select...)
Thanks! I just started to move tests from the sokol-samples to the sokol directory, which is quite a bit more work than I anticipated (because I need to work with "raw" cmake, not fips).
I'll look into the PR once I'm done with the tests stuff, might take a week or two.
sure! no problem :)
Found a little flaw:
If version 4.0 is desired, it would instead use version 4.2 :D
I've merged the PR into my own temporary branch, so I'll just fix it there. I'll just look only at the major version to decide if the default 3.2 should be used, and if gl_major_version is != 0 I'll just take the minor version as it is.
I have also 'centralized' the various places where the default is 'patched in' into the function _sapp_desc_defaults().
...and merged... I somehow messed up the git history a bit (the later commits from master which I first merged into my own branch pulled from the PR are now duplicated in the history - but ¯_(ツ)_/¯).
This is the change I talked about in the earlier comment:
https://github.com/floooh/sokol/blob/8cdce3018e28554830dc72bacebf22209201f89a/sokol_app.h#L2748-L2755
|
gharchive/pull-request
| 2022-05-16T08:51:20 |
2025-04-01T04:34:16.460223
|
{
"authors": [
"floooh",
"pplux"
],
"repo": "floooh/sokol",
"url": "https://github.com/floooh/sokol/pull/664",
"license": "Zlib",
"license_type": "permissive",
"license_source": "github-api"
}
|
178860613
|
item adding
how add items in TYPE_CELL RecycleView
Did you find way to add items ??
|
gharchive/issue
| 2016-09-23T12:10:10 |
2025-04-01T04:34:16.463062
|
{
"authors": [
"MaheshCapcee",
"rushyaa"
],
"repo": "florent37/MaterialViewPager",
"url": "https://github.com/florent37/MaterialViewPager/issues/284",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
}
|
47433761
|
Add support for filters or JQL
One feature that this integration is lacking (vs. the Slack version of the JIRA integration) is the ability to only listen to events on issues in a particular filter. For a larger organization with multiple teams working on the same project, it's nice to be able to separate out the messages from a project that have a specific tag, for example. I see that there's also a User Voice request for this functionality. Thanks!
We just released an upgraded JIRA integration to Flowdock which supports JQL. https://www.flowdock.com/help/jira helps how to get started with the new integration.
This plugin will no longer be maintained.
|
gharchive/issue
| 2014-10-31T19:09:41 |
2025-04-01T04:34:16.526050
|
{
"authors": [
"RedBulli",
"mbuck-r7"
],
"repo": "flowdock/flowdock-jira-plugin",
"url": "https://github.com/flowdock/flowdock-jira-plugin/issues/5",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
}
|
2073931122
|
Finetuned Weights Loading Error
Hello! I trained a LLM model and saved my finetuned weights. When I tried to load the weights, the following error occurred.
RuntimeError: Error(s) in loading state_dict for HF_LLM:
Missing key(s) in state_dict: "_LLM_model.encoder.embed_tokens.weight", "_LLM_model.decoder.embed_tokens.weight".
Could you give me some advice on how to solve this problem? Are there some ways to save the LLM model weights in the form of Hugging Face?
Hi,
Could you give more info on how you trained and saved weights please? Did you use one of the examples?
Our examples only save parameters with "requires_grad=True" and it may be possible that the two missing keys you show were not saved as they are frozen (i.e. they have "requires_grad=False"). If that's the case, please try setting , strict=False when loading the finetuned weights.
Awesome! I try to set strict=False and successfully load my finetuned weights. Thanks for your advice.
Perfect!
I am closing the issue. Please do not hesitate to open an other one (or repoen this one) if you face other troubles.
|
gharchive/issue
| 2024-01-10T09:19:12 |
2025-04-01T04:34:16.528813
|
{
"authors": [
"AiBo123456",
"ClementRomac"
],
"repo": "flowersteam/lamorel",
"url": "https://github.com/flowersteam/lamorel/issues/32",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
}
|
195317883
|
What is the minimum Internet Explorer version supported?
Just out of curiosity to know if this is something that we should even investigate for usage at my workplace, what it the minimum IE version this library is going to support?
You can test it here: http://flowhub.github.io/the-graph/the-graph-editor/index.html
Unlikely to officially support IE versions prior to 10 by Flowhub team. As long as fixes needed are clean, contributions for IE8/9 welcomed though.
|
gharchive/issue
| 2016-12-13T17:32:29 |
2025-04-01T04:34:16.533631
|
{
"authors": [
"forresto",
"jonnor",
"ryanzec"
],
"repo": "flowhub/the-graph",
"url": "https://github.com/flowhub/the-graph/issues/311",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
}
|
103850818
|
dash.js VOD: does not fire ended reliably when video is played through
dash.js regesses in development branch regarding end of video handling. Hard to detect for developers because the problem does not manifest itself after one seeks towards the end of video. Video must be played through to trigger the issue.
First detected when diagnosing #1, see also https://github.com/Dash-Industry-Forum/dash.js/issues/694#issuecomment-135124483
Symptom:
At some point during playback the requested index for the audio track becomes -1:
[audio] Getting the request for time: 67.899999
flowplayer.mpegdash.min.js:29 [audio] Index for time 67.899999 is -1
repeated over and over again. And shortly before end of video player is stuck in unusable state.
Maybe specific to segment timeline in MPD.
1.4.0 release: Chrome ok (1.4.0 does not work in Safari)
https://github.com/Dash-Industry-Forum/dash.js/commit/7568cf5dd6a2 (version currently used by plugin) works in Safari, but exhibits issue in Safari regularly; rarely, but more often than with 1.4.0, in Chrome (for Chrome run looping playlist at http://michael-weber.blacktrash.org/showreels.html#showreelpl until it stalls)
https://github.com/Dash-Industry-Forum/dash.js/commit/516b421c0bd0 ff. exhibit the problem in Chrome too
Works if MP4Box advice in README is heeded.
|
gharchive/issue
| 2015-08-29T13:10:39 |
2025-04-01T04:34:16.537882
|
{
"authors": [
"blacktrash"
],
"repo": "flowplayer/flowplayer-mpegdash",
"url": "https://github.com/flowplayer/flowplayer-mpegdash/issues/4",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
}
|
179586711
|
[Solved] Error install flow-typed on Mac OS 10.11.6
$ npm i flow-typed@2.0.0-beta.9 -g
npm WARN deprecated lodash.assign@4.2.0: This package is deprecated. Use Object.assign.
> nodegit@0.15.1 preinstall /Users/sean/.nvm/versions/node/v6.6.0/lib/node_modules/.staging/nodegit-af44277b
> node lifecycleScripts/preinstall
[nodegit] Running pre-install script
[nodegit] Configuring libssh2.
{ Error: Command failed: /Users/sean/.nvm/versions/node/v6.6.0/lib/node_modules/.staging/nodegit-af44277b/vendor/libssh2/configure --with-libssl-prefix=/Users/sean/.nvm/versions/node/v6.6.0/lib/node_modules/.staging/nodegit-af44277b/vendor/openssl/openssl
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
at ChildProcess.exithandler (child_process.js:206:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
killed: false,
code: 1,
signal: null,
cmd: '/Users/sean/.nvm/versions/node/v6.6.0/lib/node_modules/.staging/nodegit-af44277b/vendor/libssh2/configure --with-libssl-prefix=/Users/sean/.nvm/versions/node/v6.6.0/lib/node_modules/.staging/nodegit-af44277b/vendor/openssl/openssl' }
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
[nodegit] ERROR - Could not finish preinstall
{ Error: Command failed: /Users/sean/.nvm/versions/node/v6.6.0/lib/node_modules/.staging/nodegit-af44277b/vendor/libssh2/configure --with-libssl-prefix=/Users/sean/.nvm/versions/node/v6.6.0/lib/node_modules/.staging/nodegit-af44277b/vendor/openssl/openssl
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
at ChildProcess.exithandler (child_process.js:206:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
killed: false,
code: 1,
signal: null,
cmd: '/Users/sean/.nvm/versions/node/v6.6.0/lib/node_modules/.staging/nodegit-af44277b/vendor/libssh2/configure --with-libssl-prefix=/Users/sean/.nvm/versions/node/v6.6.0/lib/node_modules/.staging/nodegit-af44277b/vendor/openssl/openssl' }
/Users/sean/.nvm/versions/node/v6.6.0/lib
└── (empty)
I tried to brew install openssl, but...
This formula is keg-only, which means it was not symlinked into /usr/local.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Does work after running
brew install libgcrypt
Leaving this up here for anyone else.
Thanks, @ctrlplusb. I think this would be a good thing to go into an FAQs section of the README. I'll add this there and then close this out
Ok, I've added an FAQs section over here with this issue listed.
Thanks again for the report!
|
gharchive/issue
| 2016-09-27T19:15:22 |
2025-04-01T04:34:16.541060
|
{
"authors": [
"ctrlplusb",
"jeffmo"
],
"repo": "flowtype/flow-typed",
"url": "https://github.com/flowtype/flow-typed/issues/336",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
}
|
152020394
|
mocha definition
Definitions for https://mochajs.org/
Please make a module for mocha. Otherwise it will always be global.
If someone needs them global (thats the usual case for mocha) he can create a global libdef that imports the methods he's using.
Woohoo! Thanks so much for this!
@marudor: IIUC, mocha actually defines global functions though, right?
@jeffmo yep, it does define globals.
Doe we isolate the libdefs enough to just declare the stuff global?
Should be ok. If the declaration file is installed, the expectation is that it's declared globals are present
@jeffmo @marudor thanks for your feedback. So the things to do with it are:
1 - Promise should be Promise<mixed>.
2 - change done : Function to done : () => void.
3 - change declare and it to be variables rather than classes.
make sense?
@vaukalak looks good!
|
gharchive/pull-request
| 2016-04-30T09:40:32 |
2025-04-01T04:34:16.544867
|
{
"authors": [
"jeffmo",
"marudor",
"vaukalak"
],
"repo": "flowtype/flow-typed",
"url": "https://github.com/flowtype/flow-typed/pull/75",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
}
|
1075360998
|
Implement "memory" collector
Prometheus' Windows Exporter
https://github.com/prometheus-community/windows_exporter/blob/master/collector/memory.go
https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.memory.md
Implemented in 43ded47ff1b21497a32597316b20ddaf689e5bee.
This emits 32 metrics related to Windows memory usage.
I can confirm it works on Windows Server 2022.
|
gharchive/issue
| 2021-12-09T09:41:44 |
2025-04-01T04:34:16.557200
|
{
"authors": [
"fujimotos"
],
"repo": "fluent-plugins-nursery/fluent-plugin-windows-exporter",
"url": "https://github.com/fluent-plugins-nursery/fluent-plugin-windows-exporter/issues/5",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
174427955
|
podfile
pod instructions on main landing page no long works....
I pod search adapter found the new name --> "AdMobMediationAdapterFlurry"
-> AdMobMediationAdapterFlurry (7.6.3)
Flurry adapter for Google Ads SDK
pod 'AdMobMediationAdapterFlurry', '~> 7.6.3'
Homepage: https://developer.yahoo.com/flurry
Source: https://github.com/flurry/flurry-adapter-admob-ios.git
Versions: 7.6.3 [master repo]
FYI
Thanks, @dklt. The docs will be updated.
|
gharchive/issue
| 2016-09-01T03:22:38 |
2025-04-01T04:34:16.625878
|
{
"authors": [
"dklt",
"ugonna"
],
"repo": "flurry/flurry-adapter-admob-ios",
"url": "https://github.com/flurry/flurry-adapter-admob-ios/issues/4",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
}
|
1372380536
|
Add vulkan renderer
Add vulkan renderer based on the Ecore window.
List which issues are fixed by this PR. You must list at least one issue.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
writing and running engine tests.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I signed the CLA.
[ ] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel on Discord.
I tried to use this, but it didn't work. And I got the following log:
E/ConsoleMessage( 3025): FlutterApplication.cs: Run(116) > Unhandled exception: System.DllNotFoundException: Unable to load shared library 'flutter_tizen.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libflutter_tizen.so: cannot open shared object file: No such file or directory
E/ConsoleMessage( 3025): at Tizen.Flutter.Embedding.Interop.FlutterDesktopEngineCreate(FlutterDesktopEngineProperties& engine_properties)
E/ConsoleMessage( 3025): at Tizen.Flutter.Embedding.FlutterEngine..ctor(String assetsPath, String icuDataPath, String aotLibraryPath, String dartEntrypoint, List`1 dartEntrypointArgs) in /home/boram/Work/f-project/flutter-tizen/embedding/csharp/Tizen.Flutter.Embedding/FlutterEngine.cs:line 54
E/ConsoleMessage( 3025): at Tizen.Flutter.Embedding.FlutterEngine..ctor(String dartEntrypoint, List`1 dartEntrypointArgs) in /home/boram/Work/f-project/flutter-tizen/embedding/csharp/Tizen.Flutter.Embedding/FlutterEngine.cs:line 29
E/ConsoleMessage( 3025): at Tizen.Flutter.Embedding.FlutterApplication.OnCreate() in /home/boram/Work/f-project/flutter-tizen/embedding/csharp/Tizen.Flutter.Embedding/FlutterApplication.cs:line 126
E/ConsoleMessage( 3025): at Runner.App.OnCreate() in /home/boram/Work/f-project/sample/gallery/tizen/App.cs:line 10
E/ConsoleMessage( 3025): at Tizen.Applications.CoreBackend.UICoreBackend.OnCreateNative(IntPtr data)
E/ConsoleMessage( 3025): at Tizen.Applications.CoreBackend.UICoreBackend.Run(String[] args)
E/ConsoleMessage( 3025): at Tizen.Applications.CoreApplication.Run(String[] args)
E/ConsoleMessage( 3025): at Tizen.Applications.CoreUIApplication.Run(String[] args)
E/ConsoleMessage( 3025): at Tizen.Flutter.Embedding.FlutterApplication.Run(String[] args) in /home/boram/Work/f-project/flutter-tizen/embedding/csharp/Tizen.Flutter.Embedding/FlutterApplication.cs:line 119
E/ConsoleMessage( 3025): at Runner.App.Main(String[] args) in /home/boram/Work/f-project/sample/gallery/tizen/App.cs:line
Hello
Which device did you use?
Please install rpms below:
Driver
TV(PONTUSM, NIKEM2) ---> soc-gpu-ddk-nike-tv-23.0-0.armv7l.rpm
RPI4 --->mesa-22.1.7-0.armv7l.rpm
vulkan-headers-1.3.208-0.armv7l.rpm
vulkan-loader-1.3.208-0.armv7l.rpm
vulkan-wsi-layer-1.0.5-0.armv7l.rpm
Thanks
I used TM1 and mobile emulator. both are Tizen 6.5. Why do I need to install more rpms manually?
I used TM1 and mobile emulator. both are Tizen 6.5. Why do I need to install more rpms manually?
I think you can't run vulkan on emluator. On emulator, GLES API is translated into GL API via yagl module, though vulkan is cross-platform, yagl still need to do something to forward vulkan API, I think this part isn't implemented yet.
I used TM1 and mobile emulator. both are Tizen 6.5. Why do I need to install more rpms manually?
Why do I need to install more rpms manually?
--->Because current Tizen images didn't include vulkan related libraries and header flies
You may reopen this in https://github.com/flutter-tizen/embedder if necessary.
Can external textures be used with the Vulkan renderer?
no, it can't, it's not fully implemented
Yeah, it's not (yet) implemented. Is it technically possible to implement the external texture support in the future?
it's possible, we have implemented prototype last year, but since Impeller could be used in the future, we have suspend this implementation, and didn't fixed bugs.
On the other way, since skia is designed for opengl, even we use vulkan backend, performance may not be enhanced, Imepller is designed for modern graphic APIs(Vulkan, metal), so I guess using impeller vulkan backend will have better performance.
|
gharchive/pull-request
| 2022-09-14T05:50:21 |
2025-04-01T04:34:16.638789
|
{
"authors": [
"bbrto21",
"swift-kim",
"xuelian-bai",
"zhouleonlei"
],
"repo": "flutter-tizen/engine",
"url": "https://github.com/flutter-tizen/engine/pull/342",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
232342202
|
Dropdown button crash
Steps to Reproduce
I ran flutter create and replaced the body of main.dart with the following code building a basic dropdown button:
import 'package:flutter/material.dart';
void main() {
runApp(new MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Flutter Demo',
theme: new ThemeData(
// This is the theme of your application.
//
// Try running your application with "flutter run". You'll see
// the application has a blue toolbar. Then, without quitting
// the app, try changing the primarySwatch below to Colors.green
// and then invoke "hot reload" (press "r" in the console where
// you ran "flutter run", or press Run > Hot Reload App in IntelliJ).
// Notice that the counter didn't reset back to zero -- the application
// is not restarted.
primarySwatch: Colors.blue,
),
home: new MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
// This widget is the home page of your application. It is stateful,
// meaning that it has a State object (defined below) that contains
// fields that affect how it looks.
// This class is the configuration for the state. It holds the
// values (in this case the title) provided by the parent (in this
// case the App widget) and used by the build method of the State.
// Fields in a Widget subclass are always marked "final".
final String title;
@override
_MyHomePageState createState() => new _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
String dropdown1Value = 'One';
@override
Widget build(BuildContext context) {
// This method is rerun every time setState is called, for instance
// as done by the _incrementCounter method above.
// The Flutter framework has been optimized to make rerunning
// build methods fast, so that you can just rebuild anything that
// needs updating rather than having to individually change
// instances of widgets.
return new Scaffold(
appBar: new AppBar(
// Here we take the value from the MyHomePage object that
// was created by the App.build method, and use it to set
// our appbar title.
title: new Text(widget.title),
),
body: new DropdownButton<String>(
value: dropdown1Value,
onChanged: (String newValue) {
setState(() {
dropdown1Value = newValue;
});
},
items: <String>['One', 'Two', 'Free', 'Four'].map((String value) {
return new DropdownMenuItem<String>(
value: value,
child: new Text(value),
);
}).toList(),
),
);
}
}
I'm seeing strange behavior from the dropdown button when trying to run this. On
the iOS Simulator, when I select any option in the dropdown button other than 'One', and then reopen the button, all text inside briefly loads, then goes blank and reloads. I don't see any console messages when this happens. When I run the same code on Mac with SkyShell and perform the same interaction, it completely crashes rather than going blank and reloading. Here, I do see an error message:
../../third_party/skia/include/core/SkRRect.h:144: fatal error: "assert(this->isValid())"
Abort trap: 6
Flutter Doctor
[✓] Flutter (on Mac OS X 10.12.4 16E195, channel alpha)
• Flutter at /Users/emshack/flutter
• Framework revision 973304d5fb (12 days ago), 2017-05-18 17:31:57 -0700
• Engine revision f99d3ef108
• Tools Dart version 1.23.0-dev.11.11
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at /Users/emshack/Library/Android/sdk
• Platform android-25, build-tools 25.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.1, Build version 8E1000a
• ios-deploy 1.9.1
• CocoaPods version 1.2.0
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Gradle version 3.2
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2016.3.4)
• Dart plugin version 163.13137
• Flutter plugin version 12.1
[✓] Connected devices
• iPhone 7 Plus • 09A7F58D-C832-4D91-B681-F67134E64361 • ios • iOS 10.3 (simulator)
I am not able to reproduce the crash or the text going blank and reloading on ToT.
Interesting... I switched my copy of flutter from alpha to master and am not seeing the bug. Still seeing it on alpha though. Can you reproduce it on alpha?
@HansMuller fixed this on master. It'll be resolved on alpha when we next roll.
|
gharchive/issue
| 2017-05-30T18:33:07 |
2025-04-01T04:34:16.726097
|
{
"authors": [
"Hixie",
"chinmaygarde",
"emshack"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/10390",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1238947868
|
[fuchsia_ctl] unit tests failed on windows platform
failed instance
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8814226430734410449/+/u/Run_package_tests/custom_package_tests/stdout
00:00 +8 -1: test\emulator_test.dart: Emulator prepare environment runs as expected [E]
Expected: true
Actual: <false>
package:test_api expect
test\emulator_test.dart 56:7 main.<fn>.<fn>
00:00 +9 -1: test\image_paver_test.dart: Tar fails
Fuchsia_ctl is currently skipped, we should figure out whether this can be fix or not
This package was removed.
|
gharchive/issue
| 2022-05-17T17:24:52 |
2025-04-01T04:34:16.728226
|
{
"authors": [
"chunhtai",
"stuartmorgan"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/103991",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1261393010
|
Examples on implment immersive translucent window
This is what electron able to do:
how to do it in flutter?
BTW, electron even support material3 theme color.
Hi @jinfagang
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you
@exaby73 Please, look carefully, I actually request a new feature!!!!!!
@exaby73 Since it your answer make non sense to me, also, it doesnt provide useful information about my request above, please reopen it!
how to do it in flutter?
@jinfagang This seems like a question you were asking. But if this is a feature request, please look at #71735 (Windows), #59969 (MacOS) and #66751 (Linux). Since there are already issues filed for this, I'm marking this issue as duplicate.
|
gharchive/issue
| 2022-06-06T06:06:23 |
2025-04-01T04:34:16.732568
|
{
"authors": [
"exaby73",
"jinfagang"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/105426",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1280378619
|
Flutter android apps(APK) on Chromebook slow and weird animation on scrolling and long press on button.
Details
Create a flutter android APK with buttons and scroll view in it and run in Chromebook, While scrolling and long press on elevated buttons a black animation is displayed all over the screen.
https://gist.github.com/ajayprasath17/5fa9c8ef6c34e2553a04cd9820e04a6d
Google Chrome: Version 102.0.5005.75 (Official Build) (64-bit)
Platform: 14695.85.0 (Official Build) stable-channel octopus
Channel: stable-channel
Firmware Version: Google_Bloog.11297.275.0
ARC enabled: true
ARC: 8620534
Enterprise enrolled: false
Developer mode: true
Target Platform: Chrome Book
Target OS version/browser: ChromeOS
Devices: HP chromebook
Logs
Logs
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.4 21F79 darwin-x64, locale en-GB)
• Flutter version 2.5.3 at /Users/manojkumar.b/Downloads/flutter_2.5.3/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (8 months ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/manojkumar.b/Library/Android/sdk
• Platform android-33, build-tools 31.0.0
• ANDROID_HOME = /Users/manojkumar.b/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.4.1, Build version 13F100
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] VS Code (version 1.67.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.42.0
[✓] Connected device (2 available)
• iPhone SE (3rd generation) (mobile) • 4F4F7A77-B360-4440-AB47-C7269F8CE1B5 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 102.0.5005.115
• No issues found!
Hi @ajayprasath17
I can not verify this issue due to I don't have any Chromebook device. But I was trying to run your sample code, it seems different than your demo screenshot:
Demo from my side
Please confirm that you are providing the correct sample code.
And as far as I can see, you are running the app with old Flutter SDK 2.5.3. The latest stable is 3.0.3 and master is 3.1.0-0.0.pre.1354. So, please update them and retry to see if the issue happens again.
Hi @ajayprasath17 I can not verify this issue due to I don't have any Chromebook device. But I was trying to run your sample code, it seems different than your demo screenshot:
Demo from my side
Please confirm that you are providing the correct sample code.
And as far as I can see, you are running the app with old Flutter SDK 2.5.3. The latest stable is 3.0.3 and master is 3.1.0-0.0.pre.1354. So, please update them and retry to see if the issue happens again.
I tried running the sample app in different flutter version even in 3.0.2 the issues still occurs.
attached the video below. of the sample code in chromeos
https://user-images.githubusercontent.com/53042957/175251543-3caa5ae7-23c6-4ba7-98da-1807f94c234f.mp4
Hi,
PS C:\Users\ajayp\Downloads\Test App\test_app> flutter -v doctor
[√] Flutter (Channel stable, 3.0.3, on Microsoft Windows [Version 10.0.22000.739], locale en-IN)
• Flutter version 3.0.3 at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 676cefaaff (14 hours ago), 2022-06-22 11:34:49 -0700
• Engine revision ffe7b86a1e
• Dart version 2.17.5
• DevTools version 2.12.2
I tried with version 3.0.3 the issues still occurs with my sample code., also tried running different flutter apps all have some issues in chrome OS.
https://user-images.githubusercontent.com/53042957/175255263-e75321ad-5855-4c69-aa5d-99a6cd718002.mp4
@ajayprasath17
As far as I can see from your demo video, the scroll is normal but the button seems weird, it flickers. What action did you take on that button? Long tap or single tap?
@ajayprasath17 As far as I can see from your demo video, the scroll is normal but the button seems weird, it flickers. What action did you take on that button? Long tap or single tap?
Long tap.
with some extra widgets in the screen I am getting so many animation issues.
Thank you. Labeling this issue for further investigation.
|
gharchive/issue
| 2022-06-22T15:33:50 |
2025-04-01T04:34:16.748188
|
{
"authors": [
"ajayprasath17",
"huycozy"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/106417",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1306995902
|
[webview_flutter] [iOS] flickering inside pageView in dark mode
Steps to Reproduce
Apply dark mode to simulator/device
Execute flutter run on the code sample
Then change bottom navigation index.
Before next webView page, It will occur flickering background for a few frames.
Record:
master 3.1.0-0.0.pre.1695
Expected results:
Change pageView without flickering
example repo
Code sample
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
late final Future _navigateToHome;
final _navigatorKey = GlobalKey<NavigatorState>();
NavigatorState get _navigator => _navigatorKey.currentState!;
@override
void initState() {
super.initState();
_navigateToHome = Future.delayed(
const Duration(seconds: 2),
() => _navigator.pushNamedAndRemoveUntil(
MyHomePage.routeName,
(route) => false,
),
);
}
@override
Widget build(BuildContext context) {
return FutureBuilder(
future: _navigateToHome,
builder: (context, snapshot) {
return MaterialApp(
initialRoute: SplashPage.routeName,
navigatorKey: _navigatorKey,
onGenerateRoute: (settings) {
switch (settings.name) {
case SplashPage.routeName:
return MaterialPageRoute(
builder: (_) => const SplashPage(),
settings: settings,
);
default:
return MaterialPageRoute(
builder: (_) => const MyHomePage(),
settings: settings,
);
}
},
);
},
);
}
}
class SplashPage extends StatelessWidget {
static const String routeName = '/splash';
const SplashPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const Scaffold(
backgroundColor: Colors.redAccent,
);
}
}
class MyHomePage extends StatefulWidget {
static const String routeName = '/home';
const MyHomePage({Key? key}) : super(key: key);
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
int currentIndex = 0;
PageController pageController = PageController();
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(
body: PageView(
controller: pageController,
physics: const NeverScrollableScrollPhysics(),
children: const [
WebView(initialUrl: 'https://flutter.dev/'),
WebView(initialUrl: 'https://flutter.dev/'),
WebView(initialUrl: 'https://flutter.dev/'),
],
),
bottomNavigationBar: BottomNavigationBar(
onTap: (index) {
setState(() {
currentIndex = index;
});
pageController.jumpToPage(index);
},
currentIndex: currentIndex,
selectedItemColor: Colors.amber,
items: const [
BottomNavigationBarItem(
icon: Icon(Icons.home),
label: '1',
backgroundColor: Colors.blueAccent,
),
BottomNavigationBarItem(
icon: Icon(Icons.send),
label: '2',
),
BottomNavigationBarItem(
icon: Icon(Icons.notifications),
label: '3',
),
],
),
);
}
}
flutter doctor
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1695, on macOS 12.4 21F79 darwin-x64, locale ko-KR)
• Flutter version 3.1.0-0.0.pre.1695 on channel master at /Users/heewook/dev/environment/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 4f9528293f (26시간 전), 2022-07-15 17:54:05 -0700
• Engine revision 496c11601c
• Dart version 2.19.0 (build 2.19.0-3.0.dev)
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/heewook/Library/Android/sdk
• Platform android-31, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 13F100
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 61.2.4
• Dart plugin version 212.4746.57
[✓] VS Code (version 1.63.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.29.0
[✓] Connected device (3 available)
• iPhone 11 (mobile) • 0246DD11-2199-48D4-929C-170DD6475DBD • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)
• macOS (desktop) • macos • darwin-x64 • macOS 12.4 21F79 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 103.0.5060.114
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Hi @maheshmnj.
No, it's not.
Android #105681 issue has been fixed in the master 3.1.0-0.0.pre.1502 version,
but not this iOS dark mode issue.
So I was asked to file this as a new issue in #105681.
Thanks for the info @Heewookji, I am able to reproduce the issue on the latest stable and the master channel. The webview flickers on changing the tab
https://user-images.githubusercontent.com/31410839/179685742-7d77b87a-e9f6-4a27-b5a4-ba3dc3c8c781.mov
flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-IN)
• Flutter version 3.0.5 at /Users/mahesh/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f1875d570e (5 days ago), 2022-07-13 11:24:16 -0700
• Engine revision e85ea0e79c
• Dart version 2.17.6
• DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
• Android SDK at /Users/mahesh/Library/Android/sdk
• Platform android-32, build-tools 33.0.0-rc4
• ANDROID_HOME = /Users/mahesh/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 61.2.4
• Dart plugin version 212.5080.8
[✓] VS Code (version 1.67.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.44.0
[✓] Connected device (3 available)
• sdk gphone arm64 (mobile) • emulator-5554 • android-arm64 • Android 11 (API 30) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.4 21F79 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 103.0.5060.114
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1594, on macOS 12.4 21F79 darwin-arm, locale en-IN)
• Flutter version 3.1.0-0.0.pre.1594 on channel master at /Users/mahesh/Documents/flutter_master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 082ad11422 (2 days ago), 2022-07-11 11:40:07 +0200
• Engine revision 2b5d5c3b2d
• Dart version 2.18.0 (build 2.18.0-271.0.dev)
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
• Android SDK at /Users/mahesh/Library/Android/sdk
• Platform android-32, build-tools 33.0.0-rc4
• ANDROID_HOME = /Users/mahesh/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 13C100
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 61.2.4
• Dart plugin version 212.5080.8
[✓] VS Code (version 1.67.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.44.0
[✓] Connected device (3 available)
• Redmi K20 Pro (mobile) • 192.168.1.2:5555 • android-arm64 • Android 11 (API 30)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.4 21F79 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 103.0.5060.114
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
|
gharchive/issue
| 2022-07-17T05:45:27 |
2025-04-01T04:34:16.758208
|
{
"authors": [
"Heewookji",
"maheshmnj"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/107792",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1374731254
|
Icons.whatsapp removed
Any reason the WhatsApp icon is removed from icons.dart?
Commit #111092
@bobosette I think this comment can explain this change.
/cc @guidezpl for clarification
I won't speculate as to why, but it's no longer available https://fonts.google.com/icons?icon.query=whatsapp&icon.set=Material+Symbols, https://fonts.google.com/icons?icon.query=whatsapp&icon.set=Material+Icons.
|
gharchive/issue
| 2022-09-15T15:41:54 |
2025-04-01T04:34:16.761158
|
{
"authors": [
"Abhijit-Revamp",
"guidezpl",
"huycozy"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/111667",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1523790702
|
right click on the text field after focusNode.requestFocus()
hi
I found a problem in Flutter Windows
when I focusNode.requestFocus() and then right click on the text field
it gives the following error and does not display the selection menu.
logs
The following assertion was thrown while handling a gesture:
'package:flutter/src/widgets/editable_text.dart': Failed assertion: line 3122 pos 12: '_selectionOverlay != null': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.md
When the exception was thrown, this was the stack:
#2 EditableTextState.toggleToolbar (package:flutter/src/widgets/editable_text.dart:3122:12)
#3 TextSelectionGestureDetectorBuilder.onSecondaryTap (package:flutter/src/widgets/text_selection.dart:1715:22)
#4 TapGestureRecognizer.handleTapUp.<anonymous closure> (package:flutter/src/gestures/tap.dart:635:71)
#5 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:253:24)
#6 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:635:11)
#7 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:306:5)
#8 BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:239:7)
#9 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:615:9)
#10 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
#11 PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
#12 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:617:13)
#13 PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
#14 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
#15 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:460:19)
#16 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:440:22)
#17 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:337:11)
#18 GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:395:7)
#19 GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:357:5)
#20 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:314:7)
#21 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:295:7)
#22 _invoke1 (dart:ui/hooks.dart:167:13)
#23 PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:341:7)
#24 _dispatchPointerDataPacket (dart:ui/hooks.dart:94:31)
(elided 2 frames from class _AssertionError)
Handler: "onSecondaryTap"
Recognizer: TapGestureRecognizer#807f0
debugOwner: _TextSelectionGestureDetectorState#c1963
state: possible
won arena
finalPosition: Offset(62.7, 630.0)
finalLocalPosition: Offset(18.7, 22.7)
button: 2
sent tap down
I have same issue in TextFields
Hi @androidwoman,
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample so that we can investigate this issue?
Thank you
flutter doctor -v:
$ flutter doctor -v
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.19044.2364], locale en-US)
• Flutter version 3.3.10 on channel stable at C:\Users\security\Desktop\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 135454af32 (4 weeks ago), 2022-12-15 07:36:55 -0800
• Engine revision 3316dd8728
• Dart version 2.18.6
• DevTools version 2.15.0
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at C:\Users\security\AppData\Local\Android\Sdk
• Platform android-33, build-tools 33.0.0
• ANDROID_HOME = C:\Users\security\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio2\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.21)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.33027.164
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio2
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2020.3.2
• Flutter plugin version 65.2.1
• Dart plugin version 203.8452
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.2364]
• Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.125
• Edge (web) • edge • web-javascript • Microsoft Edge 107.0.1418.62
[!] HTTP Host Availability
X HTTP host "https://cocoapods.org/" is not reachable. Reason: An error occurred while checking the HTTP host: Failed host lookup:
'cocoapods.org'
X HTTP host "https://maven.google.com/" is not reachable. Reason: An error occurred while checking the HTTP host: Failed host
lookup: 'maven.google.com'
X HTTP host "https://pub.dev/" is not reachable. Reason: An error occurred while checking the HTTP host: Failed host lookup:
'pub.dev'
X HTTP host "https://cloud.google.com/" is not reachable. Reason: An error occurred while checking the HTTP host: Failed host
lookup: 'cloud.google.com'
! Doctor found issues in 1 category.
code:
void main() {
runApp(
app()
);
}
class app extends StatefulWidget {
const app({Key? key}) : super(key: key);
@override
_appState createState() => _appState();
}
class _appState extends State<app> {
final focus=FocusNode();
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(body: Column(
children: [
TextFormField(focusNode: focus,),
TextButton(onPressed: (){FocusScope.of(context).requestFocus(focus);}, child: Text("focus"))
],
),),
);
}
}
When I click on the focus button and then right click on the text field, it gives the following error
The following assertion was thrown while handling a gesture:
'package:flutter/src/widgets/editable_text.dart': Failed assertion: line 3122 pos 12: '_selectionOverlay != null': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.md
When the exception was thrown, this was the stack:
#2 EditableTextState.toggleToolbar (package:flutter/src/widgets/editable_text.dart:3122:12)
#3 TextSelectionGestureDetectorBuilder.onSecondaryTap (package:flutter/src/widgets/text_selection.dart:1715:22)
#4 TapGestureRecognizer.handleTapUp.<anonymous closure> (package:flutter/src/gestures/tap.dart:635:71)
#5 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:253:24)
#6 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:635:11)
#7 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:306:5)
#8 BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:239:7)
#9 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:615:9)
#10 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
#11 PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
#12 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:617:13)
#13 PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
#14 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
#15 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:460:19)
#16 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:440:22)
#17 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:337:11)
#18 GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:395:7)
#19 GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:357:5)
#20 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:314:7)
#21 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:295:7)
#22 _invoke1 (dart:ui/hooks.dart:167:13)
#23 PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:341:7)
#24 _dispatchPointerDataPacket (dart:ui/hooks.dart:94:31)
(elided 2 frames from class _AssertionError)
Handler: "onSecondaryTap"
Recognizer: TapGestureRecognizer#807f0
debugOwner: _TextSelectionGestureDetectorState#c1963
state: possible
won arena
finalPosition: Offset(62.7, 630.0)
finalLocalPosition: Offset(18.7, 22.7)
button: 2
sent tap down
Hi @androidwoman, an issue with a similar exception to yours was previously reported in https://github.com/flutter/flutter/issues/111660 and has since been fixed. The fix is in the master channel now, can you switch to the master channel to see whether or not you still experience this issue?
If you do, please provide the updated output of flutter doctor -v.
Thank you
thank @danagbemava-nc
Yes, the problem has been solved in master channel , but many of the packages that I use in Stable Channel have errors in master channel.
Is there any other solution to solve this problem?
When will master channel and stable channel merge together?
flutter doctor -v in master channel
[√] Flutter (Channel master, 3.7.0-17.0.pre.3, on Microsoft Windows [Version 10.0.19044.2486], locale en-US)
• Flutter version 3.7.0-17.0.pre.3 on channel master at D:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 583a8122bc (22 hours ago), 2023-01-10 01:18:03 -0800
• Engine revision 716bb9172c
• Dart version 3.0.0 (build 3.0.0-103.0.dev)
• DevTools version 2.20.0
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at C:\Users\fchit\AppData\Local\Android\sdk
• Platform android-33, build-tools 32.1.0-rc1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.11.22)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
• Visual Studio Professional 2019 version 16.11.33130.400
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
[√] IntelliJ IDEA Community Edition (version 2021.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.3.2
• Flutter plugin version 63.2.4
• Dart plugin version 213.5744.122
[√] VS Code (version 1.73.1)
• VS Code at C:\Users\fchit\AppData\Local\Programs\Microsoft VS Code
• Flutter extension can be installed from:
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.2486]
• Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.125
• Edge (web) • edge • web-javascript • Microsoft Edge 108.0.1462.76
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Hi @androidwoman, you can check on the beta channel to see if this issue is fixed there as well. If it is, then the fix should roll out in the next stable version.
Per our triage policy, I'll be closing this issue since it has been fixed on the master channel.
Thank you
|
gharchive/issue
| 2023-01-07T12:41:07 |
2025-04-01T04:34:16.770835
|
{
"authors": [
"androidwoman",
"bitbeter",
"danagbemava-nc"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/118138",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1677034042
|
Mac_arm64 custom_package_tests and ios_platform_tests fail when using xcode 14c18
Hit the error when updating xcode to 14c18: https://github.com/flutter/packages/pull/3774
Example: https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64 custom_package_tests master/2336/overview
Xcode build done. 20.9s
Built /Volumes/Work/s/w/ir/x/w/packages/packages/pigeon/platform_tests/alternate_language_test_plugin/example/build/ios/iphonesimulator/Runner.app.
Command line invocation:
/Volumes/Work/s/w/ir/cache/osx_sdk/xcode_14c18/XCode.app/Contents/Developer/usr/bin/xcodebuild -workspace Runner.xcworkspace -scheme Runner -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 13" test
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
SDKROOT = iphonesimulator16.2
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
2023-04-20 08:52:30.549 xcodebuild[60648:570510] Writing error result bundle to /var/folders/pt/pr94k3sn5353647rpymtk_640000gp/T/ResultBundle_2023-20-04_08-52-0030.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ platform:iOS Simulator, OS:latest, name:iPhone 13 }
The requested device could not be found because no available devices matched the request.
Available destinations for the "Runner" scheme:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-000E116C21D3001E }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:048A91D4-5B29-4919-AEA0-13673736A233, OS:16.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:AE6109C6-B7FE-4D03-AB47-1FC1796EC5ED, OS:16.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:056A30DF-72C2-4264-BFAD-36C5B66619B2, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:CAD11B46-6B4D-41E4-BFB7-3C59B7334D4A, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:F07C7275-CC87-4425-9B80-34037F449E3A, OS:16.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:B8E634F6-76C6-4797-868D-01338008BB97, OS:16.2, name:iPhone 14 }
{ platform:iOS Simulator, id:54A58026-A4EE-4FCC-A945-060F8AC4A329, OS:16.2, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:E06CBF00-945E-45CC-8EA2-81BE7556D2DD, OS:16.2, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:B97539C7-D7A4-4881-8CAF-AE2337366095, OS:16.2, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:F5BA08D5-5D35-4F80-99A6-A0016D4CE87D, OS:16.2, name:iPhone SE (3rd generation) }
[90m
[packages/pigeon completed in 1m 13s][0m
/cc @jmagman @stuartmorgan
Looks like Xcode 14.3 dropped the iPhone 13 simulator.
https://github.com/flutter/packages/blob/746750ecef7852548b038a5ed1a319b7d1d65173/packages/pigeon/tool/shared/test_suites.dart#L326
Does it pass when this is updated to:
- destination: 'platform=iOS Simulator,name=iPhone 13',
+ destination: 'platform=iOS Simulator,name=iPhone 14',
cc @vashworth @cyanglaz
Failure happened on ios_platform_tests too, and updated to use iPhone 14 as well: https://github.com/flutter/packages/pull/3774/commits/526934c9575414e9e297004b4825ec882eb99ac2
The custom_package_tests passed, but the platform_tests still fails complaining:
No iOS devices available
Example: https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64 ios_platform_tests_shard_1 master/2443/overview
You need to change the simulator that the platform tests create if you change what platform_tests tries to use: https://github.com/flutter/packages/blob/main/.ci/scripts/create_simulator.sh
The actual issue is that the simulator couldn't be created, but the step didn't fail. Filed https://github.com/flutter/flutter/issues/125243 to fix that.
In the meantime, this should also be updated to iPhone 14 and iOS 16.2
https://github.com/flutter/packages/blob/7e3f5da42e81f6d73789e112fa881acb7652f863/.ci/scripts/create_simulator.sh#L8-L9
readonly DEVICE=com.apple.CoreSimulator.SimDeviceType.iPhone-14
readonly OS=com.apple.CoreSimulator.SimRuntime.iOS-16-2
with https://github.com/flutter/packages/pull/3774/commits/696650f6604930db27ffac0e8ad99b2e8787f860, most shards passed, but hit some test failure: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8783266524818084769/+/u/Run_package_tests/native_test/stdout
Test Case '-[PhotoAssetUtilTests testSaveImageWithPickerInfo_ShouldSaveWithTheCorrectExtentionAndMetaData]' started.
/Volumes/Work/s/w/ir/x/w/packages/packages/image_picker/image_picker_ios/example/ios/RunnerTests/PhotoAssetUtilTests.m:90: error: -[PhotoAssetUtilTests testSaveImageWithPickerInfo_ShouldSaveWithTheCorrectExtentionAndMetaData] : ((meta[(__bridge NSString *)kCGImagePropertyExifDictionary] [(__bridge NSString *)kCGImagePropertyExifMakerNote]) equal to (@"aNote")) failed: ("(null)") is not equal to ("aNote")
Test Case '-[PhotoAssetUtilTests testSaveImageWithPickerInfo_ShouldSaveWithTheCorrectExtentionAndMetaData]' failed (0.055 seconds).
Test Suite 'PhotoAssetUtilTests' failed at 2023-04-20 13:25:31.941.
Also hit a flake on Mac_arm64 ios_platform_tests_shard_4 master: https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64 ios_platform_tests_shard_4 master/2457/overview (a rerun passed)
t = 33.46s Requesting snapshot of accessibility hierarchy for app with pid 17331
t = 33.53s Requesting snapshot of accessibility hierarchy for app with pid 17331
/Volumes/Work/s/w/ir/x/w/packages/packages/quick_actions/quick_actions_ios/example/ios/RunnerUITests/RunnerUITests.swift:38: error: -[RunnerUITests.RunnerUITests testQuickActionWithFreshStart] : failed - Failed due to not able to find the actionTwo button from springboard with 30.0 seconds. Springboard debug description: Attributes: Application, 0x147419da0, pid: 17331, label: ' '
Element subtree:
→Application, 0x147419da0, pid: 17331, label: ' '
Test Case '-[PhotoAssetUtilTests testSaveImageWithPickerInfo_ShouldSaveWithTheCorrectExtentionAndMetaData]' failed (0.055 seconds).
I reproduced this one, filed https://github.com/flutter/flutter/issues/125257.
/Volumes/Work/s/w/ir/x/w/packages/packages/quick_actions/quick_actions_ios/example/ios/RunnerUITests/RunnerUITests.swift:38: error: -[RunnerUITests.RunnerUITests testQuickActionWithFreshStart] : failed - Failed due to not able to find the actionTwo button from springboard with 30.0 seconds. Springboard debug description: Attributes: Application, 0x147419da0, pid: 17331, label: ' '
I wasn't able to reproduce this flake locally.
Another quick_actions flake: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8783180897936485009/+/u/Run_package_tests/native_test/stdout
@cyanglaz is going to investigate the quick_actions flake (thank you!)
https://github.com/flutter/packages/pull/3774 is merged, closing this issue.
|
gharchive/issue
| 2023-04-20T16:17:05 |
2025-04-01T04:34:16.784587
|
{
"authors": [
"cyanglaz",
"jmagman",
"keyonghan",
"stuartmorgan"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/125217",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1755193033
|
String: Borders and stroke (Foreground) not working
Is there an existing issue for this?
[X] I have searched the existing issues
[X] I have read the guide to filing a bug
Steps to reproduce
Hi everyone,
I have troubles adding stroke (border) to a String.
Starting from the 'flutter create' template, I simply copied and pasted the documentation example, but it is not working.
Expected results
I was expecting something like:
Actual results
But instead, the background (blue) text is exactly the same size as the frontend text:
Code sample
Code sample
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
int _counter = 0;
void _incrementCounter() {
setState(() {
_counter++;
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(widget.title),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
const Text(
'You have pushed the button this many times:',
),
Text(
'$_counter',
style: Theme.of(context).textTheme.headlineMedium,
),
Stack(
children: <Widget>[
// Stroked text as border.
Text(
'Greetings, planet!',
style: TextStyle(
fontSize: 40,
foreground: Paint()
..style = PaintingStyle.stroke
..strokeWidth = 6
..color = Colors.blue,
),
),
// Solid text as fill.
const Text(
'Greetings, planet!',
style: TextStyle(
fontSize: 40,
color: Colors.black,
),
),
],
),
],
),
),
floatingActionButton: FloatingActionButton(
onPressed: _incrementCounter,
tooltip: 'Increment',
child: const Icon(Icons.add),
), // This trailing comma makes auto-formatting nicer for build methods.
);
}
}
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.4, on macOS 13.4 22F66 darwin-arm64, locale en-FR)
• Flutter version 3.10.4 on channel stable at /Users/******/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 682aa387cf (8 days ago), 2023-06-05 18:04:56 -0500
• Engine revision 2a3401c9bb
• Dart version 3.0.3
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/clementpalfroy/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] VS Code (version 1.79.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.66.0
[✓] Connected device (3 available)
• iPhone de Clément (mobile) • 00008030-000259AA0E01802E • ios • iOS 16.5 20F66
• macOS (desktop) • macos • darwin-arm64 • macOS 13.4 22F66 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 114.0.5735.106
[✓] Network resources
• All expected network resources are available.
• No issues found!
Hi @ClemPalf
Quite oddly I find it working as expected on my side. What platform are you seeing this issue?
I have the same problem, the stroke width is working in Android but not in IOS.
Hi @huycozy,
Just like @htunlin-kitesense, I have this problem on IOS only.
It works fine on Android.
Thank you for the update! This is a known issue being tracked at https://github.com/flutter/flutter/issues/126010.
Closing this issue as a duplicate, so please follow up on it for further updates.
|
gharchive/issue
| 2023-06-13T15:45:58 |
2025-04-01T04:34:16.794068
|
{
"authors": [
"ClemPalf",
"htunlin-kitesense",
"huycozy"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/128799",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1881467778
|
Multiline TextField text selection randomly changes on right click Web
Is there an existing issue for this?
[X] I have searched the existing issues
[X] I have read the guide to filing a bug
Steps to reproduce
Create a multiline TextField
Enter some text that goes beyond it's view port and makes it scrollable
Do some random scrolling and text selection and right click on web to see the issue
Expected results
When right clicking on a part of text that is not selected or cursor is in another position, the cursor should move to that position
When right clicking on a selected text, selection should stay unchanged
Actual results
Cursor moves to another position
Selection changes
Code sample
Code sample
import 'package:flutter/material.dart';
void main() {
runApp(const App());
}
class App extends StatelessWidget {
const App({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) => MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData.light(),
home: HomePage(),
);
}
class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key);
@override
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
final _focusNode = FocusNode();
final _controller = TextEditingController(
text:
'Line1\nLine2\nLine3\nLine4\nLine5\nLine6\nLine7\nLine8\nLine9\nLine10');
@override
Widget build(BuildContext context) {
return Scaffold(
body: SizedBox(
height: 100,
child: TextField(
controller: _controller,
focusNode: _focusNode,
maxLines: null,
expands: true,
),
),
);
}
}
Screenshots or Video
Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/8766492/7facc30a-fc44-4e13-bbb9-b012dde0454d
Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.5.1 22G90 darwin-arm64, locale
en-US)
• Flutter version 3.13.2 on channel stable at /Users/user/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ff5b5b5fa6 (12 days ago), 2023-08-24 08:12:28 -0500
• Engine revision b20183e040
• Dart version 3.1.0
• DevTools version 2.25.0
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/user/SDK
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/user/SDK
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.81.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.72.0
[!] Proxy Configuration
• HTTP_PROXY is set
! NO_PROXY is not set
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.5.1 22G90
darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 111.0.5563.64
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Hi @Amir-P. Thanks for filing this. I am able to reproduce this issue on the latest master and stable channels with the Code sample provided. Selecting a text and right-clicking on the text or outside the text moves the selection to another text.
https://github.com/flutter/flutter/assets/53122008/a3a1c9f1-71f8-47c0-b273-654404be3189
stable, master flutter doctor -v
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.0 22A380 darwin-arm64, locale
en-NG)
• Flutter version 3.13.2 on channel stable at
/Users/damilolaalimi/sdks/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ff5b5b5fa6 (12 days ago), 2023-08-24 08:12:28 -0500
• Engine revision b20183e040
• Dart version 3.1.0
• DevTools version 2.25.0
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/damilolaalimi/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.81.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.50.0
[✓] Connected device (4 available)
• iPhone 13 Pro (mobile) • 14B6FEE4-2F1C-401F-8804-A5115D7A6DA2 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• iPhone 14 (mobile) • EDD62579-BA84-4339-BDA7-E870040C507A • ios
• com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos •
darwin-arm64 • macOS 13.0 22A380 darwin-arm64
• Chrome (web) • chrome •
web-javascript • Google Chrome 116.0.5845.140
[✓] Network resources
• All expected network resources are available.
• No issues found!
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.0 22A380 darwin-arm64, locale
en-NG)
• Flutter version 3.13.2 on channel stable at
/Users/damilolaalimi/sdks/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ff5b5b5fa6 (12 days ago), 2023-08-24 08:12:28 -0500
• Engine revision b20183e040
• Dart version 3.1.0
• DevTools version 2.25.0
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/damilolaalimi/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.81.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.50.0
[✓] Connected device (4 available)
• iPhone 13 Pro (mobile) • 14B6FEE4-2F1C-401F-8804-A5115D7A6DA2 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• iPhone 14 (mobile) • EDD62579-BA84-4339-BDA7-E870040C507A • ios
• com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos •
darwin-arm64 • macOS 13.0 22A380 darwin-arm64
• Chrome (web) • chrome •
web-javascript • Google Chrome 116.0.5845.140
[✓] Network resources
• All expected network resources are available.
• No issues found!
This is happening because right clicks are handled by the browser (not framework) on web in order to support native context menus. When the user right clicks, the underlying input receives it, and that state is synced with the framework.
The problem here is that the scroll state between the underlying input and the framework is not synced, so we'll get into a weird state when you scroll down to the further lines. You end up right clicking "Line 1" on the underlying input even though the framework has appeared to scroll that out of view. The solution is to sync the scroll states between the browser and framework.
@mdebbar and I had a discussion about this as something that would need to be fixed for https://github.com/flutter/flutter/issues/120613 - so I'll mark this as a P1.
This is happening because right clicks are handled by the browser (not framework) on web in order to support native context menus. When the user right clicks, the underlying input receives it, and that state is synced with the framework.
The problem here is that the scroll state between the underlying input and the framework is not synced, so we'll get into a weird state when you scroll down to the further lines. You end up right clicking "Line 3" on the underlying input even though the framework has appeared to scroll that out of view. The solution is to sync the scroll states between the browser and framework.
@mdebbar and I had a discussion about this as something that would need to be fixed for #120613 - so I'll mark this as a P1.
Update here: this is no longer a pre-req for https://github.com/flutter/flutter/issues/120613, because we'll be delegating pointer event handling responsibilities to the browser. We had a fix for the OP test case, but it unfortunately breaks down for more complicated multiline values (see: https://github.com/flutter/flutter/issues/135159)
Any update to this?
|
gharchive/issue
| 2023-09-05T08:24:50 |
2025-04-01T04:34:16.806994
|
{
"authors": [
"Amir-P",
"NoahJ-SK",
"dam-ease",
"htoor3"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/134024",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1885459809
|
[tool_crash] HttpException
Command
flutter run -t lib/main_ios.dart
Steps to Reproduce
...
...
...
Logs
HttpException
[32m[✓][39m Flutter (Channel stable, 3.10.6, on Microsoft Windows [Version 10.0.19045.3324], locale en-ID)
[32m•[39m Flutter version 3.10.6 on channel stable at D:\flutter\flutter
[32m•[39m Upstream repository https://github.com/flutter/flutter.git
[32m•[39m Framework revision f468f3366c (8 weeks ago), 2023-07-12 15:19:05 -0700
[32m•[39m Engine revision cdbeda788a
[32m•[39m Dart version 3.0.6
[32m•[39m DevTools version 2.23.1
[32m[✓][39m Windows Version (Installed version of Windows is version 10 or higher)
[33m[!][39m Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[32m•[39m Android SDK at C:\Users\PC JK\AppData\Local\Android\Sdk
[32m•[39m Platform android-34, build-tools 34.0.0
[32m•[39m ANDROID_HOME = C:\Users\PC JK\AppData\Local\Android\Sdk
[32m•[39m Java bin231)
[31m✗[39m Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[32m[✓][39m Chrome - develop for the web
[32m•[39m Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[31m[✗][39m Visual Studio - develop for Windows
[31m✗[39m Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[32m[✓][39m Android Studio (version 2022.3)
[32m•[39m Android Studio at C:\Program Files\Android\Android Studio
[32m•[39m Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
[32m•[39m Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[32m•[39m Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
[32m[✓][39m VS Code (version 1.81.1)
[32m•[39m VS Code at C:\Users\PC JK\AppData\Local\Programs\Microsoft VS Code
[32m•[39m Flutter extension version 3.72.0
[32m[✓][39m Connected device (3 available)
[32m•[39m Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3324]
[32m•[39m Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.142
[32m•[39m Edge (web) • edge • web-javascript • Microsoft Edge 116.0.1938.69
[32m[✓][39m Network resources
[32m•[39m All expected network resources are available.
[33m![39m Doctor found issues in 2 categories.
Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: f468f3366c26a5092eb964a230ce7892fda8f2f8
Closing this as a duplicate of https://github.com/flutter/flutter/issues/79748
|
gharchive/issue
| 2023-09-07T09:15:49 |
2025-04-01T04:34:16.813103
|
{
"authors": [
"danagbemava-nc",
"mustikachairani"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/134202",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
1970139687
|
[tool_crash] FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2
Command
flutter --no-color run --machine --track-widget-creation --device-id=ce091829c8613c2a01 --start-paused --dart-define=flutter.inspector.structuredErrors=true lib/main.dart
Steps to Reproduce
...
...
...
Logs
FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2
#0 _File.throwIfError (dart:io/file_impl.dart:675:7)
#1 _File.openSync (dart:io/file_impl.dart:490:5)
#2 ForwardingFile.openSync (package:file/src/forwarding/forwarding_file.dart:74:16)
#3 ErrorHandlingFile.copySync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:312:22)
#4 _runSync (package:flutter_tools/src/base/error_handling_io.dart:590:14)
#5 ErrorHandlingFile.copySync (package:flutter_tools/src/base/error_handling_io.dart:311:5)
#6 CocoaPods.setupPodfile (package:flutter_tools/src/macos/cocoapods.dart:267:21)
<asynchronous suspension>
#7 injectPlugins (package:flutter_tools/src/flutter_plugins.dart:1171:9)
<asynchronous suspension>
#8 FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:374:5)
<asynchronous suspension>
#9 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1554:7)
<asynchronous suspension>
#10 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1336:27)
<asynchronous suspension>
#11 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#12 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#13 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:296:9)
<asynchronous suspension>
#14 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#15 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:244:5)
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.6 22G120 darwin-x64, locale uk-UA)
• Flutter version 3.10.5 on channel stable at /Users/macbook/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 796c8ef792 (5 months ago), 2023-06-13 15:51:02 -0700
• Engine revision 45f6e00911
• Dart version 3.0.5
• DevTools version 2.23.1
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /Users/macbook/Library/Android/sdk/tools/bin
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A240d
• CocoaPods version 1.13.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] Connected device (3 available)
• SM G950F (mobile) • ce091829c8613c2a01 • android-arm64 • Android 9 (API 28)
• macOS (desktop) • macos • darwin-x64 • macOS 13.6 22G120 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 118.0.5993.117
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 796c8ef79279f9c774545b3771238c3098dbefab
Plugins
connectivity_plus-5.0.1
Closing as duplicate of https://github.com/flutter/flutter/issues/96167
|
gharchive/issue
| 2023-10-31T10:28:38 |
2025-04-01T04:34:16.819624
|
{
"authors": [
"dam-ease",
"pavlod116"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/137605",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
2003691514
|
Dark theme breaks the dialog of local_auth
What package does this bug report belong to?
local_auth
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
async:
dependency: transitive
description:
name: async
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.dev"
source: hosted
version: "2.11.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
characters:
dependency: transitive
description:
name: characters
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
source: hosted
version: "1.3.0"
clock:
dependency: transitive
description:
name: clock
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
url: "https://pub.dev"
source: hosted
version: "1.1.1"
collection:
dependency: transitive
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
url: "https://pub.dev"
source: hosted
version: "1.17.2"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
url: "https://pub.dev"
source: hosted
version: "1.0.6"
fake_async:
dependency: transitive
description:
name: fake_async
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
url: "https://pub.dev"
source: hosted
version: "1.3.1"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
url: "https://pub.dev"
source: hosted
version: "2.0.3"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da
url: "https://pub.dev"
source: hosted
version: "2.0.17"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
intl:
dependency: transitive
description:
name: intl
sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d"
url: "https://pub.dev"
source: hosted
version: "0.18.1"
lints:
dependency: transitive
description:
name: lints
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
local_auth:
dependency: "direct main"
description:
name: local_auth
sha256: "7e6c63082e399b61e4af71266b012e767a5d4525dd6e9ba41e174fd42d76e115"
url: "https://pub.dev"
source: hosted
version: "2.1.7"
local_auth_android:
dependency: "direct main"
description:
name: local_auth_android
sha256: df4ccb3193525b8a60c78a5ca7bf188a47705bcf77bcc837a6b2cf6da64ae0e2
url: "https://pub.dev"
source: hosted
version: "1.0.35"
local_auth_ios:
dependency: "direct main"
description:
name: local_auth_ios
sha256: "8293faf72ef0ac4710f209edd03916c2d4c1eeab0483bdcf9b2e659c2f7d737b"
url: "https://pub.dev"
source: hosted
version: "1.1.5"
local_auth_platform_interface:
dependency: transitive
description:
name: local_auth_platform_interface
sha256: fc5bd537970a324260fda506cfb61b33ad7426f37a8ea5c461cf612161ebba54
url: "https://pub.dev"
source: hosted
version: "1.0.8"
local_auth_windows:
dependency: transitive
description:
name: local_auth_windows
sha256: "505ba3367ca781efb1c50d3132e44a2446bccc4163427bc203b9b4d8994d97ea"
url: "https://pub.dev"
source: hosted
version: "1.0.10"
matcher:
dependency: transitive
description:
name: matcher
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
url: "https://pub.dev"
source: hosted
version: "0.12.16"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
url: "https://pub.dev"
source: hosted
version: "0.5.0"
meta:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
path:
dependency: transitive
description:
name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
url: "https://pub.dev"
source: hosted
version: "1.8.3"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
sha256: f4f88d4a900933e7267e2b353594774fc0d07fb072b47eedcd5b54e1ea3269f8
url: "https://pub.dev"
source: hosted
version: "2.1.7"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
source_span:
dependency: transitive
description:
name: source_span
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.dev"
source: hosted
version: "1.10.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
url: "https://pub.dev"
source: hosted
version: "1.11.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
string_scanner:
dependency: transitive
description:
name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
url: "https://pub.dev"
source: hosted
version: "1.2.1"
test_api:
dependency: transitive
description:
name: test_api
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
vector_math:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.dev"
source: hosted
version: "2.1.4"
web:
dependency: transitive
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
url: "https://pub.dev"
source: hosted
version: "0.1.4-beta"
sdks:
dart: ">=3.1.3 <4.0.0"
flutter: ">=3.10.0"
Steps to reproduce
1- Start a new counter flutter application.
2- Change your Material App with this:
MaterialApp(
title: 'Flutter Demo',
theme: ThemeData.light(
useMaterial3: true,
),
darkTheme: ThemeData.dark(
useMaterial3: true,
),
themeMode: ThemeMode.system,
home: const MyHomePage(title: 'Flutter Demo Home Page'),
):
3 - Use the local auth on addPostFrameCallback as how it should be (or add function to a button)
4 - Check the results on both light & dark themes (change it with system setting on Android)
Expected results
The Expected Result is both light theme & dark theme dialogs of the local_auth should be same or maybe the colors to be shifted accourding to the theme.
Actual results
Tested on android device HUAWEISNE-L01 (Huawei Mate 20 Lite) | sdk: 29
The actual result is that:
In light theme it is working just fine,
In the dark theme the dialog background color will stay same as white,
The background color of the bottom area (grey area on light dialog) of the dialog will be same as background,
The texts will not be visible (probably using colors from dark_theme: white on white-background)
Also the cancel button's text style changed a little. (less font weight)
Code sample
The Github Test Repository
Screenshots or Videos
Screenshots
Light theme
Dark Theme
Logs
Logs
[ +516 ms] Running Gradle task 'assembleDebug'... (completed in 4.2s)
[ +2 ms] Calculate SHA1: LocalDirectory: 'D:\Flutter\projects\local_auth_test\build\app\outputs\flutter-apk'/app-debug.apk
[ +723 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +5 ms] executing: C:\src\android\build-tools\34.0.0\aapt dump xmltree
D:\Flutter\projects\local_auth_test\build\app\outputs\flutter-apk\app-debug.apk AndroidManifest.xml
[ +33 ms] Exit code 0 from: C:\src\android\build-tools\34.0.0\aapt dump xmltree
D:\Flutter\projects\local_auth_test\build\app\outputs\flutter-apk\app-debug.apk AndroidManifest.xml
[ +1 ms] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x21
A: android:compileSdkVersionCodename(0x01010573)="13" (Raw: "13")
A: package="com.example.local_auth_test" (Raw: "com.example.local_auth_test")
A: platformBuildVersionCode=(type 0x10)0x21
A: platformBuildVersionName=(type 0x10)0xd
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x13
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x21
E: uses-permission (line=15)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.USE_BIOMETRIC" (Raw: "android.permission.USE_BIOMETRIC")
E: uses-permission (line=17)
A: android:name(0x01010003)="android.permission.USE_FINGERPRINT" (Raw: "android.permission.USE_FINGERPRINT")
E: permission (line=19)
A: android:name(0x01010003)="com.example.local_auth_test.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" (Raw:
"com.example.local_auth_test.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION")
A: android:protectionLevel(0x01010009)=(type 0x11)0x2
E: uses-permission (line=23)
A: android:name(0x01010003)="com.example.local_auth_test.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" (Raw:
"com.example.local_auth_test.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION")
E: application (line=25)
A: android:label(0x01010001)="local_auth_test" (Raw: "local_auth_test")
A: android:icon(0x01010002)=@0x7f0d0000
A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=31)
A: android:theme(0x01010000)=@0x7f0f00a2
A: android:name(0x01010003)="com.example.local_auth_test.MainActivity" (Raw: "com.example.local_auth_test.MainActivity")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=46)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0f00a3
E: intent-filter (line=50)
E: action (line=51)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=53)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=60)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: uses-library (line=64)
A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
A: android:required(0x0101028e)=(type 0x12)0x0
E: uses-library (line=67)
A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
A: android:required(0x0101028e)=(type 0x12)0x0
E: provider (line=71)
A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.example.local_auth_test.androidx-startup" (Raw:
"com.example.local_auth_test.androidx-startup")
E: meta-data (line=75)
A: android:name(0x01010003)="androidx.profileinstaller.ProfileInstallerInitializer" (Raw:
"androidx.profileinstaller.ProfileInstallerInitializer")
A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup")
E: receiver (line=80)
A: android:name(0x01010003)="androidx.profileinstaller.ProfileInstallReceiver" (Raw:
"androidx.profileinstaller.ProfileInstallReceiver")
A: android:permission(0x01010006)="android.permission.DUMP" (Raw: "android.permission.DUMP")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0xffffffff
A: android:directBootAware(0x01010505)=(type 0x12)0x0
E: intent-filter (line=86)
E: action (line=87)
A: android:name(0x01010003)="androidx.profileinstaller.action.INSTALL_PROFILE" (Raw:
"androidx.profileinstaller.action.INSTALL_PROFILE")
E: intent-filter (line=89)
E: action (line=90)
A: android:name(0x01010003)="androidx.profileinstaller.action.SKIP_FILE" (Raw:
"androidx.profileinstaller.action.SKIP_FILE")
E: intent-filter (line=92)
E: action (line=93)
A: android:name(0x01010003)="androidx.profileinstaller.action.SAVE_PROFILE" (Raw:
"androidx.profileinstaller.action.SAVE_PROFILE")
E: intent-filter (line=95)
E: action (line=96)
A: android:name(0x01010003)="androidx.profileinstaller.action.BENCHMARK_OPERATION" (Raw:
"androidx.profileinstaller.action.BENCHMARK_OPERATION")
[ +12 ms] Stopping app 'app-debug.apk' on SNE LX1.
[ +2 ms] executing: C:\src\android\platform-tools\adb.exe -s HVY0218901009628 shell am force-stop com.example.local_auth_test
[ +301 ms] executing: C:\src\android\platform-tools\adb.exe -s HVY0218901009628 shell pm list packages com.example.local_auth_test
[ +117 ms] package:com.example.local_auth_test
[ +1 ms] executing: C:\src\android\platform-tools\adb.exe -s HVY0218901009628 shell cat /data/local/tmp/sky.com.example.local_auth_test.sha1
[ +97 ms] def2d7539c0b79b36ad02bf65ac9088500898c6c
[ +1 ms] Latest build already installed.
[ ] executing: C:\src\android\platform-tools\adb.exe -s HVY0218901009628 shell -x logcat -v time -t 1
[ +103 ms] --------- beginning of main
11-21 10:58:51.869 I/netd ( 615): trafficSwapActiveStatsMap() <18.19ms>
[ +9 ms] executing: C:\src\android\platform-tools\adb.exe -s HVY0218901009628 shell am start -a android.intent.action.MAIN -c
android.intent.category.LAUNCHER -f 0x20000000 --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
com.example.local_auth_test/com.example.local_auth_test.MainActivity
[ +209 ms] Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x20000000
cmp=com.example.local_auth_test/.MainActivity (has extras) }
[ +1 ms] Waiting for VM Service port to be available...
[ +888 ms] VM Service URL on device: http://127.0.0.1:39657/_PZh43s_mMo=/
[ +1 ms] executing: C:\src\android\platform-tools\adb.exe -s HVY0218901009628 forward tcp:0 tcp:39657
[ +45 ms] 54343
[ ] Forwarded host port 54343 to device port 39657 for VM Service
[ +6 ms] Caching compiled dill
[ +25 ms] Connecting to service protocol: http://127.0.0.1:54343/_PZh43s_mMo=/
[ +368 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at
http://127.0.0.1:54343/_PZh43s_mMo=/.
[ +203 ms] DDS is listening at http://127.0.0.1:54346/MO-3LhSeLiA=/.
[ +84 ms] Successfully connected to service protocol: http://127.0.0.1:54343/_PZh43s_mMo=/
[ +96 ms] DevFS: Creating new filesystem on the device (null)
[ +38 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.local_auth_test/code_cache/local_auth_testULVXGK/local_auth_test/)
[ +2 ms] Updating assets
[ +97 ms] Syncing files to device SNE LX1...
[ +2 ms] Compiling dart to kernel with 0 updated files
[ ] Processing bundle.
[ ] <- recompile package:local_auth_test/main.dart ae7c18be-cdd1-4fae-8cb0-330edfb42eca
[ ] <- ae7c18be-cdd1-4fae-8cb0-330edfb42eca
[ +1 ms] Bundle processing done.
[ +80 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Syncing files to device SNE LX1... (completed in 86ms)
[ ] Synced 0.0MB.
[ +1 ms] <- accept
[ +8 ms] Connected to _flutterView/0x76d3bfd620.
[ +2 ms] Flutter run key commands.
[ +1 ms] r Hot reload.
[ ] R Hot restart.
[ ] h List all available interactive commands.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] A Dart VM Service on SNE LX1 is available at: http://127.0.0.1:54346/MO-3LhSeLiA=/
[ +240 ms] D/DecorView( 9125): showOrHideHighlightView: hasFocus=true; winMode=1; isMrgNull=true
[ +1 ms] W/InputMethodManager( 9125): startInputReason = 1
[ ] W/HwRemoteInputMethodManager( 9125): isCasting false because IHwDistributedWindowManager is invalid.
[ ] W/InputMethodManager( 9125): startInputReason = 5
[ +911 ms] W/Gralloc3( 9125): mapper 3.x is not supported
[ +55 ms] I/HwViewRootImpl( 9125): removeInvalidNode jank list is null
[ +86 ms] The Flutter DevTools debugger and profiler on SNE LX1 is available at: http://127.0.0.1:9104?uri=http://127.0.0.1:54346/MO-3LhSeLiA=/
[ +1 ms] I/DecorView[]( 9125): pkgName:com.example.local_auth_test old windowMode:1 new windoMode:1, isFixedSize:false
[ +253 ms] D/DecorView( 9125): showOrHideHighlightView: hasFocus=false; winMode=1; isMrgNull=true
[+1810 ms] D/AwareBitmapCacher( 9125): handleInit switch not opened pid=9125
[ +197 ms] D/DecorView( 9125): showOrHideHighlightView: hasFocus=true; winMode=1; isMrgNull=true
[ ] W/InputMethodManager( 9125): startInputReason = 1
[ +8 ms] W/HwRemoteInputMethodManager( 9125): isCasting false because IHwDistributedWindowManager is invalid.
[+1221 ms] D/ProfileInstaller( 9125): Installing profile for com.example.local_auth_test
[ +30 ms] D/DecorView( 9125): showOrHideHighlightView: hasFocus=false; winMode=1; isMrgNull=true
[+1833 ms] I/HwTypeface( 9125): updateFont: scale=0.95
[ +1 ms] D/SystemFonts( 9125): areFontsVariable: script=Latn
[ +188 ms] D/ViewRootImpl( 9125): ViewRootImpl mIsInProductivePCDisplay: false
[ +1 ms] I/DecorView[]( 9125): pkgName:com.example.local_auth_test old windowMode:1 new windoMode:1, isFixedSize:false
[ ] D/PhoneWindow( 9125): updateStyledWidth: CoordinationModeUtils is not foldable.
[ +19 ms] W/libEGL ( 9125): EGLNativeWindowType 0x76e2575250 disconnect failed
[ ] D/mali_winsys( 9125): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **,
EGLBoolean) returns 0x3000
[ +1 ms] I/HwViewRootImpl( 9125): removeInvalidNode all the node in jank list is out of time
[ +391 ms] I/DecorView[]( 9125): pkgName:com.example.local_auth_test old windowMode:1 new windoMode:1, isFixedSize:false
[+4755 ms] D/DecorView( 9125): showOrHideHighlightView: hasFocus=true; winMode=1; isMrgNull=true
[ +1 ms] W/HwRemoteInputMethodManager( 9125): isCasting false because IHwDistributedWindowManager is invalid.
[+1182 ms] I/Hwaps ( 9125): APS: EventAnalyzed: initAPS: version is 11.0.0.4
[ +5 ms] D/Hwaps ( 9125): Fpsrequest create,type:EXACTLY_IDENTIFY
[ +6 ms] D/Hwaps ( 9125): Fpsrequest create,type:EXACTLY_IDENTIFY
[ ] D/Hwaps ( 9125): Fpsrequest create,type:OPENGL_SETTING
[ ] D/Hwaps ( 9125): FpsController create
[ +3 ms] D/Hwaps ( 9125): APS: EventAnalyzed: reInitFpsPara :mBaseFps = 60; mMaxFps = 60
[ +11 ms] W/Settings( 9125): Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
[ +1 ms] V/HiTouch_HiTouchSensor( 9125): User setup is finished.
[ +39 ms] W/HwApsManager( 9125): HwApsManagerService, registerCallback, start !
[ +6 ms] D/Hwaps ( 9125): APS: EventAnalyzed: registerCallbackInApsManagerService, mPkgName:com.example.local_auth_test; result = true
[ +389 ms] V/AudioManager( 9125): querySoundEffectsEnabled...
[ +248 ms] D/DecorView( 9125): showOrHideHighlightView: hasFocus=false; winMode=1; isMrgNull=true
[+130757 ms] D/DecorView( 9125): showOrHideHighlightView: hasFocus=true; winMode=1; isMrgNull=true
[ +1 ms] W/InputMethodManager( 9125): startInputReason = 1
[ ] W/HwRemoteInputMethodManager( 9125): isCasting false because IHwDistributedWindowManager is invalid.
[+1518 ms] V/AudioManager( 9125): querySoundEffectsEnabled...
[ +213 ms] D/DecorView( 9125): showOrHideHighlightView: hasFocus=false; winMode=1; isMrgNull=true
[+56250 ms] Application finished.
Flutter Doctor output
Doctor output
Note: its Windows 11 unlike the flutter doctor says.
PS D:\Flutter\projects\local_auth_test> flutter doctor -v
[√] Flutter (Channel stable, 3.13.7, on Microsoft Windows [Version 10.0.22621.2715], locale en-US)
• Flutter version 3.13.7 on channel stable at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2f708eb839 (6 weeks ago), 2023-10-09 09:58:08 -0500
• Engine revision a794cf2681
• Dart version 3.1.3
• DevTools version 2.25.0
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\src\android
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = C:\src\android
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.3)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.6.33801.468
• Windows 10 SDK version 10.0.22000.0
[√] Android Studio (version 2022.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
[√] VS Code (version 1.84.2)
• VS Code at C:\Users\******\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.76.0
[√] Connected device (4 available)
• SNE LX1 (mobile) • HVY0218901009628 • android-arm64 • Android 10 (API 29)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.2715]
• Chrome (web) • chrome • web-javascript • Google Chrome 119.0.6045.124
• Edge (web) • edge • web-javascript • Microsoft Edge 119.0.2151.72
[√] Network resources
• All expected network resources are available.
• No issues found!
EDIT: I have check few other applications published already. Some of them have the same dialog & same problem. So It might be a problem about the device&device operating system. I just want to know if any other device has the same problems.
I think this is a device-specific issue as I don't see it on my device Realme 6, Android 11:
light mode
dark mode
EDIT: I have check few other applications published already. Some of them have the same dialog & same problem. So It might be a problem about the device&device operating system. I just want to know if any other device has the same problems.
Could you list all affected device information here?
I think this is a device-specific issue as I don't see it on my device Realme 6, Android 11:
light mode dark mode
EDIT: I have check few other applications published already. Some of them have the same dialog & same problem. So It might be a problem about the device&device operating system. I just want to know if any other device has the same problems.
Could you list all affected device information here?
I dont have any other physical device to test on it. tho, the problem looks like related to the Device's producer not with the package. There might be the same problem exists on any other Huawei device with EMUI 12.0.0
|
gharchive/issue
| 2023-11-21T08:10:58 |
2025-04-01T04:34:16.840632
|
{
"authors": [
"Destanci",
"huycozy"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/138781",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
2016465848
|
Anomalous Performance on Android devices in ListTile Widget Behavior upon Scroll Termination
Is there an existing issue for this?
[X] I have searched the existing issues
[X] I have read the guide to filing a bug
Steps to reproduce
Create a ListView widget.
Populate the ListView with a substantial number of ListTile widgets to enable scrolling.
Scroll through the screen, observing the ListTile's behavior.
Notice the occurrence of unexpected and unusual behavior during or after the scroll termination.
Expected results
Anticipate the ListTiles to be handled normally after the scrolling has concluded.
No aberrant performance issues should manifest, ensuring a smooth user experience.
Refer to the attached screenshot for a visual confirmation of the expected behavior.
Actual results
The content within the ListTile extends beyond the expected bounds once scrolling has ceased.
This behavior deviates from the anticipated presentation, leading to a visual inconsistency.
Please refer to the attached screenshot for a visual representation of the observed anomaly.
Code sample
Code sample
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('ListTile Scrolling Issue'),
),
body: ListView.builder(
itemCount: 100, // Adjust the item count for a larger list
itemBuilder: (context, index) {
return ListTile(
title: Text('Item $index'),
subtitle: Text('This is a description of item $index.'),
// Additional ListTile content
);
},
),
);
}
}
Screenshots or Video
Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/58610163/2c7073a2-9b0d-4cf1-8ee2-c289c167b69b
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.0, on macOS 13.6.1 22G313 darwin-x64, locale
en-US)
• Flutter version 3.16.0 on channel stable at /Applications/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db7ef5bf9f (2 weeks ago), 2023-11-15 11:25:44 -0800
• Engine revision 74d16627b9
• Dart version 3.2.0
• DevTools version 2.28.2
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/mahmoudsleem/Library/Android/sdk
• Platform android-34-ext8, build-tools 34.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
11.0.15+0-b2043.56-8887301)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode-14.3.1.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.14.3
[✗] Chrome - develop for the web (Cannot find Chrome executable at
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2022.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
11.0.15+0-b2043.56-8887301)
[✓] VS Code (version 1.84.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.76.0
[✓] Connected device (4 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554
• android-x64 • Android 13 (API 33) (emulator)
• iPhone 14 Plus (mobile) • 8BFBA9BC-4AE7-4E43-8E76-F3F0E773CD06
• ios • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• iPad mini (6th generation) (mobile) • F33884ED-D87F-46BA-BFFB-B9F414E3BD44
• ios • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos
• darwin-x64 • macOS 13.6.1 22G313 darwin-x64
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Thanks for the report @Mahm0ud-Ahmed
I think from your video, it seems the text under each ListTile shifts while trying to scroll up or down, is the correct interpretation of the issue ?
From the code sample you shared, it is not clearly visible that the text shifts because the Tiles don't have respective border, can you update the sample which will show the actual behavior reported ?
Is the behavior also replicable on emulator or only on devices ?
|
gharchive/issue
| 2023-11-29T12:18:19 |
2025-04-01T04:34:16.850654
|
{
"authors": [
"Mahm0ud-Ahmed",
"darshankawar"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/139223",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
2102209946
|
Native screens hosted in Flutter don't respond to screen interactions.
I'm trying to show a native Swift ViewController which has 2 buttons, one of which invokes a method on the FlutterMethodChannel to which Flutter reacts in the corresponding methodHandler.
I did test the method invoking inside the VC's viewDidLoad method and Flutter behaves as expected.
The issue is that no invocation is made from the native button, nor any other action from the button. It seems that it never gets tapped.
Lookin into the issue I made sure that UiKitView was wrapped in a GestureDetector and the gestures were properly forwarded to it, using an ElevatedButton to test it and indeed the button's and the GestureDetector callbacks are working as expected, so it's not preventing the gesture from its child.
Back to the swift ViewController I did tried and added the UIGestureRecognizerDelegate and setup methods to make sure that gestures were detected by the native ViewController, but to no avail.
Here is some code snippets:
PlatformViews
class AdatptivePlatformView extends StatelessWidget {
final String nativeScreen;
final String viewType;
final dynamic creationParams;
final TextDirection? layoutDirection;
final MessageCodec<dynamic>? creationParamsCodec;
const AdatptivePlatformView(
{super.key,
required this.viewType,
this.creationParams,
this.creationParamsCodec,
this.layoutDirection,
required this.nativeScreen});
@override
Widget build(BuildContext context) {
return Platform.isAndroid
? AndroidView(
viewType: viewType,
layoutDirection: TextDirection.ltr,
creationParams: creationParams,
creationParamsCodec: const StandardMessageCodec(),
gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>{
Factory<OneSequenceGestureRecognizer>(
() => EagerGestureRecognizer(),
),
},
)
: GestureDetector(
// onTap: () {
// console.log("onTap");
// },
// onTapCancel: () {
// console.log("onTapCancel");
// },
// onLongPress: () {
// console.log("onLongPress");
// },
// onDoubleTap: () {
// console.log("onDoubleTap");
// },
// with "deferToChild" hit test behaviour , touches are passed down to widget.
// if we do activate any GestureDetector callback then they both work.
behavior: HitTestBehavior.deferToChild,
// child: ElevatedButton(
// onPressed: () {
// console.log('the tap has beeen detected by the button');
// },
// child: const Text('test button')),
child: UiKitView(
viewType: viewType,
layoutDirection: TextDirection.ltr,
creationParams: creationParams,
creationParamsCodec: const StandardMessageCodec(),
hitTestBehavior: PlatformViewHitTestBehavior.translucent,
gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>{
Factory<OneSequenceGestureRecognizer>(
() => EagerGestureRecognizer(),
),
},
),
);
}
}
ViewController
//
// ViewController.swift
// UiKitFlutter
//
// Created by vincenzo calia on 16/10/23.
//
import Flutter
class ViewController: UIViewController, UIGestureRecognizerDelegate {
public var buttonTitleA: String?
public var buttonTitleB: String?
var buttonA = UIButton(type:UIButton.ButtonType.custom)
var buttonB = UIButton(type:UIButton.ButtonType.custom)
override func viewDidLoad() {
super.viewDidLoad()
buttonA.addTarget(self, action: #selector(dismissViewController), for: .touchUpInside)
buttonA.setTitle(buttonTitleA ?? "Flutter Screen A", for: UIControl.State.normal)
buttonA.frame = CGRect(x: 80.0, y: 210.0, width: 160.0, height: 40.0)
buttonA.backgroundColor = UIColor.systemGray5
buttonA.setTitleColor(UIColor.systemBlue, for: .normal)
buttonA.layer.cornerRadius = 8;
self.view.addSubview(buttonA)
let gestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(flutterButtonBTapped));
gestureRecognizer.isEnabled = true
gestureRecognizer.cancelsTouchesInView = false
gestureRecognizer.delegate = self
buttonB.addGestureRecognizer(gestureRecognizer);
// buttonB.addTarget(self, action: #selector(flutterButtonBTapped), for: .touchUpInside)
buttonB.setTitle(buttonTitleB ?? "Flutter Screen B", for: UIControl.State.normal)
buttonB.frame = CGRect(x: 80.0, y: 260.0, width: 160.0, height: 40.0)
buttonB.backgroundColor = UIColor.systemGray5
buttonB.setTitleColor(UIColor.systemBlue, for: .normal)
buttonB.layer.cornerRadius = 8;
self.view.addSubview(buttonB);
// THE ISSUE:
// called here invokeMethod works so we are sure that the desired beahviour is correct..calling it from button doesn't.
// Native gesture detection is not recognized when native ViewController is shown in Flutter, so no interaction with native buttons is possible.
// WHAT I TRIED:
// Wrapping the UiKitVIew with a GestureDetector, so we made sure that gestures are passed down to it.
// As a test I swapped the UiKitView wit an ElevatedButton and tested that both onTap from GestureDetector
// and onPressed from the ElevatedButton callbacks where in fact working as expected.
// I added UIGestureRecognizerDelegate and setup methods to make sure that gestures were detected by the native ViewController, but to no avail.
//
// OUTCOME: No interaction with the native ViewController has been achieved, making the whole hosting native views in flutter a waste of time.
// let params = [
// "screen": "viewController2",
// "param 1": "close native",
// "param 2": "goto VC1"
// ] as [String: AnyObject]
// let appDelegate = UIApplication.shared.delegate as! AppDelegate;
// let controller = appDelegate.window?.rootViewController as! FlutterViewController;
// var nativeViewerPlatformCahannel = FlutterMethodChannel(name: "native_viewer_platform_channel",binaryMessenger: controller.binaryMessenger);
// nativeViewerPlatformCahannel.invokeMethod("switch_to_screen", arguments: params);
}
// func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
// return true
// }
// func gestureRecognizer(
// _ gestureRecognizer: UIGestureRecognizer,
// shouldReceive touch: UITouch
// ) -> Bool {
// return true
// }
func gestureRecognizer(
_ gestureRecognizer: UIGestureRecognizer,
shouldReceive event: UIEvent
) -> Bool {
return true
}
@objc func flutterButtonBTapped() {
// Implement your native functionality here
buttonA.setTitle("new value", for: UIControl.State.normal)
let params = [
"screen": "viewController2",
"param 1": "close native",
"param 2": "goto VC1"
] as [String: AnyObject]
let appDelegate = UIApplication.shared.delegate as! AppDelegate;
let controller = appDelegate.window?.rootViewController as! FlutterViewController;
let nativeViewerPlatformCahannel = FlutterMethodChannel(name: "native_viewer_platform_channel",binaryMessenger: controller.binaryMessenger);
nativeViewerPlatformCahannel.invokeMethod("switch_to_screen", arguments: params);
let buttonA = UIButton(type:UIButton.ButtonType.infoDark)
// buttonA.addTarget(self, action: #selector(dismissViewController), for: .touchUpInside)
// buttonA.setTitle("Flutter Screen A", for: UIControl.State.normal)
buttonA.setTitle("added", for: UIControl.State.normal)
buttonA.frame = CGRect(x: 80.0, y: 410.0, width: 160.0, height: 40.0)
buttonA.backgroundColor = UIColor.systemGray5
buttonA.setTitleColor(UIColor.systemBlue, for: .normal)
buttonA.layer.cornerRadius = 8;
self.view.addSubview(buttonA)
}
@objc func dismissViewController(vc: FlutterViewController){
// vc.dismiss(animated: true);
}
}
Now looking at solving the problem I do see that this is an ongoing problem with PlatformViews, as I see issues here opened in 2020 and still unresolved with comments from two weeks ago.
Is the whole native view hosting actually fully working with interactions with the native views? I do see plugins like https://github.com/LuisThein/apple_maps_flutter which does successfully implements native view controllers and have flutter interact with it.
Documentation on this subject is very sparse and I haven't been able to find concrete examples on how to set things up completely, but please do point me to it as I might just haven't found it.
Here https://github.com/vinnytwice/native_in_fluter you can find the complete code for this issue.
Can you spot if and what I'm doing wrong there?
Many many thanks.
@vinnytwice
Most probably you are hitting https://github.com/flutter/flutter/issues/37579 that you can check and confirm.
@darshankawar hi, I did look int it, but i'm not using MapKit, just plain buttons.
As a test I added a TextField and it does respond to touch and start accepting inputs.
I did try removing the GestureDetector from the UiKitView and it still does work, so I guess that in my setup GestureDetector isn't blocking the gestures from Flutter to iOS. Any idea on what else could I try?? this is just a test app to see if at my company we can save some native screen as we're porting our main app to Flutter and at least a couple are using the native camera layer and the PDFKit.
I've pushed the changes so they are available in the repo.
Many thanks again.
In the meantime could you point me to docs about interacting with the native ViewControllers when are shown in a PlatformView?
Thanks for the update. Can you provide the flutter version and ios version you are seeing the behavior ?
@darshankawar hi, this is my flutter doctor -v
Hope it helps
[✓] Flutter (Channel stable, 3.16.2, on macOS 14.1.1 23B2082 darwin-arm64, locale en-US)
• Flutter version 3.16.2 on channel stable at /Users/vincenzo.calia/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision https://github.com/flutter/flutter/commit/9e1c857886f07d342cf106f2cd588bcd5e031bb2 (5 weeks ago), 2023-11-30 11:51:18 -0600
• Engine revision cf7a9d0800
• Dart version 3.2.2
• DevTools version 2.28.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/vincenzo.calia/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_SDK_ROOT = /Users/vincenzo.calia/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A507
• CocoaPods version 1.14.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
[✓] VS Code (version 1.85.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.80.0
[✓] VS Code (version 1.84.2)
• VS Code at /Users/vincenzo.calia/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.80.0
[✓] Connected device (3 available)
• iPhone 15 Pro (mobile) • 87E520D0-E3B9-4AF6-BCA9-12B4A5482101 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.1.1 23B2082 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.129
! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
• No issues found!
@darshankawar I did one more test, and I created another screen ( now screen B ) with a TableView plus a button. The Table view doesn't get shown while the button does. I updated the repo.
Thanks for the update. As you mentioned earlier about lack of documentation, have you already gone through this to check if it helps in your case or not ?
@darshankawar yes of course I followed it, and for the ui showing part it works as expected. Just buttons don't react to touches. I tried adding a third screen with a ScrollView to see if touches were blocked and the scrolling works, so I inserted two buttons in the first of the views in the scroll view but they still don't work. I added a gesture recognizer to the second view and it still won't work. The 3 screen in pure native work as expected. My guess is that a UIViewController blocks the gesture recognitions and/or forwarding to its subview but only in case it's a UIView as the UIScrollView works as expected while it's UIView sub view don't..
I had a granular look into the above mentioned plug in code and it does indeed use a native button latched to a native @objc function ( to center the map on current location) contained in an UIView, but the VC is an MKMapView, not a UIViewController nor a UIScrollView.
My guess is that the gesture detection forwarding through the views only works when first detected by a MKMapView and fails for other UIView subclasses.
Hope this helps finding out if and where a bug could be.
I updated the repo again to include the ScrollView screen
Many thanks
Cheers
@darshankawar I did find out something interesting.
I did add two new screens. The first is a direct MKMapView (as the above mentioned plugin), and the second is a UIViewController with a MKMapView in it, both with the usual UIButton .
Interestingly enough, the direct MKMapView screen the map won't even show, only the button is shown. The ViewController with the MKMapView in it shows both the map ( which recognizes the gestures) and the UIButton which doesn't work as usual..
I updated the repo so you can see the code for those as well. I did test every screen in a native app and they all work as intended.
As the above mentioned plugin is a plugin, I then created a Flutter plugin which shows native screens, so the same app but in a plugin..
In the plugin buttons in every screen don't work the same as in my test app, but SURPRISE!! the button in the direct MKMapView (4th button ) works!
The 5th screen , the one with the MKMapView in a ViewController at least shows the map and gestures works, dough the button still doesn't.
You can see the code for the plugin here https://github.com/vinnytwice/my_yap_plugin
Now, it seems that in UiKitView when the Native screen is a ViewController/ScrollView somehow the UIButtons don't get the TapGesture while in a MKMapView UIButtons do get it. Strangely enough only in a Flutter plugin.
I really hope that this long investigation I have done helps solving the problem.
Many many thanks again.
Thanks for the details, analysis and your patience. Using above repo, I was able to replicate the reported behavior on iOS.
Labeling this for tracking.
stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.16.8, on macOS 12.2.1 21D62 darwin-x64, locale
en-GB)
• Flutter version 3.16.8 on channel stable at
/Users/dhs/documents/fluttersdk/flutter
! Warning: `flutter` on your path resolves to
/Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
your current Flutter SDK checkout at
/Users/dhs/documents/fluttersdk/flutter. Consider adding
/Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
! Warning: `dart` on your path resolves to
/Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 67457e669f (2 days ago), 2024-01-16 16:22:29 -0800
• Engine revision 6e2ea58a5c
• Dart version 3.2.5
• DevTools version 2.28.5
• If those were intentional, you can disregard the above warnings; however
it is recommended to use "git" directly to perform update checks and
upgrades.
[!] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
! Flutter recommends a minimum Xcode version of 13.
Download the latest version or update via the Mac App Store.
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] VS Code (version 1.62.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.21.0
[✓] Connected device (5 available)
• SM G975F (mobile) • RZ8M802WY0X • android-arm64 • Android 11 (API 30)
• Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 •
ios • iOS 14.4.1 18D61
• iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 •
ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
• macOS (desktop) • macos •
darwin-x64 • Mac OS X 10.15.4 19E2269 darwin-x64
• Chrome (web) • chrome •
web-javascript • Google Chrome 98.0.4758.80
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
[!] Flutter (Channel master, 3.19.0-15.0.pre.36, on macOS 12.2.1 21D62
darwin-x64, locale en-GB)
• Flutter version 3.19.0-15.0.pre.36 on channel master at
/Users/dhs/documents/fluttersdk/flutter
! Warning: `flutter` on your path resolves to
/Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
your current Flutter SDK checkout at
/Users/dhs/documents/fluttersdk/flutter. Consider adding
/Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
! Warning: `dart` on your path resolves to
/Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 31116770ed (2 hours ago), 2024-01-31 19:23:05 -0800
• Engine revision f4fbabf1eb
• Dart version 3.4.0 (build 3.4.0-97.0.dev)
• DevTools version 2.31.0
• If those were intentional, you can disregard the above warnings; however
it is recommended to use "git" directly to perform update checks and
upgrades.
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/dhs/Library/Android/sdk
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for
more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 13C100
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 65.1.4
• Dart plugin version 213.7228
[✓] VS Code (version 1.62.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.29.0
[✓] Connected device (3 available)
• Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
• iOS 15.3.1 19D52
• macOS (desktop) • macos •
darwin-x64 • macOS 12.2.1 21D62 darwin-x64
• Chrome (web) • chrome •
web-javascript • Google Chrome 109.0.5414.119
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
[!] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
! Flutter recommends a minimum Xcode version of 13.
Download the latest version or update via the Mac App Store.
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] VS Code (version 1.62.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.21.0
[✓] Connected device (5 available)
• SM G975F (mobile) • RZ8M802WY0X • android-arm64 • Android 11 (API 30)
• Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 •
ios • iOS 14.4.1 18D61
• iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 •
ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
• macOS (desktop) • macos •
darwin-x64 • Mac OS X 10.15.4 19E2269 darwin-x64
• Chrome (web) • chrome •
web-javascript • Google Chrome 98.0.4758.80
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
@darshankawar my pleasure. I love Flutter and I'm happy to help make it better. Can you think of any more tests I could make to help?
@KoheiKanagu I'm not overlapping Flutter buttons on native, I'm using Native buttons in native screens.
In your case check if using
gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>{
Factory<OneSequenceGestureRecognizer>(
() => EagerGestureRecognizer(),
),
},
makes any difference.
Cheers
@darshankawar I tried passing the gestureRecognizersBlockingPolicy to the FlutterPluginRegistrar as suggested here https://github.com/flutter/flutter/issues/37579#issuecomment-1933365963 but It didn't fix the issue.
let viewFactory = DynamicNativeViewFactory(messenger: registrar.messenger())
registrar.register(
viewFactory,
withId: "native_screen",
gestureRecognizersBlockingPolicy:FlutterPlatformViewGestureRecognizersBlockingPolicyWaitUntilTouchesEnded)
Do you have any news on the issue?
Many thanks
|
gharchive/issue
| 2024-01-26T13:23:52 |
2025-04-01T04:34:16.878774
|
{
"authors": [
"darshankawar",
"vinnytwice"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/142298",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
2115941363
|
Thread Performance Checker warns on iOS: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a thread without a QoS class specified.
I saw this while debugging platform view performance running the example from https://github.com/lucalooz/flutter_ads_list_perf.
Breakpoint can be turned on in Xcode:
On the raster thread:
Thread Performance Checker: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a thread without a QoS class specified. Investigate ways to avoid priority inversions
PID: 992, TID: 370445
Backtrace
=================================================================
3 Flutter 0x000000010ba78240 _ZN3fml17PlatformSemaphore4WaitEv + 72
4 Flutter 0x000000010ba781ec _ZN3fml9Semaphore4WaitEv + 28
5 Flutter 0x000000010bff4290 _ZNK8impeller8Renderer6RenderENSt3_fl10unique_ptrINS_7SurfaceENS1_14default_deleteIS3_EEEERKNS1_8functionIFbRNS_12RenderTargetEEEE + 316
6 Flutter 0x000000010cad2b90 _ZZN7flutter23GPUSurfaceMetalImpeller28AcquireFrameFromCAMetalLayerERK7SkISizeEN3$_0clERNS_12SurfaceFrameEPNS_8DlCanvasE + 1568
7 Flutter 0x000000010cad24a8 _ZNK3fml8internal14CopyableLambdaIZN7flutter23GPUSurfaceMetalImpeller28AcquireFrameFromCAMetalLayerERK7SkISizeE3$_0EclIJRNS2_12SurfaceFrameEPNS2_8DlCanvasEEEEDaDpOT_ + 52
8 Flutter 0x000000010cad2468 _ZNSt3_fl8__invokeB6v15000IRN3fml8internal14CopyableLambdaIZN7flutter23GPUSurfaceMetalImpeller28AcquireFrameFromCAMetalLayerERK7SkISizeE3$_0EEJRNS4_12SurfaceFrameEPNS4_8DlCanvasEEEEDTclclsr3stdE7declvalIT_EEspclsr3stdE7declvalIT0_EEEEOSG_DpOSH_ + 40
9 Flutter 0x000000010cad2410 _ZNSt3_fl28__invoke_void_return_wrapperIbLb0EE6__callIJRN3fml8internal14CopyableLambdaIZN7flutter23GPUSurfaceMetalImpeller28AcquireFrameFromCAMetalLayerERK7SkISizeE3$_0EERNS6_12SurfaceFrameEPNS6_8DlCanvasEEEEbDpOT_ + 40
10 Flutter 0x000000010cad23dc _ZNSt3_fl10__function12__alloc_funcIN3fml8internal14CopyableLambdaIZN7flutter23GPUSurfaceMetalImpeller28AcquireFrameFromCAMetalLayerERK7SkISizeE3$_0EENS_9allocatorISB_EEFbRNS5_12SurfaceFrameEPNS5_8DlCanvasEEEclB6v15000ESF_OSH_ + 44
11 Flutter 0x000000010cad115c _ZNSt3_fl10__function6__funcIN3fml8internal14CopyableLambdaIZN7flutter23GPUSurfaceMetalImpeller28AcquireFrameFromCAMetalLayerERK7SkISizeE3$_0EENS_9allocatorISB_EEFbRNS5_12SurfaceFrameEPNS5_8DlCanvasEEEclESF_OSH_ + 44
12 Flutter 0x000000010c5e1314 _ZNKSt3_fl10__function12__value_funcIFbRN7flutter12SurfaceFrameEPNS2_8DlCanvasEEEclB6v15000ES4_OS6_ + 76
13 Flutter 0x000000010c5e0d4c _ZNKSt3_fl8functionIFbRN7flutter12SurfaceFrameEPNS1_8DlCanvasEEEclES3_S5_ + 44
14 Flutter 0x000000010c5e0c40 _ZN7flutter12SurfaceFrame13PerformSubmitEv + 100
15 Flutter 0x000000010c5e0b9c _ZN7flutter12SurfaceFrame6SubmitEv + 120
16 Flutter 0x000000010ae107ec _ZN7flutter30FlutterPlatformViewsController11SubmitFrameEP15GrDirectContextRKNSt3_fl10shared_ptrINS_10IOSContextEEENS3_10unique_ptrINS_12SurfaceFrameENS3_14default_deleteISA_EEEE + 1792
17 Flutter 0x000000010ae83b18 _ZN7flutter23IOSExternalViewEmbedder17SubmitFlutterViewEP15GrDirectContextRKNSt3_fl10shared_ptrIN8impeller11AiksContextEEENS3_10unique_ptrINS_12SurfaceFrameENS3_14default_deleteISB_EEEE + 312
18 Flutter 0x000000010c1cf830 _ZN7flutter10Rasterizer19DrawToSurfaceUnsafeExRNS_9LayerTreeEfNSt3_fl8optionalIN3fml9TimePointEEE + 1916
19 Flutter 0x000000010c1cea88 _ZN7flutter10Rasterizer20DrawToSurfacesUnsafeERNS_20FrameTimingsRecorderENSt3_fl6vectorINS3_10unique_ptrINS_13LayerTreeTaskENS3_14default_deleteIS6_EEEENS3_9allocatorIS9_EEEE + 976
20 Flutter 0x000000010c1e94e0 _ZZN7flutter10Rasterizer14DrawToSurfacesERNS_20FrameTimingsRecorderENSt3_fl6vectorINS3_10unique_ptrINS_13LayerTreeTaskENS3_14default_deleteIS6_EEEENS3_9allocatorIS9_EEEEENK3$_1clEv + 80
21 Flutter 0x000000010c1e9484 _ZNSt3_fl8__invokeB6v15000IRZN7flutter10Rasterizer14DrawToSurfacesERNS1_20FrameTimingsRecorderENS_6vectorINS_10unique_ptrINS1_13LayerTreeTaskENS_14default_deleteIS7_EEEENS_9allocatorISA_EEEEE3$_1JEEEDTclclsr3stdE7declvalIT_EEspclsr3stdE7declvalIT0_EEEEOSG_DpOSH_ + 24
22 Flutter 0x000000010c1e943c _ZNSt3_fl28__invoke_void_return_wrapperIvLb1EE6__callIJRZN7flutter10Rasterizer14DrawToSurfacesERNS3_20FrameTimingsRecorderENS_6vectorINS_10unique_ptrINS3_13LayerTreeTaskENS_14default_deleteIS9_EEEENS_9allocatorISC_EEEEE3$_1EEEvDpOT_ + 24
23 Flutter 0x000000010c1e9418 _ZNSt3_fl10__function12__alloc_funcIZN7flutter10Rasterizer14DrawToSurfacesERNS2_20FrameTimingsRecorderENS_6vectorINS_10unique_ptrINS2_13LayerTreeTaskENS_14default_deleteIS8_EEEENS_9allocatorISB_EEEEE3$_1NSC_ISF_EEFvvEEclB6v15000Ev + 28
24 Flutter 0x000000010c1e8500 _ZNSt3_fl10__function6__funcIZN7flutter10Rasterizer14DrawToSurfacesERNS2_20FrameTimingsRecorderENS_6vectorINS_10unique_ptrINS2_13LayerTreeTaskENS_14default_deleteIS8_EEEENS_9allocatorISB_EEEEE3$_1NSC_ISF_EEFvvEEclEv + 28
25 Flutter 0x000000010b00dd28 _ZNKSt3_fl10__function12__value_funcIFvvEEclB6v15000Ev + 60
26 Flutter 0x000000010b00dce0 _ZNKSt3_fl8functionIFvvEEclEv + 24
27 Flutter 0x000000010ba78894 _ZNK3fml10SyncSwitch7ExecuteERKNS0_8HandlersE + 84
28 Flutter 0x000000010c1cc7d4 _ZN7flutter10Rasterizer14DrawToSurfacesERNS_20FrameTimingsRecorderENSt3_fl6vectorINS3_10unique_ptrINS_13LayerTreeTaskENS3_14default_deleteIS6_EEEENS3_9allocatorIS9_EEEE + 600
29 Flutter 0x000000010c1cdabc _ZN7flutter10Rasterizer6DoDrawENSt3_fl10unique_ptrINS_20FrameTimingsRecorderENS1_14default_deleteIS3_EEEENS1_6vectorINS2_INS_13LayerTreeTaskENS4_IS8_EEEENS1_9allocatorISA_EEEE + 496
30 Flutter 0x000000010c1dfb2c _ZZN7flutter10Rasterizer4DrawERKNSt3_fl10shared_ptrINS_8PipelineINS_9FrameItemEEEEEENK3$_0clENS1_10unique_ptrIS4_NS1_14default_deleteIS4_EEEE + 124
31 Flutter 0x000000010c1dfa9c _ZNSt3_fl8__invokeB6v15000IRZN7flutter10Rasterizer4DrawERKNS_10shared_ptrINS1_8PipelineINS1_9FrameItemEEEEEE3$_0JNS_10unique_ptrIS5_NS_14default_deleteIS5_EEEEEEEDTclclsr3stdE7declvalIT_EEspclsr3stdE7declvalIT0_EEEEOSG_DpOSH_ + 56
32 Flutter 0x000000010c1dfa34 _ZNSt3_fl28__invoke_void_return_wrapperIvLb1EE6__callIJRZN7flutter10Rasterizer4DrawERKNS_10shared_ptrINS3_8PipelineINS3_9FrameItemEEEEEE3$_0NS_10unique_ptrIS7_NS_14default_deleteIS7_EEEEEEEvDpOT_ + 32
33 Flutter 0x000000010c1dfa08 _ZNSt3_fl10__function12__alloc_funcIZN7flutter10Rasterizer4DrawERKNS_10shared_ptrINS2_8PipelineINS2_9FrameItemEEEEEE3$_0NS_9allocatorISB_EEFvNS_10unique_ptrIS6_NS_14default_deleteIS6_EEEEEEclB6v15000EOSH_ + 36
34 Flutter 0x000000010c1de928 _ZNSt3_fl10__function6__funcIZN7flutter10Rasterizer4DrawERKNS_10shared_ptrINS2_8PipelineINS2_9FrameItemEEEEEE3$_0NS_9allocatorISB_EEFvNS_10unique_ptrIS6_NS_14default_deleteIS6_EEEEEEclEOSH_ + 36
35 Flutter 0x000000010c1e01bc _ZNKSt3_fl10__function12__value_funcIFvNS_10unique_ptrIN7flutter9FrameItemENS_14default_deleteIS4_EEEEEEclB6v15000EOS7_ + 68
36 Flutter 0x000000010c1dfea0 _ZNKSt3_fl8functionIFvNS_10unique_ptrIN7flutter9FrameItemENS_14default_deleteIS3_EEEEEEclES6_ + 32
37 Flutter 0x000000010c1ccf50 _ZN7flutter8PipelineINS_9FrameItemEE7ConsumeERKNSt3_fl8functionIFvNS3_10unique_ptrIS1_NS3_14default_deleteIS1_EEEEEEE + 268
38 Flutter 0x000000010c1ccb94 _ZN7flutter10Rasterizer4DrawERKNSt3_fl10shared_ptrINS_8PipelineINS_9FrameItemEEEEE + 408
39 Flutter 0x000000010c260e54 _ZZN7flutter5Shell14OnAnimatorDrawENSt3_fl10shared_ptrINS_8PipelineINS_9FrameItemEEEEEEN3$_0clEv + 96
40 Flutter 0x000000010c260d2c _ZNK3fml8internal14CopyableLambdaIZN7flutter5Shell14OnAnimatorDrawENSt3_fl10shared_ptrINS2_8PipelineINS2_9FrameItemEEEEEE3$_0EclIJEEEDaDpOT_ + 32
41 Flutter 0x000000010c260d00 _ZNSt3_fl8__invokeB6v15000IRN3fml8internal14CopyableLambdaIZN7flutter5Shell14OnAnimatorDrawENS_10shared_ptrINS4_8PipelineINS4_9FrameItemEEEEEE3$_0EEJEEEDTclclsr3stdE7declvalIT_EEspclsr3stdE7declvalIT0_EEEEOSE_DpOSF_ + 24
42 Flutter 0x000000010c260cb8 _ZNSt3_fl28__invoke_void_return_wrapperIvLb1EE6__callIJRN3fml8internal14CopyableLambdaIZN7flutter5Shell14OnAnimatorDrawENS_10shared_ptrINS6_8PipelineINS6_9FrameItemEEEEEE3$_0EEEEEvDpOT_ + 24
43 Flutter 0x000000010c260c94 _ZNSt3_fl10__function12__alloc_funcIN3fml8internal14CopyableLambdaIZN7flutter5Shell14OnAnimatorDrawENS_10shared_ptrINS5_8PipelineINS5_9FrameItemEEEEEE3$_0EENS_9allocatorISD_EEFvvEEclB6v15000Ev + 28
44 Flutter 0x000000010c25fac4 _ZNSt3_fl10__function6__funcIN3fml8internal14CopyableLambdaIZN7flutter5Shell14OnAnimatorDrawENS_10shared_ptrINS5_8PipelineINS5_9FrameItemEEEEEE3$_0EENS_9allocatorISD_EEFvvEEclEv + 28
45 Flutter 0x000000010b00dd28 _ZNKSt3_fl10__function12__value_funcIFvvEEclB6v15000Ev + 60
46 Flutter 0x000000010b00dce0 _ZNKSt3_fl8functionIFvvEEclEv + 24
47 Flutter 0x000000010ba68684 _ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 160
48 Flutter 0x000000010ba68594 _ZN3fml15MessageLoopImpl18RunExpiredTasksNowEv + 28
49 Flutter 0x000000010ba88350 _ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0_ + 36
50 CoreFoundation 0x00000001c7fe532c 42CCFC7B-FF32-3D25-8F01-CCB2AD843A8B + 844588
51 CoreFoundation 0x00000001c7fa19a8 42CCFC7B-FF32-3D25-8F01-CCB2AD843A8B + 567720
52 CoreFoundation 0x00000001c7f45548 42CCFC7B-FF32-3D25-8F01-CCB2AD843A8B + 189768
53 CoreFoundation 0x00000001c7f92fa0 42CCFC7B-FF32-3D25-8F01-CCB2AD843A8B + 507808
54 CoreFoundation 0x00000001c7f97eb0 CFRunLoopRunSpecific + 612
55 GraphicsServices 0x000000020218d368 GSEventRunModal + 164
56 UIKitCore 0x00000001ca48d668 CF21AD9C-EFBF-3961-A7C0-54BD30CEFEA9 + 3806824
57 UIKitCore 0x00000001ca48d2cc UIApplicationMain + 340
58 Runner 0x000000010053859c main + 64
59 dyld 0x00000001e6890960 4B042F28-0D14-30EC-A1DE-3DBB10866AD7 + 88416
Once fixed it would be nice to detect this in the scenario_app so it doesn't regress.
fyi @jonahwilliams
Update: I can reproduce on applications with a platform view, I cannot reproduce on non-platform view applications.
I initially thought this was due to me setting QOS classes, but even if I remove all of that code I still get the same warning. Instead, I think this is a new warning being surfaced from updated XCode tooling: The warning is essentially telling us that blocking on CAMetalLayer.nextDrawable should not be done on the main thread.
Fixing this is possible: we don't actually need to do rasterization on the main thread even when there are platform views, we just need to delay the frame from finishing until rasterization is completed. need to think about it for a bit, but not a quick fix at any rate.
Lowering the priority as I don't think there is anything I can do to fix this short term: this is a new warning that would need some serious engineering work to fix.
There's a similar case of this in https://github.com/flutter/flutter/issues/147224.
OP was using google_maps_flutter and running the app in the simulator. There weren't any flutter frames in the logs.
Thread Performance Checker: Thread running at User-initiated quality-of-service class waiting on a lower QoS thread running at Utility quality-of-service class. Investigate ways to avoid priority inversions
PID: 27624, TID: 238436
Backtrace
=================================================================
3 CoreData 0x0000000110f91198 -[NSSQLDefaultConnectionManager _checkoutConnectionOfType:] + 64
4 CoreData 0x0000000110f91380 -[NSSQLDefaultConnectionManager handleStoreRequest:] + 47
5 CoreData 0x000000011112a01d -[NSSQLCoreDispatchManager routeStoreRequest:] + 271
6 CoreData 0x0000000110fea4f2 -[NSSQLCore dispatchRequest:withRetries:] + 142
7 CoreData 0x0000000110feb409 -[NSSQLCore newValuesForObjectWithID:withContext:error:] + 312
8 CoreData 0x0000000110faccfb __95-[NSPersistentStoreCoordinator(_NSInternalMethods) newValuesForObjectWithID:withContext:error:]_block_invoke + 92
9 CoreData 0x0000000110f98f29 -[NSPersistentStoreCoordinator _routeLightweightBlock:toStore:] + 234
10 CoreData 0x0000000110faca4f -[NSPersistentStoreCoordinator(_NSInternalMethods) newValuesForObjectWithID:withContext:error:] + 337
11 CoreData 0x0000000110f15ebe _PFFaultHandlerLookupRow + 499
12 CoreData 0x0000000110f1854c _PF_FulfillDeferredFault + 216
13 CoreData 0x0000000110f3ebff _pvfk_header + 136
14 CoreData 0x0000000110f38852 _sharedIMPL_pvfk_core + 21
15 Runner 0x000000010476c06c __72-[GMSTileDataCache loadTileForTileCoords:dataVersion:completionHandler:]_block_invoke_2 + 526
16 CoreData 0x0000000110f51e32 developerSubmittedBlockToNSManagedObjectContextPerform + 152
17 libdispatch.dylib 0x000000011314c58f _dispatch_client_callout + 8
18 libdispatch.dylib 0x00000001131544ba _dispatch_lane_serial_drain + 1127
19 libdispatch.dylib 0x0000000113155255 _dispatch_lane_invoke + 441
20 libdispatch.dylib 0x0000000113162356 _dispatch_root_queue_drain_deferred_wlh + 318
21 libdispatch.dylib 0x0000000113161751 _dispatch_workloop_worker_thread + 590
22 libsystem_pthread.dylib 0x000000011424fb84 _pthread_wqthread + 327
23 libsystem_pthread.dylib 0x000000011424eacf start_wqthread + 15
Google Maps SDK for iOS version: 8.4.0.0
New version of Google Maps SDK for iOS available: 8.5.0.0
|
gharchive/issue
| 2024-02-02T22:45:48 |
2025-04-01T04:34:16.888541
|
{
"authors": [
"danagbemava-nc",
"jmagman",
"jonahwilliams",
"zanderso"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/142841",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
2532910601
|
[BUILD ERROR]:Error waiting for a debug connection: The log reader stopped unexpectedly, or never started.
Steps to reproduce
on Ubuntu LTS 24.04.01
flutter create my_app
cd my_app
flutter pub get
flutter run -d linux --verbose
Expected results
Since application was compiled a window frame should be opened. This happens with starter template as well
Actual results
[ +1 ms] ✓ Built build/linux/x64/debug/bundle/iprepdigiclass
[ +9 ms] Error waiting for a debug connection: The log reader stopped unexpectedly, or never started.
[ ] Error launching application on Linux.
[ +1 ms] "flutter run" took 19,685ms.
[ +2 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:874:9)
#2 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
#3 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)
#4 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
#5 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
#6 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)
#7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
#8 run.. (package:flutter_tools/runner.dart:130:9)
#9 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)
#10 main (package:flutter_tools/executable.dart:93:3)
[ +183 ms] ensureAnalyticsSent: 182ms
[ ] Running 2 shutdown hooks
[ +6 ms] Shutdown hooks complete
[ +2 ms] exiting with code 1
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:iprepdigiclass/bloc/global_bloc_observer.dart';
import 'package:iprepdigiclass/config/env.dart';
import 'package:iprepdigiclass/index.dart';
import 'package:iprepdigiclass/services/injection/getit.dart' as di;
import 'package:iprepdigiclass/services/services.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await di.init(); // dependency initilization
await Environment.loadEnvironment(); // load Application Environment
await Services.loadServices(); // load Application Services
Bloc.observer = GlobalBlocObserver(); // Global Bloc Observer
runApp(const App());
}
Screenshots or Video
Screenshots / Video demonstration
Screencast from 2024-09-18 12-33-23.webm
Logs
Logs
varun@varun-idreamhp:/media/varun/workspace/code/iprepdigiclass$ flutter run -d linux --verbose
[ +11 ms] Unable to locate an Android SDK.
[ +5 ms] executing: uname -m
[ +1 ms] Exit code 0 from: uname -m
[ ] x86_64
[ +50 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +31 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +4 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +43 ms] Skipping pub get: version match.
[ +37 ms] Found plugin connectivity_plus at /home/varun/.pub-cache/hosted/pub.dev/connectivity_plus-6.0.5/
[ +6 ms] Found plugin cryptography_flutter at /home/varun/.pub-cache/hosted/pub.dev/cryptography_flutter-2.3.2/
[ +6 ms] Found plugin file_picker at /home/varun/.pub-cache/hosted/pub.dev/file_picker-8.1.2/
[ +3 ms] Found plugin flutter_plugin_android_lifecycle at /home/varun/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.22/
[ +13 ms] Found plugin media_kit_libs_android_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_android_audio-1.3.6/
[ +1 ms] Found plugin media_kit_libs_android_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_android_video-1.3.6/
[ +1 ms] Found plugin media_kit_libs_ios_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_ios_audio-1.1.4/
[ ] Found plugin media_kit_libs_ios_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_ios_video-1.1.4/
[ ] Found plugin media_kit_libs_linux at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_linux-1.1.3/
[ ] Found plugin media_kit_libs_macos_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_macos_audio-1.1.4/
[ ] Found plugin media_kit_libs_macos_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_macos_video-1.1.4/
[ ] Found plugin media_kit_libs_windows_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_windows_audio-1.0.9/
[ ] Found plugin media_kit_libs_windows_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_windows_video-1.0.10/
[ +2 ms] Found plugin media_kit_native_event_loop at /home/varun/.pub-cache/hosted/pub.dev/media_kit_native_event_loop-1.0.9/
[ ] Found plugin media_kit_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_video-1.2.5/
[ +2 ms] Found plugin package_info_plus at /home/varun/.pub-cache/hosted/pub.dev/package_info_plus-8.0.2/
[ +1 ms] Found plugin path_provider_linux at /home/varun/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
[ ] Found plugin path_provider_windows at /home/varun/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
[ +4 ms] Found plugin screen_brightness at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness-0.2.2+1/
[ ] Found plugin screen_brightness_android at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_android-0.1.0+2/
[ ] Found plugin screen_brightness_ios at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_ios-0.1.0/
[ +1 ms] Found plugin screen_brightness_macos at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_macos-0.1.0+1/
[ ] Found plugin screen_brightness_windows at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_windows-0.1.3/
[ ] Found plugin screen_retriever at /home/varun/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/
[ ] Found plugin shared_preferences at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences-2.3.2/
[ ] Found plugin shared_preferences_android at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/
[ ] Found plugin shared_preferences_foundation at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.2/
[ ] Found plugin shared_preferences_linux at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/
[ ] Found plugin shared_preferences_web at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/
[ ] Found plugin shared_preferences_windows at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/
[ +12 ms] Found plugin volume_controller at /home/varun/.pub-cache/hosted/pub.dev/volume_controller-2.0.8/
[ +1 ms] Found plugin wakelock_plus at /home/varun/.pub-cache/hosted/pub.dev/wakelock_plus-1.2.8/
[ +11 ms] Found plugin window_manager at /home/varun/.pub-cache/hosted/pub.dev/window_manager-0.4.2/
[ +43 ms] Found plugin connectivity_plus at /home/varun/.pub-cache/hosted/pub.dev/connectivity_plus-6.0.5/
[ +2 ms] Found plugin cryptography_flutter at /home/varun/.pub-cache/hosted/pub.dev/cryptography_flutter-2.3.2/
[ +3 ms] Found plugin file_picker at /home/varun/.pub-cache/hosted/pub.dev/file_picker-8.1.2/
[ +1 ms] Found plugin flutter_plugin_android_lifecycle at /home/varun/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.22/
[ +9 ms] Found plugin media_kit_libs_android_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_android_audio-1.3.6/
[ ] Found plugin media_kit_libs_android_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_android_video-1.3.6/
[ +1 ms] Found plugin media_kit_libs_ios_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_ios_audio-1.1.4/
[ +1 ms] Found plugin media_kit_libs_ios_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_ios_video-1.1.4/
[ ] Found plugin media_kit_libs_linux at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_linux-1.1.3/
[ +1 ms] Found plugin media_kit_libs_macos_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_macos_audio-1.1.4/
[ ] Found plugin media_kit_libs_macos_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_macos_video-1.1.4/
[ ] Found plugin media_kit_libs_windows_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_windows_audio-1.0.9/
[ ] Found plugin media_kit_libs_windows_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_windows_video-1.0.10/
[ ] Found plugin media_kit_native_event_loop at /home/varun/.pub-cache/hosted/pub.dev/media_kit_native_event_loop-1.0.9/
[ ] Found plugin media_kit_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_video-1.2.5/
[ +2 ms] Found plugin package_info_plus at /home/varun/.pub-cache/hosted/pub.dev/package_info_plus-8.0.2/
[ +1 ms] Found plugin path_provider_linux at /home/varun/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
[ +1 ms] Found plugin path_provider_windows at /home/varun/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
[ +3 ms] Found plugin screen_brightness at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness-0.2.2+1/
[ ] Found plugin screen_brightness_android at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_android-0.1.0+2/
[ ] Found plugin screen_brightness_ios at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_ios-0.1.0/
[ ] Found plugin screen_brightness_macos at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_macos-0.1.0+1/
[ +1 ms] Found plugin screen_brightness_windows at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_windows-0.1.3/
[ ] Found plugin screen_retriever at /home/varun/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/
[ ] Found plugin shared_preferences at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences-2.3.2/
[ ] Found plugin shared_preferences_android at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/
[ ] Found plugin shared_preferences_foundation at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.2/
[ ] Found plugin shared_preferences_linux at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/
[ ] Found plugin shared_preferences_web at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/
[ ] Found plugin shared_preferences_windows at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/
[ +12 ms] Found plugin volume_controller at /home/varun/.pub-cache/hosted/pub.dev/volume_controller-2.0.8/
[ ] Found plugin wakelock_plus at /home/varun/.pub-cache/hosted/pub.dev/wakelock_plus-1.2.8/
[ +3 ms] Found plugin window_manager at /home/varun/.pub-cache/hosted/pub.dev/window_manager-0.4.2/
[ +30 ms] Found plugin connectivity_plus at /home/varun/.pub-cache/hosted/pub.dev/connectivity_plus-6.0.5/
[ +1 ms] Found plugin cryptography_flutter at /home/varun/.pub-cache/hosted/pub.dev/cryptography_flutter-2.3.2/
[ +2 ms] Found plugin file_picker at /home/varun/.pub-cache/hosted/pub.dev/file_picker-8.1.2/
[ +1 ms] Found plugin flutter_plugin_android_lifecycle at /home/varun/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.22/
[ +9 ms] Found plugin media_kit_libs_android_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_android_audio-1.3.6/
[ ] Found plugin media_kit_libs_android_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_android_video-1.3.6/
[ ] Found plugin media_kit_libs_ios_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_ios_audio-1.1.4/
[ ] Found plugin media_kit_libs_ios_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_ios_video-1.1.4/
[ ] Found plugin media_kit_libs_linux at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_linux-1.1.3/
[ ] Found plugin media_kit_libs_macos_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_macos_audio-1.1.4/
[ ] Found plugin media_kit_libs_macos_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_macos_video-1.1.4/
[ ] Found plugin media_kit_libs_windows_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_windows_audio-1.0.9/
[ ] Found plugin media_kit_libs_windows_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_windows_video-1.0.10/
[ ] Found plugin media_kit_native_event_loop at /home/varun/.pub-cache/hosted/pub.dev/media_kit_native_event_loop-1.0.9/
[ ] Found plugin media_kit_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_video-1.2.5/
[ +1 ms] Found plugin package_info_plus at /home/varun/.pub-cache/hosted/pub.dev/package_info_plus-8.0.2/
[ ] Found plugin path_provider_linux at /home/varun/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
[ ] Found plugin path_provider_windows at /home/varun/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
[ +2 ms] Found plugin screen_brightness at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness-0.2.2+1/
[ ] Found plugin screen_brightness_android at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_android-0.1.0+2/
[ ] Found plugin screen_brightness_ios at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_ios-0.1.0/
[ ] Found plugin screen_brightness_macos at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_macos-0.1.0+1/
[ ] Found plugin screen_brightness_windows at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_windows-0.1.3/
[ ] Found plugin screen_retriever at /home/varun/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/
[ ] Found plugin shared_preferences at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences-2.3.2/
[ ] Found plugin shared_preferences_android at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/
[ ] Found plugin shared_preferences_foundation at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.2/
[ ] Found plugin shared_preferences_linux at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/
[ ] Found plugin shared_preferences_web at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/
[ ] Found plugin shared_preferences_windows at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/
[ +4 ms] Found plugin volume_controller at /home/varun/.pub-cache/hosted/pub.dev/volume_controller-2.0.8/
[ ] Found plugin wakelock_plus at /home/varun/.pub-cache/hosted/pub.dev/wakelock_plus-1.2.8/
[ +1 ms] Found plugin window_manager at /home/varun/.pub-cache/hosted/pub.dev/window_manager-0.4.2/
[ +5 ms] Generating /media/varun/workspace/code/iprepdigiclass/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +82 ms] No packages with native assets. Skipping native assets compilation.
[ +1 ms] Initializing file store
[ +3 ms] Skipping target: gen_localizations
[ +1 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/media/varun/workspace/code/iprepdigiclass/.dart_tool/package_config_subset,/media/varun/workspace/code/iprepdigiclass/.dart_tool/flutter_build/dart_plugin_registrant.dart}
[ +16 ms] Found plugin connectivity_plus at /home/varun/.pub-cache/hosted/pub.dev/connectivity_plus-6.0.5/
[ +2 ms] Found plugin cryptography_flutter at /home/varun/.pub-cache/hosted/pub.dev/cryptography_flutter-2.3.2/
[ +2 ms] Found plugin file_picker at /home/varun/.pub-cache/hosted/pub.dev/file_picker-8.1.2/
[ +1 ms] Found plugin flutter_plugin_android_lifecycle at /home/varun/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.22/
[ +6 ms] Found plugin media_kit_libs_android_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_android_audio-1.3.6/
[ ] Found plugin media_kit_libs_android_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_android_video-1.3.6/
[ ] Found plugin media_kit_libs_ios_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_ios_audio-1.1.4/
[ ] Found plugin media_kit_libs_ios_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_ios_video-1.1.4/
[ ] Found plugin media_kit_libs_linux at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_linux-1.1.3/
[ ] Found plugin media_kit_libs_macos_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_macos_audio-1.1.4/
[ ] Found plugin media_kit_libs_macos_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_macos_video-1.1.4/
[ ] Found plugin media_kit_libs_windows_audio at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_windows_audio-1.0.9/
[ ] Found plugin media_kit_libs_windows_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_libs_windows_video-1.0.10/
[ ] Found plugin media_kit_native_event_loop at /home/varun/.pub-cache/hosted/pub.dev/media_kit_native_event_loop-1.0.9/
[ ] Found plugin media_kit_video at /home/varun/.pub-cache/hosted/pub.dev/media_kit_video-1.2.5/
[ +1 ms] Found plugin package_info_plus at /home/varun/.pub-cache/hosted/pub.dev/package_info_plus-8.0.2/
[ ] Found plugin path_provider_linux at /home/varun/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
[ ] Found plugin path_provider_windows at /home/varun/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
[ +1 ms] Found plugin screen_brightness at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness-0.2.2+1/
[ ] Found plugin screen_brightness_android at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_android-0.1.0+2/
[ ] Found plugin screen_brightness_ios at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_ios-0.1.0/
[ ] Found plugin screen_brightness_macos at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_macos-0.1.0+1/
[ ] Found plugin screen_brightness_windows at /home/varun/.pub-cache/hosted/pub.dev/screen_brightness_windows-0.1.3/
[ ] Found plugin screen_retriever at /home/varun/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/
[ ] Found plugin shared_preferences at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences-2.3.2/
[ ] Found plugin shared_preferences_android at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/
[ ] Found plugin shared_preferences_foundation at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.2/
[ ] Found plugin shared_preferences_linux at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/
[ ] Found plugin shared_preferences_web at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/
[ ] Found plugin shared_preferences_windows at /home/varun/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/
[ +13 ms] Found plugin volume_controller at /home/varun/.pub-cache/hosted/pub.dev/volume_controller-2.0.8/
[ ] Found plugin wakelock_plus at /home/varun/.pub-cache/hosted/pub.dev/wakelock_plus-1.2.8/
[ +22 ms] Found plugin window_manager at /home/varun/.pub-cache/hosted/pub.dev/window_manager-0.4.2/
[ +9 ms] gen_dart_plugin_registrant: Complete
[ ] Skipping target: _composite
[ ] complete
[ +2 ms] Launching lib/main.dart on Linux in debug mode...
[ +2 ms] /home/varun/Documents/flutter/bin/cache/dart-sdk/bin/dartaotruntime --disable-dart-dev
/home/varun/Documents/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server_aot.dart.snapshot --sdk-root
/home/varun/Documents/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata --output-dill
/tmp/flutter_tools.JTCRKE/flutter_tool.QFEBWE/app.dill --packages /media/varun/workspace/code/iprepdigiclass/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill --source
file:///media/varun/workspace/code/iprepdigiclass/.dart_tool/flutter_build/dart_plugin_registrant.dart --source package:flutter/src/dart_plugin_registrant.dart
-Dflutter.dart_plugin_registrant=file:///media/varun/workspace/code/iprepdigiclass/.dart_tool/flutter_build/dart_plugin_registrant.dart --verbosity=error
--enable-experiment=alternative-invalidation-strategy
[ +11 ms] Building Linux application...
[ +4 ms] <- compile package:iprepdigiclass/main.dart
[ +1 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64 /media/varun/workspace/code/iprepdigiclass/linux
[ +35 ms] -- Configuring done (0.0s)
[ +22 ms] -- Generating done (0.0s)
[ +229 ms] -- Build files have been written to: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug
[ +7 ms] executing: ninja -C build/linux/x64/debug install
[ +10 ms] ninja: Entering directory `build/linux/x64/debug'
[+2885 ms] [1/17] Generating /media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_value.h, /media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/media/varun/workspace/code/iprepdigiclass/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[ +2 ms] [ +10 ms] Unable to locate an Android SDK.
[ ] [ +5 ms] executing: uname -m
[ ] [ +1 ms] Exit code 0 from: uname -m
[ ] [ ] x86_64
[ ] [ +34 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ ] [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] [ +45 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ ] [ +25 ms] Initializing file store
[ ] [ +8 ms] Done initializing file store
[ ] [ +34 ms] Skipping target: gen_localizations
[ ] [ +8 ms] Skipping target: gen_dart_plugin_registrant
[ ] [ +341 ms] Skipping target: unpack_linux
[ ] [ +370 ms] Skipping target: kernel_snapshot_program
[ ] [ +2 ms] Skipping target: native_assets
[ ] [ ] Skipping target: kernel_snapshot_native_assets
[ ] [ ] Skipping target: kernel_snapshot
[ ] [ ] invalidated build due to missing files: /media/varun/workspace/code/iprepdigiclass/DOES_NOT_EXIST_RERUN_FOR_WILDCARD717774378
[ ] [ +489 ms] debug_bundle_linux-x64_assets: Starting due to {InvalidatedReasonKind.inputMissing: The following inputs were missing:
/media/varun/workspace/code/iprepdigiclass/DOES_NOT_EXIST_RERUN_FOR_WILDCARD717774378}
[ +2 ms] [ +488 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[ ] [ +6 ms] shaderc command: [/home/varun/Documents/flutter/bin/cache/artifacts/engine/linux-x64/impellerc, --sksl, --runtime-stage-gles, --runtime-stage-vulkan, --iplr,
--sl=/media/varun/workspace/code/iprepdigiclass/build/flutter_assets/shaders/ink_sparkle.frag,
--spirv=/media/varun/workspace/code/iprepdigiclass/build/flutter_assets/shaders/ink_sparkle.frag.spirv,
--input=/home/varun/Documents/flutter/packages/flutter/lib/src/material/shaders/ink_sparkle.frag, --input-type=frag,
--include=/home/varun/Documents/flutter/packages/flutter/lib/src/material/shaders, --include=/home/varun/Documents/flutter/bin/cache/artifacts/engine/linux-x64/shader_lib]
[ ] [ +335 ms] debug_bundle_linux-x64_assets: Complete
[ ] [ +242 ms] Persisting file store
[ ] [ +8 ms] Done persisting file store
[ ] [ +7 ms] build succeeded.
[ ] [ +4 ms] "flutter assemble" took 2,425ms.
[ ] [ +169 ms] ensureAnalyticsSent: 162ms
[ ] [ ] Running 1 shutdown hook
[ ] [ ] Shutdown hooks complete
[ ] [ +9 ms] exiting with code 0
[ +164 ms] [2/9] Linking CXX shared library plugins/media_kit_libs_linux/libmedia_kit_libs_linux_plugin.so
[ +18 ms] [3/9] Linking CXX shared library plugins/screen_retriever/libscreen_retriever_plugin.so
[ +6 ms] [4/9] Linking CXX shared library plugins/window_manager/libwindow_manager_plugin.so
[ +26 ms] [5/9] Linking CXX shared library plugins/media_kit_video/libmedia_kit_video_plugin.so
[ +173 ms] [6/9] Building CXX object CMakeFiles/iprepdigiclass.dir/my_application.cc.o
[ +52 ms] [7/9] Building CXX object CMakeFiles/iprepdigiclass.dir/flutter/generated_plugin_registrant.cc.o
[ +204 ms] [8/9] Linking CXX executable intermediates_do_not_run/iprepdigiclass
[ ] [8/9] Install the project...
[ +6 ms] -- Install configuration: "Debug"
[ +6 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/iprepdigiclass
[ +2 ms] -- Set non-toolchain portion of runtime path of "/media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/iprepdigiclass" to "$ORIGIN/lib"
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/icudtl.dat
[ +67 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so
[+2063 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/lib/libmedia_kit_libs_linux_plugin.so
[ +1 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/lib/libmedia_kit_video_plugin.so
[ +8 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/lib/libscreen_retriever_plugin.so
[ +2 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/lib/libwindow_manager_plugin.so
[ +4 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/lib/libmedia_kit_native_event_loop.so
[ +32 ms] -- Up-to-date: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/lib
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.bin
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts/Inter-Black.ttf
[ +19 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts/Inter-Bold.ttf
[ +16 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts/Inter-ExtraBold.ttf
[ +19 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts/Inter-ExtraLight.ttf
[ +11 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts/Inter-Light.ttf
[ +12 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts/Inter-Medium.ttf
[ +11 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts/Inter-Regular.ttf
[ +14 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts/Inter-SemiBold.ttf
[ +15 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/fonts/Inter-Thin.ttf
[ +31 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/images
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/images/svgs
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/images/svgs/digitalclasslogo.svg
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/images/svgs/digitalclasslogov.svg
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/assets/images/svgs/usbnotfound.svg
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/configuration
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/configuration/debug.json
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/fonts
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[ +50 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
[+2043 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES.Z
[ +4 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[ +13 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/media_kit
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/media_kit/assets
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/media_kit/assets/web
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/media_kit/assets/web/hls1.4.10.js
[ +23 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/wakelock_plus
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/wakelock_plus/assets
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/packages/wakelock_plus/assets/no_sleep.js
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/shaders
[ ] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/shaders/ink_sparkle.frag
[ +1 ms] -- Installing: /media/varun/workspace/code/iprepdigiclass/build/linux/x64/debug/bundle/data/flutter_assets/version.json
[ +11 ms] Building Linux application... (completed in 8.3s)
[ +1 ms] ✓ Built build/linux/x64/debug/bundle/iprepdigiclass
[ +8 ms] Error waiting for a debug connection: The log reader stopped unexpectedly, or never started.
[ ] Error launching application on Linux.
[ ] "flutter run" took 8,944ms.
[ +3 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:874:9)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:93:3)
<asynchronous suspension>
[ +91 ms] ensureAnalyticsSent: 90ms
[ ] Running 2 shutdown hooks
[ +10 ms] Shutdown hooks complete
[ +75 ms] exiting with code 1
varun@varun-idreamhp:/media/varun/workspace/code/iprepdigiclass$
Flutter Doctor output
Doctor output
varun@varun-idreamhp:/media/varun/workspace/code/iprepdigiclass$ flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on Ubuntu 24.04.1 LTS 6.8.0-45-generic, locale en_US.UTF-8)
• Flutter version 3.24.3 on channel stable at /home/varun/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (6 days ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
• Ubuntu clang version 18.1.3 (1ubuntu1)
• cmake version 3.28.3
• ninja version 1.11.1
• pkg-config version 1.8.1
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
[✓] VS Code (version 1.93.1)
• VS Code at /usr/share/code
• Flutter extension version 3.96.0
[✓] Connected device (1 available)
• Linux (desktop) • linux • linux-x64 • Ubuntu 24.04.1 LTS 6.8.0-45-generic
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 3 categories.
varun@varun-idreamhp:/media/varun/workspace/code/iprepdigiclass$

My system is in dual boot, with windows 11 in other partition. I have one other partition which does not contain windows system files. when I try to compile the app in that only then this issue occurs. I have tried to move my code to ubuntu partition and it compiled normally. Does it affect which in which partition the code is put for flutter?
macos 15 flutter 3.24.3
@Jhinnn can you provide the logs made by flutter on system. not the flutter --verbose one
i create new project and flutter run -d macos
My system is in dual boot, with windows 11 in other partition.
@Varun-Idream Are you having a WSL setup with dual boot ? If so, can you provide wsl -l -v details ?
if not the case, can you provide the cpu and graphics card being used by the system ?
Also, if you create a new Flutter app (counter app) and run in same setup (linux desktop), do you still get same error ?
@darshankawar, I am not using WSL for this. The graphics card being used is Intel's IRIS Xe. in my system. Also my cpu 12th Gen Intel(R) Core(TM) i7-12700H.
And yes even when i create a counter app the same thing happens
Thanks for the update @Varun-Idream
Is it only occuring in latest stable version or has been occuring in previous stable as well ?
@darshankawar no i was using flutter 3.22.2 a little while back, it did not occur then, but recently i bought a new system and dual booted it. The previous one only had ubuntu 22.04 installed.
I am unable to replicate this on mac, but will keep the issue open based on the report and error triggered.
The video and the code sample shows more than just the basic template. Can you confirm if this occurs when running just the template example application? Could it be one of the plugins causing the problem?
@robert-ancell I am attaching a video with a new app setup. This happens with bolierplate code as well.
Uploading Screencast from 2024-09-23 17-27-01.webm…
Hi, I did a quick research on GitHub Actions.
It shows the issue is occurring on Ubuntu 24.04, 22.04 and 20.04.
Thanks.
Workflow output:
https://github.com/szk2s/flutter-issue-155343/actions/runs/11432029397
Workflow file:
name: Test
on:
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
test:
name: Run Tests
strategy:
fail-fast: false
matrix:
include:
- name: Ubuntu 24.04
runs-on: ubuntu-24.04
- name: Ubuntu 22.04
runs-on: ubuntu-22.04
- name: Ubuntu 20.04
runs-on: ubuntu-20.04
runs-on: ${{ matrix.runs-on }}
steps:
- run: sudo apt-get install -y ninja-build libgtk-3-dev
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.24.3
- run: flutter doctor -v
- run: flutter --version
- run: flutter create my_app
- name: flutter run
run: |
cd my_app
flutter run -d linux --verbose
|
gharchive/issue
| 2024-09-18T07:09:16 |
2025-04-01T04:34:16.917102
|
{
"authors": [
"Jhinnn",
"Varun-Idream",
"darshankawar",
"robert-ancell",
"szk2s"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/155343",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
2742897340
|
[flutter 3.27] crashlytics reports many ANR io.flutter.embedding.engine.FlutterJNI.nativeSurfaceDestroyed
Steps to reproduce
Random in production
Expected results
no report the issue
Actual results
crashlytics report ANR
Code sample
Code sample
No sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
main (native):tid=1 systid=27661
#00 pc 0x5e328 libc.so (syscall + 28)
#01 pc 0x63429 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 92)
#02 pc 0xaa373 libc.so (pthread_cond_wait + 32)
#03 pc 0x29d23f split_config.armeabi_v7a.apk!libflutter.so + 8454144
#04 pc 0x4dfe [anon:libc_malloc]
at io.flutter.embedding.engine.FlutterJNI.nativeSurfaceDestroyed(FlutterJNI.java)
at io.flutter.embedding.engine.FlutterJNI.onSurfaceDestroyed(FlutterJNI.java:667)
at io.flutter.embedding.engine.renderer.FlutterRenderer.stopRenderingToSurface(FlutterRenderer.java:1125)
at io.flutter.embedding.android.FlutterSurfaceView.disconnectSurfaceFromRenderer(FlutterSurfaceView.java:303)
at io.flutter.embedding.android.FlutterSurfaceView.access$400(FlutterSurfaceView.java:36)
at io.flutter.embedding.android.FlutterSurfaceView$1.surfaceDestroyed(FlutterSurfaceView.java:78)
at android.view.SurfaceView.notifySurfaceDestroyed(SurfaceView.java:1842)
at android.view.SurfaceView.updateSurface(SurfaceView.java:1130)
at android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:310)
at android.view.View.dispatchWindowVisibilityChanged(View.java:14778)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1616)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1616)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1616)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2519)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2038)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8359)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:972)
at android.view.Choreographer.doCallbacks(Choreographer.java:796)
at android.view.Choreographer.doFrame(Choreographer.java:731)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7974)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:948)
Flutter Doctor output
Doctor output
[Paste your output here]
marked no related to another popular 3.27 issue https://github.com/flutter/flutter/issues/160228
@peterweb2005
The stacktrace probably looks similar to https://github.com/flutter/flutter/issues/156728 that you can check for reference to see if it helps in your case or not.
@peterweb2005 The stacktrace probably looks similar to #156728 that you can check for reference to see if it helps in your case or not.
don't know, only know that my apps load no gif
at io.flutter.embedding.engine.FlutterJNI.nativeSurfaceDestroyed(FlutterJNI.java)
at io.flutter.embedding.engine.FlutterJNI.onSurfaceDestroyed(FlutterJNI.java:667)
at io.flutter.embedding.engine.renderer.FlutterRenderer.stopRenderingToSurface(FlutterRenderer.java:1125)
at io.flutter.embedding.android.FlutterSurfaceView.disconnectSurfaceFromRenderer(FlutterSurfaceView.java:303)
at io.flutter.embedding.android.FlutterSurfaceView.access$400(FlutterSurfaceView.java:36)
at io.flutter.embedding.android.FlutterSurfaceView$1.surfaceDestroyed(FlutterSurfaceView.java:78)
I will keep the issue open based on this stacktrace. Ideally we would need a reproducible case in order to analyze further.
|
gharchive/issue
| 2024-12-16T16:49:58 |
2025-04-01T04:34:16.925485
|
{
"authors": [
"darshankawar",
"peterweb2005"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/160357",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
309835787
|
Using mysql in flutter
I'm new to flutter and i really want to know, is there a way to connect to a database server (for instance mysql which is hosted on inmotion server) in flutter rather using firebase.
I'm working on a project whichi need to connect to the mysql database (hosted on inmotion server) to generate some Account report. Pls i need someone to help out.
Thanks
I have try to get in touch with my hosting provider (inmotion) but they
don't have an API for MySQL what can I do.
I forget to say this I have the project writing in PHP which is hosted on
inmotion server. I only want to make an app that I can use to fetch some
database from the database and make a report with the data.
Usually you build a server app yourself that provides such an API. You can do that using Dart, PHP, or any other language.
Thanks I really appreciate you reply.
Let say the API was written in PHP how can I use it in with flutter.
Thanks.
You can just make HTTP requests https://webdev.dartlang.org/articles/get-data/json-web-service
Thanks a lot.
I will try and work on it. I really appreciate chatting with you.
Sure, if you're stuck please ask in
https://stackoverflow.com/questions/tagged/flutter
https://gitter.im/flutter/flutter
https://gitter.im/dart-lang/TALK-general
GitHub issues are for bug reports and feature requests.
Would you mind closing this issue?
|
gharchive/issue
| 2018-03-29T17:15:36 |
2025-04-01T04:34:16.930865
|
{
"authors": [
"Ajikuru",
"zoechi"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/16068",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
362938690
|
TextField disposes manually-provided FocusNode
TextField calls dispose even when a FocusNode is manually provided. Not sure if it is intended behaviour, but in my use case, I have a list of FocusNodes in my state - only one of them is used for a TextField. This means an exception is thrown when I dispose them all.
Steps to Reproduce
import 'package:flutter/material.dart';
void main() => runApp(MaterialApp(
title: 'Demo',
home: MyApp()
));
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Demo'),
),
body: Center(
child: MaterialButton(
child: Text("Dialogue"),
onPressed: () {
FocusNode myFocusNode = FocusNode();
showDialog(
context: context,
builder: (context) => AlertDialog(
content: TextField(focusNode: myFocusNode),
)
).then((_) => myFocusNode.dispose());
},
),
)
);
}
}
Use a TextField with your own FocusNode
Dispose of the FocusNode
Dispose of the TextField
Logs
/flutter ( 9777): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 9777): The following assertion was thrown while finalizing the widget tree:
I/flutter ( 9777): A FocusNode was used after being disposed.
I/flutter ( 9777): Once you have called dispose() on a FocusNode, it can no longer be used.
[√] Flutter (Channel master, v0.9.3-pre.20, on Microsoft Windows [Version 10.0.17134.285], locale en-GB)
• Flutter version 0.9.3-pre.20 at D:\code\flutter
• Framework revision 6d134e0c86 (5 hours ago), 2018-09-23 00:43:05 -0700
• Engine revision 57fd394e59
• Dart version 2.1.0-dev.5.0.flutter-654c4babc8
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\lucas\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 23.2.2
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[√] IntelliJ IDEA Community Edition (version 2017.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.3
• Flutter plugin version 23.1.2
• Dart plugin version 173.4700
[√] VS Code, 64-bit edition (version 1.27.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 2.18.0
[√] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)
• No issues found!
Provided a minimal reproduction. Note that it's pointless to provide your own FocusNode in this case, but it will be difficult to show a case where its useful that's also minimal.
Thanks for the minimal test case!
What's going on here isn't the TextField disposing its focusNode. The TextField is trying to remove the listener it added to the focusNode, and unfortunately it's doing so after the app has disposed the focusNode.
The focusNode should be disposed when the stateful widget that contains it is disposed, rather than when its route is popped (which is too early).
In this case it is necessary to create a StatefulWidget that manages the focusNode's lifetime. Here's a version of the test case that does that: https://gist.github.com/HansMuller/bac7f18890c33907dfa4300943ad971d
I'm going to close this bug since things are working as intended. If you think there's still an outstanding problem, please reopen it.
Thanks for the example. My example wasn't very good, actually what I was doing in my real app was closer to what you suggested.
It turns out I was disposing the custom state myself twice - once in an InheritedWidget-style provider, and redundantly again in the widget that creates the provider.
|
gharchive/issue
| 2018-09-23T12:27:35 |
2025-04-01T04:34:16.936629
|
{
"authors": [
"HansMuller",
"lucaslcode"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/22187",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
445745839
|
Flutter Google-Maps Killing the App with No Errors!
I have been facing number of issues with Flutter. Several times a day, Flutter apps just stops responding. This also results in memory leaks, performance issues and the CPU churning. It maybe related to VS Code but happens 2-3 a day sometimes even more.
Flutter integration with Google Maps dart plugin is also broken. The app simply kills itself silently without any output messages.
Here is the error:
Error output from CocoaPods:
↳
[!] <PBXGroup UUID=97C146E51CF9000F007C117D> attempted to initialize an object with an unknown UUID. CF3B75C9A7D2FA2A4C99F110 for attribute: children. This can be the result of a merge and the unknown UUID is being discarded.
[!] Automatically assigning platform ios with version 8.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
Error running pod install
Error launching application on iPhone Xʀ.
Could the issue with the google maps plugin maybe be related to this one? #31152
Hi @azamsharp
if you're still experiencing this problem with latest stable, please create a new issue and provide the information required in the template.
Thank you
|
gharchive/issue
| 2019-05-18T19:16:47 |
2025-04-01T04:34:16.940645
|
{
"authors": [
"TahaTesser",
"azamsharp",
"manmetplok"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/32975",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
494945038
|
video_player add media lock screen
Use case
Proposal
Add the ability to play audio files in the background when user closes app.
Add the ability to show the media player controls on the lock screen while media plays on the background.
Any updates on this feature?
Thank you.
|
gharchive/issue
| 2019-09-18T02:07:12 |
2025-04-01T04:34:16.942892
|
{
"authors": [
"Sun3"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/40722",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
503000508
|
Gradle build failed to produce an Android bundle package
I'm trying to build my apk for the first time. the app runs on the debug version (admob crashes it with similar error but it's commented for now
there are my dependencies ==============================
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
firebase_core: ^0.4.0
firebase_analytics: ^1.1.0
cloud_firestore: ^0.12.9+4
firebase_auth: 0.14.0+5
google_sign_in: ^3.2.4
flutter_slidable: "^0.5.3"
percent_indicator: "^2.1.1+1"
url_launcher: ^5.1.4
rxdart: 0.20.0
#firebase_admob: 0.9.0
image_picker: 0.4.6
cupertino_icons: ^0.1.2
this is my doctor -v: ==============================
[√] Flutter (Channel stable, v1.9.1+hotfix.4, on Microsoft Windows [Version 10.0.18362.388], locale pt-PT)
• Flutter version 1.9.1+hotfix.4 at F:\Programas\Coding\Flutter\flutter
• Framework revision cc949a8e8b (8 days ago), 2019-09-27 15:04:59 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at D:\Users\RaitonGG\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 28.0.3
• ANDROID_HOME = D:\Users\RaitonGG\AppData\Local\Android\sdk
• Java binary at: C:\Program Files\Android\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:\Program Files\Android\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)
[√] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.0.0 (API 26) (emulator)
• No issues found!
this is the flutter build apk: ==============================
You are building a fat APK that includes binaries for android-arm, android-arm64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to
reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Initializing gradle... 0,7s
Resolving dependencies... 2,0s
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 1,7s
Gradle task assembleRelease failed with exit code 1
this is the flutter build apk -v ==============================
[ +20 ms] executing: [F:\Programas\Coding\Flutter\flutter\] git log -n 1 --pretty=format:%H
[ +50 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] cc949a8e8b9cf394b9290a8e80f87af3e207dce5
[ ] executing: [F:\Programas\Coding\Flutter\flutter\] git describe --match v*.*.* --first-parent
--long --tags
[ +42 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v1.9.1+hotfix.4-0-gcc949a8e8
[ +5 ms] executing: [F:\Programas\Coding\Flutter\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +33 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [F:\Programas\Coding\Flutter\flutter\] git ls-remote --get-url origin
[ +32 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +62 ms] executing: [F:\Programas\Coding\Flutter\flutter\] git rev-parse --abbrev-ref HEAD
[ +36 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +33 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +2 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +55 ms] Found plugin cloud_firestore at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9+4\
[ +4 ms] Found plugin firebase_analytics at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_analytics-1.2.0+1\
[ +1 ms] Found plugin firebase_auth at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.14.0+5\
[ +1 ms] Found plugin firebase_core at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.0+9\
[ +6 ms] Found plugin google_sign_in at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-3.3.0+1\
[ +1 ms] Found plugin image_picker at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.4.6\
[ +13 ms] Found plugin url_launcher at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.1.4\
[ +25 ms] Found plugin cloud_firestore at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9+4\
[ +3 ms] Found plugin firebase_analytics at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_analytics-1.2.0+1\
[ +1 ms] Found plugin firebase_auth at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.14.0+5\
[ +1 ms] Found plugin firebase_core at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.0+9\
[ +4 ms] Found plugin google_sign_in at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-3.3.0+1\
[ +1 ms] Found plugin image_picker at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.4.6\
[ +10 ms] Found plugin url_launcher at
F:\Programas\Coding\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.1.4\
[ +33 ms] You are building a fat APK that includes binaries for android-arm, android-arm64.
[ +1 ms] If you are deploying the app to the Play Store, it's recommended to use app bundles or split the
APK to
reduce the APK size.
[ ] To generate an app bundle, run:
[ ] flutter build appbundle --target-platform android-arm,android-arm64
[ ] Learn more on: https://developer.android.com/guide/app-bundle
[ ] To split the APKs per ABI, run:
[ ] flutter build apk --target-platform android-arm,android-arm64 --split-per-abi
[ ] Learn more on:
https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
[ +9 ms] Initializing gradle...
[ +1 ms] Using gradle from D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android\gradlew.bat.
[ +211 ms] executing: D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android\gradlew.bat -v
[ +433 ms]
------------------------------------------------------------
Gradle 5.4.1
------------------------------------------------------------
Build time: 2019-04-26 08:14:42 UTC
Revision: 261d171646b36a6a28d5a19a69676cd098a4c19d
Kotlin: 1.3.21
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM: 1.8.0_202-release (JetBrains s.r.o 25.202-b03)
OS: Windows 10 10.0 amd64
[ +9 ms] Initializing gradle... (completed in 0,6s)
[ +8 ms] Resolving dependencies...
[ ] executing: [D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android\]
D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android\gradlew.bat app:properties
[ +995 ms]
> Configure project :app
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with
'variant.getMergeAssetsProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeAssets(), use
-Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced
with 'variantOutput.getProcessResourcesProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variantOutput.getProcessResources(), use
-Pandroid.debug.obsoleteApi=true on the command line to display more information.
> Task :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
INTERNAL__CHECKED_MINIMUM_PLUGIN_VERSIONS: true
_internalAndroidGradlePluginDependencyCheckerRegistered: true
allprojects: [project ':app']
android:
com.android.build.gradle.internal.dsl.BaseAppModuleExtension_Decorated@68b0d0eb
ant: org.gradle.api.internal.project.DefaultAntBuilder@1e8e6dcc
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@59927f97
archivesBaseName: app
artifacts:
org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@66469c0f
asDynamicObject: DynamicObject for project ':app'
autoTargetJvmDisabled: false
baseClassLoaderScope:
org.gradle.api.internal.initialization.DefaultClassLoaderScope@89f2fa4
buildDir: D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\build\app
buildFile: D:\Aplicacoes_Flutter\House
Portfolio\house_portfolio\android\app\build.gradle
buildOutputs: BaseVariantOutput container
buildPath: :
buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@6592d376
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@2fb67694
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope:
org.gradle.api.internal.initialization.DefaultClassLoaderScope@7d423189
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestKotlin: task ':app:compileDebugAndroidTestKotlin'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugKotlin: task ':app:compileDebugKotlin'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestKotlin: task ':app:compileDebugUnitTestKotlin'
compileFlutterBuildDebugArm: task ':app:compileFlutterBuildDebugArm'
compileFlutterBuildDebugArm64: task ':app:compileFlutterBuildDebugArm64'
compileFlutterBuildProfileArm: task ':app:compileFlutterBuildProfileArm'
compileFlutterBuildProfileArm64: task ':app:compileFlutterBuildProfileArm64'
compileFlutterBuildReleaseArm: task ':app:compileFlutterBuildReleaseArm'
compileFlutterBuildReleaseArm64: task ':app:compileFlutterBuildReleaseArm64'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileKotlin: task ':app:compileProfileKotlin'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestKotlin: task ':app:compileProfileUnitTestKotlin'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseKotlin: task ':app:compileReleaseKotlin'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestKotlin: task ':app:compileReleaseUnitTestKotlin'
components: SoftwareComponentInternal set
configurationActions:
org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@cd1d38a
configurationTargetIdentifier:
org.gradle.configuration.ConfigurationTargetIdentifier$1@7f2bb805
configurations: configuration container
convention: org.gradle.api.internal.plugins.DefaultConvention@63b573a2
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
defaultArtifacts:
org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@f17c824
defaultTasks: []
deferredProjectConfiguration:
org.gradle.api.internal.project.DeferredProjectConfiguration@dd807cf
dependencies:
org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@2
f916de1
dependencyLocking:
org.gradle.internal.locking.DefaultDependencyLockingHandler_Decorated@677123d2
depth: 1
description: null
displayName: project ':app'
distsDir: D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\build\app\distributions
distsDirName: distributions
docsDir: D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\build\app\docs
docsDirName: docs
ext: org.gradle.internal.extensibility.DefaultExtraPropertiesExtension@569681f0
extensions: org.gradle.api.internal.plugins.DefaultConvention@63b573a2
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@1b3d1292
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@3f678a71
flutter: FlutterExtension_Decorated@516641fc
googleServices:
com.google.gms.googleservices.GoogleServicesPlugin$GoogleServicesPluginConfig_Decorated
@331dc321
gradle: build 'android'
group: android
identityPath: :app
inheritedScope:
org.gradle.internal.extensibility.ExtensibleDynamicObject$InheritedDynamicObject@4047ee
52
java: org.gradle.api.plugins.internal.DefaultJavaPluginExtension_Decorated@43f0c029
kotlin:
org.jetbrains.kotlin.gradle.dsl.KotlinAndroidProjectExtension_Decorated@207a000a
kotlin.plugin.loaded.in.projects.1.3.41: :app
kotlinTestRegistry:
org.jetbrains.kotlin.gradle.testing.internal.KotlinTestsRegistry@7da3dbef
kotlin_version: 1.2.71
layout: org.gradle.api.internal.file.DefaultProjectLayout@2699f77
libsDir: D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\build\app\libs
libsDirName: libs
listenerBuildOperationDecorator:
org.gradle.configuration.internal.DefaultListenerBuildOperationDecorator@475df69b
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@790bcf11
logging: org.gradle.internal.logging.services.DefaultLoggingManager@3757d42a
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@54480d8c
modelSchemaStore:
org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@717d9a87
module: org.gradle.api.internal.artifacts.ProjectBackedModule@7ff71dcc
mutationState: project :app
name: app
normalization:
org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@1a14b255
objects: org.gradle.api.internal.model.DefaultObjectFactory@325566a2
org.gradle.jvmargs: -Xmx1536M
packLibsflutterBuildDebug: task ':app:packLibsflutterBuildDebug'
packLibsflutterBuildProfile: task ':app:packLibsflutterBuildProfile'
packLibsflutterBuildRelease: task ':app:packLibsflutterBuildRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@3b2a1246
plugins: [org.gradle.buildinit.plugins.BuildInitPlugin@2f1a4cc2,
org.gradle.buildinit.plugins.WrapperPlugin@10a3c56e,
org.gradle.api.plugins.HelpTasksPlugin@95ac1ae,
com.android.build.gradle.api.AndroidBasePlugin@62095ae1,
org.gradle.language.base.plugins.LifecycleBasePlugin@1f08663e,
org.gradle.api.plugins.BasePlugin@110e4804,
org.gradle.api.plugins.ReportingBasePlugin@4e86ac3a,
org.gradle.api.plugins.JavaBasePlugin@66f03959,
com.android.build.gradle.AppPlugin@3a159a2f,
org.jetbrains.kotlin.gradle.plugin.KotlinAndroidPluginWrapper@5938ab01,
FlutterPlugin@22242b60, com.google.gms.googleservices.GoogleServicesPlugin@45f9e48c]
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugGoogleServices: task ':app:processDebugGoogleServices'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processOperations:
org.gradle.process.internal.DefaultExecActionFactory$DecoratingExecActionFactory@532bda
fe
processProfileGoogleServices: task ':app:processProfileGoogleServices'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processReleaseGoogleServices: task ':app:processReleaseGoogleServices'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
project: project ':app'
projectConfigurator:
org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@4f570339
projectDir: D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android\app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@4c2b4e98
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@46fc0e15
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@28b3cdd8
publicType: org.gradle.api.plugins.BasePluginConvention
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@4b8dc01e
reportsDir: D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\build\app\reports
repositories: repository container
resourceLoader:
org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@3cb44c9d
resources: org.gradle.api.internal.resources.DefaultResourceHandler@2a7d9a1d
rootDir: D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android
rootProject: root project 'android'
script: false
scriptHandlerFactory:
org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@cd7a5e1
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@297f0955
serviceRegistryFactory:
org.gradle.internal.service.scopes.ProjectScopeServices$4@37316843
services: ProjectScopeServices
sourceCompatibility: 1.8
sourceSets: SourceSet container
standardOutputCapture:
org.gradle.internal.logging.services.DefaultLoggingManager@3757d42a
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
testReportDir: D:\Aplicacoes_Flutter\House
Portfolio\house_portfolio\build\app\reports\tests
testReportDirName: tests
testResultsDir: D:\Aplicacoes_Flutter\House
Portfolio\house_portfolio\build\app\test-results
testResultsDirName: test-results
version: unspecified
1 actionable task: 1 executed
[ +16 ms] executing: [D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android\]
D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android\gradlew.bat app:tasks --all --console=auto
[+1036 ms]
> Configure project :app
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use
registerGeneratedResFolders(FileCollection)
WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with
'variant.getMergeAssetsProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeAssets(), use
-Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced
with 'variantOutput.getProcessResourcesProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variantOutput.getProcessResources(), use
-Pandroid.debug.obsoleteApi=true on the command line to display more information.
> Task :app:tasks
------------------------------------------------------------
Tasks runnable from project :app
------------------------------------------------------------
Android tasks
-------------
androidDependencies - Displays the Android dependencies of the project.
signingReport - Displays the signing info for the base and test modules
sourceSets - Prints out all the source sets defined in this project.
Build tasks
-----------
assemble - Assemble main outputs for all the variants.
assembleAndroidTest - Assembles all the Test applications.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
bundle - Assemble bundles for all the variants.
clean - Deletes the build directory.
cleanBuildCache - Deletes the build cache directory.
compileDebugAndroidTestSources
compileDebugSources
compileDebugUnitTestSources
compileProfileSources
compileProfileUnitTestSources
compileReleaseSources
compileReleaseUnitTestSources
Cleanup tasks
-------------
lintFix - Runs lint on all variants and applies any safe suggestions to the source
code.
Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in project ':app'.
components - Displays the components produced by project ':app'. [incubating]
dependencies - Displays all dependencies declared in project ':app'.
dependencyInsight - Displays the insight into a specific dependency in project ':app'.
dependentComponents - Displays the dependent components of components in project
':app'. [incubating]
help - Displays a help message.
model - Displays the configuration model of project ':app'. [incubating]
projects - Displays the sub-projects of project ':app'.
properties - Displays the properties of project ':app'.
tasks - Displays the tasks runnable from project ':app'.
Install tasks
-------------
installDebug - Installs the Debug build.
installDebugAndroidTest - Installs the android (on device) tests for the Debug build.
installProfile - Installs the Profile build.
installRelease - Installs the Release build.
uninstallAll - Uninstall all applications.
uninstallDebug - Uninstalls the Debug build.
uninstallDebugAndroidTest - Uninstalls the android (on device) tests for the Debug
build.
uninstallProfile - Uninstalls the Profile build.
uninstallRelease - Uninstalls the Release build.
Verification tasks
------------------
check - Runs all checks.
connectedAndroidTest - Installs and runs instrumentation tests for all flavors on
connected devices.
connectedCheck - Runs all device checks on currently connected devices.
connectedDebugAndroidTest - Installs and runs the tests for debug on connected devices.
deviceAndroidTest - Installs and runs instrumentation tests using all Device Providers.
deviceCheck - Runs all device checks using Device Providers and Test Servers.
lint - Runs lint on all variants.
lintDebug - Runs lint on the Debug build.
lintProfile - Runs lint on the Profile build.
lintRelease - Runs lint on the Release build.
lintVitalRelease - Runs lint on just the fatal issues in the release build.
test - Run unit tests for all variants.
testDebugUnitTest - Run unit tests for the debug build.
testProfileUnitTest - Run unit tests for the profile build.
testReleaseUnitTest - Run unit tests for the release build.
Other tasks
-----------
assembleDebug - Assembles main output for variant debug
assembleDebugAndroidTest - Assembles main output for variant debugAndroidTest
assembleDebugUnitTest - Assembles main output for variant debugUnitTest
assembleProfile - Assembles main output for variant profile
assembleProfileUnitTest - Assembles main output for variant profileUnitTest
assembleRelease - Assembles main output for variant release
assembleReleaseUnitTest - Assembles main output for variant releaseUnitTest
buildDebugPreBundle
buildProfilePreBundle
buildReleasePreBundle
bundleDebug - Assembles bundle for variant debug
bundleDebugAndroidTestClasses
bundleDebugAndroidTestResources
bundleDebugClasses
bundleDebugResources
bundleDebugUnitTestClasses
bundleProfile - Assembles bundle for variant profile
bundleProfileClasses
bundleProfileResources
bundleProfileUnitTestClasses
bundleRelease - Assembles bundle for variant release
bundleReleaseClasses
bundleReleaseResources
bundleReleaseUnitTestClasses
checkDebugAndroidTestDuplicateClasses
checkDebugDuplicateClasses
checkDebugManifest
checkProfileDuplicateClasses
checkProfileManifest
checkReleaseDuplicateClasses
checkReleaseManifest
collectDebugDependencies
collectProfileDependencies
collectReleaseDependencies
compileDebugAidl
compileDebugAndroidTestAidl
compileDebugAndroidTestJavaWithJavac
compileDebugAndroidTestKotlin - Compiles the debugAndroidTest kotlin.
compileDebugAndroidTestRenderscript
compileDebugAndroidTestShaders
compileDebugJavaWithJavac
compileDebugKotlin - Compiles the debug kotlin.
compileDebugRenderscript
compileDebugShaders
compileDebugUnitTestJavaWithJavac
compileDebugUnitTestKotlin - Compiles the debugUnitTest kotlin.
compileFlutterBuildDebugArm
compileFlutterBuildDebugArm64
compileFlutterBuildProfileArm
compileFlutterBuildProfileArm64
compileFlutterBuildReleaseArm
compileFlutterBuildReleaseArm64
compileLint
compileProfileAidl
compileProfileJavaWithJavac
compileProfileKotlin - Compiles the profile kotlin.
compileProfileRenderscript
compileProfileShaders
compileProfileUnitTestJavaWithJavac
compileProfileUnitTestKotlin - Compiles the profileUnitTest kotlin.
compileReleaseAidl
compileReleaseJavaWithJavac
compileReleaseKotlin - Compiles the release kotlin.
compileReleaseRenderscript
compileReleaseShaders
compileReleaseUnitTestJavaWithJavac
compileReleaseUnitTestKotlin - Compiles the releaseUnitTest kotlin.
configureDebugDependencies
configureProfileDependencies
configureReleaseDependencies
consumeConfigAttr
copyFlutterAssetsDebug
copyFlutterAssetsProfile
copyFlutterAssetsRelease
createDebugCompatibleScreenManifests
createMockableJar
createProfileCompatibleScreenManifests
createReleaseCompatibleScreenManifests
desugarDebugAndroidTestFileDependencies
desugarDebugFileDependencies
desugarProfileFileDependencies
desugarReleaseFileDependencies
dummydebugUnitTest
dummyprofileUnitTest
dummyreleaseUnitTest
extractApksForDebug
extractApksForProfile
extractApksForRelease
extractProguardFiles
generateDebugAndroidTestAssets
generateDebugAndroidTestBuildConfig
generateDebugAndroidTestResources
generateDebugAndroidTestResValues
generateDebugAndroidTestSources
generateDebugAssets
generateDebugBuildConfig
generateDebugFeatureMetadata
generateDebugFeatureTransitiveDeps
generateDebugResources
generateDebugResValues
generateDebugSources
generateDebugUnitTestAssets
generateDebugUnitTestResources
generateDebugUnitTestSources
generateProfileAssets
generateProfileBuildConfig
generateProfileFeatureMetadata
generateProfileFeatureTransitiveDeps
generateProfileResources
generateProfileResValues
generateProfileSources
generateProfileUnitTestAssets
generateProfileUnitTestResources
generateProfileUnitTestSources
generateReleaseAssets
generateReleaseBuildConfig
generateReleaseFeatureMetadata
generateReleaseFeatureTransitiveDeps
generateReleaseResources
generateReleaseResValues
generateReleaseSources
generateReleaseUnitTestAssets
generateReleaseUnitTestResources
generateReleaseUnitTestSources
javaPreCompileDebug
javaPreCompileDebugAndroidTest
javaPreCompileDebugUnitTest
javaPreCompileProfile
javaPreCompileProfileUnitTest
javaPreCompileRelease
javaPreCompileReleaseUnitTest
mainApkListPersistenceDebug
mainApkListPersistenceDebugAndroidTest
mainApkListPersistenceProfile
mainApkListPersistenceRelease
makeApkFromBundleForDebug
makeApkFromBundleForProfile
makeApkFromBundleForRelease
mergeDebugAndroidTestAssets
mergeDebugAndroidTestGeneratedProguardFiles
mergeDebugAndroidTestJavaResource
mergeDebugAndroidTestJniLibFolders
mergeDebugAndroidTestNativeLibs
mergeDebugAndroidTestResources
mergeDebugAndroidTestShaders
mergeDebugAssets
mergeDebugGeneratedProguardFiles
mergeDebugJavaResource
mergeDebugJniLibFolders
mergeDebugNativeLibs
mergeDebugResources
mergeDebugShaders
mergeDexRelease
mergeExtDexDebug
mergeExtDexDebugAndroidTest
mergeExtDexProfile
mergeExtDexRelease
mergeLibDexDebug
mergeLibDexDebugAndroidTest
mergeLibDexProfile
mergeProfileAssets
mergeProfileGeneratedProguardFiles
mergeProfileJavaResource
mergeProfileJniLibFolders
mergeProfileNativeLibs
mergeProfileResources
mergeProfileShaders
mergeProjectDexDebug
mergeProjectDexDebugAndroidTest
mergeProjectDexProfile
mergeReleaseAssets
mergeReleaseGeneratedProguardFiles
mergeReleaseJavaResource
mergeReleaseJniLibFolders
mergeReleaseNativeLibs
mergeReleaseResources
mergeReleaseShaders
packageDebug
packageDebugAndroidTest
packageDebugBundle
packageDebugUniversalApk
packageProfile
packageProfileBundle
packageProfileUniversalApk
packageRelease
packageReleaseBundle
packageReleaseUniversalApk
packLibsflutterBuildDebug
packLibsflutterBuildProfile
packLibsflutterBuildRelease
preBuild
preDebugAndroidTestBuild
preDebugBuild
preDebugUnitTestBuild
prepareKotlinBuildScriptModel
prepareLintJar
prepareLintJarForPublish
preProfileBuild
preProfileUnitTestBuild
preReleaseBuild
preReleaseUnitTestBuild
processDebugAndroidTestJavaRes
processDebugAndroidTestManifest
processDebugAndroidTestResources
processDebugGoogleServices
processDebugJavaRes
processDebugManifest
processDebugResources
processDebugUnitTestJavaRes
processProfileGoogleServices
processProfileJavaRes
processProfileManifest
processProfileResources
processProfileUnitTestJavaRes
processReleaseGoogleServices
processReleaseJavaRes
processReleaseManifest
processReleaseResources
processReleaseUnitTestJavaRes
reportBuildArtifactsDebug
reportBuildArtifactsProfile
reportBuildArtifactsRelease
reportSourceSetTransformAndroidTest
reportSourceSetTransformAndroidTestDebug
reportSourceSetTransformDebug
reportSourceSetTransformMain
reportSourceSetTransformProfile
reportSourceSetTransformRelease
reportSourceSetTransformTest
reportSourceSetTransformTestDebug
reportSourceSetTransformTestProfile
reportSourceSetTransformTestRelease
resolveConfigAttr
signDebugBundle
signingConfigWriterDebug
signingConfigWriterDebugAndroidTest
signingConfigWriterProfile
signingConfigWriterRelease
signProfileBundle
signReleaseBundle
stripDebugDebugSymbols
stripProfileDebugSymbols
stripReleaseDebugSymbols
transformClassesWithDexBuilderForDebug
transformClassesWithDexBuilderForDebugAndroidTest
transformClassesWithDexBuilderForProfile
transformClassesWithDexBuilderForRelease
validateSigningDebug
validateSigningDebugAndroidTest
validateSigningProfile
validateSigningRelease
writeDebugApplicationId
writeDebugModuleMetadata
writeProfileApplicationId
writeProfileModuleMetadata
writeReleaseApplicationId
writeReleaseModuleMetadata
Rules
-----
Pattern: clean<TaskName>: Cleans the output files of a task.
Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.
Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a
configuration.
1 actionable task: 1 executed
[ +12 ms] Resolving dependencies... (completed in 2,1s)
[ +4 ms] Running Gradle task 'assembleRelease'...
[ +2 ms] executing: [D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android\]
D:\Aplicacoes_Flutter\House Portfolio\house_portfolio\android\gradlew.bat -Pverbose=true
-Ptarget=lib\main.dart -Ptrack-widget-creation=false -Ptarget-platform=android-arm,android-arm64
assembleRelease
[ +913 ms] > Configure project :app
[ +1 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[ ] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[ ] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[ ] WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with
'variant.getMergeAssetsProvider()'.
[ ] It will be removed at the end of 2019.
[ ] For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[ ] To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on
the command line to display more information.
[ ] WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with
'variantOutput.getProcessResourcesProvider()'.
[ ] It will be removed at the end of 2019.
[ ] For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[ ] To determine what is calling variantOutput.getProcessResources(), use
-Pandroid.debug.obsoleteApi=true on the command line to display more information.
[ +381 ms] *********************************************************
[ ] WARNING: This version of cloud_firestore will break your Android build if it or its dependencies
aren't compatible with AndroidX.
[ ] See https://goo.gl/CP92wY for more information on the problem and how to fix it.
[ ] This warning prints for all Android build failures. The real root cause of the error
may be unrelated.
[ ] *********************************************************
[ +357 ms] Running Gradle task 'assembleRelease'... (completed in 1,7s)
[ +2 ms] "flutter apk" took 4 656ms.
Gradle task assembleRelease failed with exit code 1
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1 _buildGradleProjectV2 (package:flutter_tools/src/android/gradle.dart:751:5)
<asynchronous suspension>
#2 buildGradleProject (package:flutter_tools/src/android/gradle.dart:494:14)
<asynchronous suspension>
#3 buildApk (package:flutter_tools/src/android/apk.dart:34:9)
<asynchronous suspension>
#4 BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:79:11)
<asynchronous suspension>
#5 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:490:18)
#6 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#7 _rootRunUnary (dart:async/zone.dart:1132:38)
#8 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#9 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#10 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#11 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#12 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#13 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:552:7)
#14 _rootRun (dart:async/zone.dart:1124:13)
#15 _CustomZone.run (dart:async/zone.dart:1021:19)
#16 _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#17 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#18 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#19 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#20 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#21 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)
I upgraded all my dependencies so they could work with androidX and problem solved
Cool, then I think it's safe to close the issue.
@RaitonGG how did you update all dependencies to android x
I am getting the same issue, I am solving by generating bundle/apk from android studio. Don't know why flutter produce this issue now, everything was going well till last week
|
gharchive/issue
| 2019-10-05T18:44:08 |
2025-04-01T04:34:16.960130
|
{
"authors": [
"BondarenkoStas",
"Mohammad-Quanit",
"RaitonGG",
"quetool"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/42058",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
512946002
|
Flutter CupertinoNavBar make leading content expand?
Simillar question on stackoverflow:
https://stackoverflow.com/questions/58578386/flutter-cupertinonavbar-make-leading-content-expand
Hi @mana-ai
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
You can follow up on https://github.com/flutter/flutter/issues/36689 which is a feature request instead of a question.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you
|
gharchive/issue
| 2019-10-27T10:10:13 |
2025-04-01T04:34:16.966647
|
{
"authors": [
"mana-ai",
"pedromassangocode"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/43590",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
529181238
|
Build aar fails if one plugin depends on another plugin in gradle.
I have a project structured like this:
project
| - pluginA
| - some directory
| - pluginB
pluginA depends on pluginB.
When run flutter build aar in project directory, I got this:
[ +13 ms] Gradle task assembleAarDebug failed with exit code 1
[ +58 ms] FAILURE: Build failed with an exception.
[ ] * Where:
[ ] Script 'flutter/packages/flutter_tools/gradle/flutter.gradle' line: 929
[ ] * What went wrong:
[ ] Execution failed for task ':flutter:buildPluginDebugMethodChannel'.
[ ] > Process 'command '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
[ +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
[ ] See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD FAILED in 24s
[ +397 ms] Running Gradle task 'assembleAarDebug'... (completed in 25.2s)
[ +3 ms] "flutter aar" took 28,766ms.
Gradle task assembleAarDebug failed with exit code 1
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1 buildGradleAar (package:flutter_tools/src/android/gradle.dart:577:5)
<asynchronous suspension>
#2 AarBuilderImpl.build (package:flutter_tools/src/android/aar.dart:54:11)
<asynchronous suspension>
#3 BuildAarCommand.runCommand (package:flutter_tools/src/commands/build_aar.dart:77:22)
<asynchronous suspension>
#4 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:490:18)
<asynchronous suspension>
#5 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:407:33)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:29)
<asynchronous suspension>
#7 _rootRun (dart:async/zone.dart:1124:13)
#8 _CustomZone.run (dart:async/zone.dart:1021:19)
#9 _runZoned (dart:async/zone.dart:1516:10)
#10 runZoned (dart:async/zone.dart:1463:12)
#11 AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
<asynchronous suspension>
#12 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:397:20)
#13 CommandRunner.runCommand (package:args/command_runner.dart:197:27)
<asynchronous suspension>
#14 FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:402:21)
<asynchronous suspension>
#15 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:29)
<asynchronous suspension>
#16 _rootRun (dart:async/zone.dart:1124:13)
#17 _CustomZone.run (dart:async/zone.dart:1021:19)
#18 _runZoned (dart:async/zone.dart:1516:10)
#19 runZoned (dart:async/zone.dart:1463:12)
#20 AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
<asynchronous suspension>
#21 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
<asynchronous suspension>
#22 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#23 new Future.sync (dart:async/future.dart:224:31)
#24 CommandRunner.run (package:args/command_runner.dart:112:14)
#25 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#26 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
<asynchronous suspension>
#27 _rootRun (dart:async/zone.dart:1124:13)
#28 _CustomZone.run (dart:async/zone.dart:1021:19)
#29 _runZoned (dart:async/zone.dart:1516:10)
#30 runZoned (dart:async/zone.dart:1500:12)
#31 run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#32 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:29)
<asynchronous suspension>
#33 _rootRun (dart:async/zone.dart:1124:13)
#34 _CustomZone.run (dart:async/zone.dart:1021:19)
#35 _runZoned (dart:async/zone.dart:1516:10)
#36 runZoned (dart:async/zone.dart:1463:12)
#37 AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
<asynchronous suspension>
#38 runInContext (package:flutter_tools/src/context_runner.dart:59:24)
<asynchronous suspension>
#39 run (package:flutter_tools/runner.dart:50:10)
#40 main (package:flutter_tools/executable.dart:65:9)
<asynchronous suspension>
#41 main (file:///Users/gt/tools/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#42 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#43 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
After doing some research, I found out the following informations:
the project causing build failure is pluginA
flutter build aar is recursively executed under every plugin project
every plugin project seems to be treated as a root project
real error is Project with path ':pluginB' could not be found in root project 'pluginA'
flutter doctor -v
[✓] Flutter (Channel unknown, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G1012, locale zh-Hans-CN)
• Flutter version 1.9.1+hotfix.6 at /Users/gt/tools/flutter
• Framework revision 68587a0916 (2 months ago), 2019-09-13 19:46:58 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/gt/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/gt/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin
usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 40.0.2
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.40.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.6.0
[✓] Connected device (1 available)
• MIX 2 • 6ba49c5b • android-arm64 • Android 8.0.0 (API 26)
! Doctor found issues in 1 category.
Hi @pouloghost
if I understand correctly you are describing the issue as related
to the plugins' dependencies, but this error
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
seems to point at a gradle incompatibility due to deprecated features;
could you please provide your flutter build --verbose ?
thank you
pouloghostdeMacBook-Pro:ks-flutter gt$ flutter build aar --debug -v
[ +27 ms] executing: [/Users/gt/tools/flutter/] git log -n 1 --pretty=format:%H
[ +53 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 68587a0916366e9512a78df22c44163d041dd5f3
[ ] executing: [/Users/gt/tools/flutter/] git describe --match v*.. --first-parent --long --tags
[ +64 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[ ] v1.9.1+hotfix.6-0-g68587a091
[ +8 ms] executing: [/Users/gt/tools/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +14 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] fatal: HEAD does not point to a branch
[ +10 ms] executing: [/Users/gt/tools/flutter/] git rev-parse --abbrev-ref HEAD
[ +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] HEAD
[ +30 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +4 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
...found pluigns, deleted due to safety concerns.
[ +39 ms] Initializing gradle...
[ +7 ms] Using gradle from /Users/gt/Work/gifshow-android/ks-flutter/.android/gradlew.
[ +13 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[ +13 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android
Studio.app/Contents/Info.plist
[ ] {"CFBundleName":"Android
Studio","JVMOptions":{"MainClass":"com.intellij.idea.Main","ClassPath":"$APP_PACKAGE/Contents/lib/bootstrap.jar
:$APP_PACKAGE/Contents/lib/extensions.jar:$APP_PACKAGE/Contents/lib/util.jar:$APP_PACKAGE/Contents/lib/jd
om.jar:$APP_PACKAGE/Contents/lib/log4j.jar:$APP_PACKAGE/Contents/lib/trove4j.jar:$APP_PACKAGE/Contents/lib
/jna.jar","JVMVersion":"1.8*,1.8+","Properties":{"idea.home.path":"$APP_PACKAGE/Contents","idea.executable":"stu
dio","idea.platform.prefix":"AndroidStudio","idea.paths.selector":"AndroidStudio3.5"},"WorkingDirectory":"$APP_PAC
KAGE/Contents/bin"},"LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-191.8026.42.35.5791312","CFBundleD
evelopmentRegion":"English","CFBundleDocumentTypes":[{"CFBundleTypeExtensions":["ipr"],"CFBundleTypeName":"Android
Studio Project
File","CFBundleTypeIconFile":"studio.icns","CFBundleTypeRole":"Editor"},{"CFBundleTypeExtensions":[""],"CFBundleT
ypeOSTypes":["***"],"LSTypeIsPackage":false,"CFBundleTypeName":"All
documents","CFBundleTypeRole":"Editor"}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL",
"CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"3.5","CFBundleInfoDi
ctionaryVersion":"6.0","CFBundleExecutable":"studio","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBun
dleURLName":"Stacktrace","CFBundleURLSchemes":["idea"],"CFBundleTypeRole":"Editor"}],"CFBundleIdentifier":"com.goo
gle.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","
LSMinimumSystemVersion":"10.8","CFBundleGetInfoString":"Android Studio 3.5, build AI-191.8026.42.35.5791312.
Copyright JetBrains s.r.o., (c) 2000-2019"}
[ +108 ms] executing: /Users/gt/Work/gifshow-android/ks-flutter/.android/gradlew -v
[ +593 ms]
------------------------------------------------------------
Gradle 4.6
------------------------------------------------------------
Build time: 2018-02-28 13:36:36 UTC
Revision: 8fa6ce7945b640e6168488e4417f9bb96e4ab46c
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM: 1.8.0_202-release (JetBrains s.r.o 25.202-b49-5587405)
OS: Mac OS X 10.14.6 x86_64
[ +12 ms] Initializing gradle... (completed in 0.7s)
[ +1 ms] Resolving dependencies...
[ ] executing: [/Users/gt/Work/gifshow-android/ks-flutter/.android/]
/Users/gt/Work/gifshow-android/ks-flutter/.android/gradlew app:properties
[+1449 ms]
------------------------------------------------------------
Project :app
------------------------------------------------------------
INTERNAL__CHECKED_MINIMUM_PLUGIN_VERSIONS: true
allprojects: [project ':app']
android: com.android.build.gradle.internal.dsl.BaseAppModuleExtension_Decorated@7458e185
android.enableJetifier: true
android.useAndroidX: true
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@548c65ab
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@470f9fe4
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@7c297cf2
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@4fceee3b
buildDebugPreBundle: task ':app:buildDebugPreBundle'
buildDependents: task ':app:buildDependents'
buildDir: /Users/gt/Work/gifshow-android/ks-flutter/build/host
buildFile: /Users/gt/Work/gifshow-android/ks-flutter/.android/app/build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildPath: :
buildProfilePreBundle: task ':app:buildProfilePreBundle'
buildReleasePreBundle: task ':app:buildReleasePreBundle'
buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@78d86b54
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@43932b14
bundle: task ':app:bundle'
bundleDebug: task ':app:bundleDebug'
bundleDebugAndroidTestResources: task ':app:bundleDebugAndroidTestResources'
bundleDebugResources: task ':app:bundleDebugResources'
bundleProfile: task ':app:bundleProfile'
bundleProfileResources: task ':app:bundleProfileResources'
bundleRelease: task ':app:bundleRelease'
bundleReleaseResources: task ':app:bundleReleaseResources'
check: task ':app:check'
checkDebugAndroidTestClasspath: task ':app:checkDebugAndroidTestClasspath'
checkDebugClasspath: task ':app:checkDebugClasspath'
checkDebugLibraries: task ':app:checkDebugLibraries'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileClasspath: task ':app:checkProfileClasspath'
checkProfileLibraries: task ':app:checkProfileLibraries'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseClasspath: task ':app:checkReleaseClasspath'
checkReleaseLibraries: task ':app:checkReleaseLibraries'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@746a1178
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions:
org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@4c6d86f8
configurationTargetIdentifier:
org.gradle.configuration.ConfigurationTargetIdentifier$1@7754c6ea
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@2dc5989f
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createMockableJar: task ':app:createMockableJar'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts:
org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@980bd8e
defaultTasks: []
deferredProjectConfiguration:
org.gradle.api.internal.project.DeferredProjectConfiguration@29faa000
dependencies:
org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@78c85043
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: /Users/gt/Work/gifshow-android/ks-flutter/build/host/distributions
distsDirName: distributions
docsDir: /Users/gt/Work/gifshow-android/ks-flutter/build/host/docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@79483ea5
extensions: org.gradle.api.internal.plugins.DefaultConvention@2dc5989f
extractApksForDebug: task ':app:extractApksForDebug'
extractApksForProfile: task ':app:extractApksForProfile'
extractApksForRelease: task ':app:extractApksForRelease'
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@752880cf
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@92ec4ca
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugFeatureMetadata: task ':app:generateDebugFeatureMetadata'
generateDebugFeatureTransitiveDeps: task ':app:generateDebugFeatureTransitiveDeps'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateDebugUnitTestAssets: task ':app:generateDebugUnitTestAssets'
generateDebugUnitTestResources: task ':app:generateDebugUnitTestResources'
generateDebugUnitTestSources: task ':app:generateDebugUnitTestSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileFeatureMetadata: task ':app:generateProfileFeatureMetadata'
generateProfileFeatureTransitiveDeps: task ':app:generateProfileFeatureTransitiveDeps'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateProfileUnitTestAssets: task ':app:generateProfileUnitTestAssets'
generateProfileUnitTestResources: task ':app:generateProfileUnitTestResources'
generateProfileUnitTestSources: task ':app:generateProfileUnitTestSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseFeatureMetadata: task ':app:generateReleaseFeatureMetadata'
generateReleaseFeatureTransitiveDeps: task ':app:generateReleaseFeatureTransitiveDeps'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
generateReleaseUnitTestAssets: task ':app:generateReleaseUnitTestAssets'
generateReleaseUnitTestResources: task ':app:generateReleaseUnitTestResources'
generateReleaseUnitTestSources: task ':app:generateReleaseUnitTestSources'
gradle: build 'android_generated'
group: android_generated
identityPath: :app
inheritedScope:
org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@335ec7e4
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@b5b6a3c
libsDir: /Users/gt/Work/gifshow-android/ks-flutter/build/host/libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintFix: task ':app:lintFix'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@1e65dd16
logging: org.gradle.internal.logging.services.DefaultLoggingManager@3ac4ad60
mainApkListPersistenceDebug: task ':app:mainApkListPersistenceDebug'
mainApkListPersistenceDebugAndroidTest: task ':app:mainApkListPersistenceDebugAndroidTest'
mainApkListPersistenceProfile: task ':app:mainApkListPersistenceProfile'
mainApkListPersistenceRelease: task ':app:mainApkListPersistenceRelease'
makeApkFromBundleForDebug: task ':app:makeApkFromBundleForDebug'
makeApkFromBundleForProfile: task ':app:makeApkFromBundleForProfile'
makeApkFromBundleForRelease: task ':app:makeApkFromBundleForRelease'
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@45b33666
modelSchemaStore:
org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@46fc39ea
module: org.gradle.api.internal.artifacts.ProjectBackedModule@2d3c61d3
name: app
normalization:
org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@17b8d3
objects: org.gradle.api.internal.model.DefaultObjectFactory@504d2867
org.gradle.jvmargs: -Xmx1536M
packageAppClassesDebug: task ':app:packageAppClassesDebug'
packageAppClassesDebugAndroidTest: task ':app:packageAppClassesDebugAndroidTest'
packageAppClassesDebugUnitTest: task ':app:packageAppClassesDebugUnitTest'
packageAppClassesProfile: task ':app:packageAppClassesProfile'
packageAppClassesProfileUnitTest: task ':app:packageAppClassesProfileUnitTest'
packageAppClassesRelease: task ':app:packageAppClassesRelease'
packageAppClassesReleaseUnitTest: task ':app:packageAppClassesReleaseUnitTest'
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageDebugBundle: task ':app:packageDebugBundle'
packageDebugUniversalApk: task ':app:packageDebugUniversalApk'
packageProfile: task ':app:packageProfile'
packageProfileBundle: task ':app:packageProfileBundle'
packageProfileUniversalApk: task ':app:packageProfileUniversalApk'
packageRelease: task ':app:packageRelease'
packageReleaseBundle: task ':app:packageReleaseBundle'
packageReleaseUniversalApk: task ':app:packageReleaseUniversalApk'
parent: root project 'android_generated'
parentIdentifier: root project 'android_generated'
path: :app
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@4ffd30a3
plugins: [org.gradle.api.plugins.HelpTasksPlugin@725763c1,
com.android.build.gradle.api.AndroidBasePlugin@662d04a4,
org.gradle.language.base.plugins.LifecycleBasePlugin@3900f25a,
org.gradle.api.plugins.BasePlugin@66f73abe,
org.gradle.api.plugins.ReportingBasePlugin@219488f9,
org.gradle.platform.base.plugins.ComponentBasePlugin@3b484647,
org.gradle.language.base.plugins.LanguageBasePlugin@3e9ed297,
org.gradle.platform.base.plugins.BinaryBasePlugin@2682188c,
org.gradle.api.plugins.JavaBasePlugin@142cdac8, com.android.build.gradle.AppPlugin@13211a25]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@752880cf
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator:
org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@13212f3c
projectDir: /Users/gt/Work/gifshow-android/ks-flutter/.android/app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@2ecddcab
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@177ac705
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@56fb5f7c
reportBuildArtifactsDebug: task ':app:reportBuildArtifactsDebug'
reportBuildArtifactsProfile: task ':app:reportBuildArtifactsProfile'
reportBuildArtifactsRelease: task ':app:reportBuildArtifactsRelease'
reportSourceSetTransformAndroidTest: task ':app:reportSourceSetTransformAndroidTest'
reportSourceSetTransformAndroidTestDebug: task ':app:reportSourceSetTransformAndroidTestDebug'
reportSourceSetTransformDebug: task ':app:reportSourceSetTransformDebug'
reportSourceSetTransformMain: task ':app:reportSourceSetTransformMain'
reportSourceSetTransformProfile: task ':app:reportSourceSetTransformProfile'
reportSourceSetTransformRelease: task ':app:reportSourceSetTransformRelease'
reportSourceSetTransformTest: task ':app:reportSourceSetTransformTest'
reportSourceSetTransformTestDebug: task ':app:reportSourceSetTransformTestDebug'
reportSourceSetTransformTestProfile: task ':app:reportSourceSetTransformTestProfile'
reportSourceSetTransformTestRelease: task ':app:reportSourceSetTransformTestRelease'
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@31248561
reportsDir: /Users/gt/Work/gifshow-android/ks-flutter/build/host/reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@2b6604b6
resources: org.gradle.api.internal.resources.DefaultResourceHandler@6b0ebdf5
rootDir: /Users/gt/Work/gifshow-android/ks-flutter/.android
rootProject: root project 'android_generated'
script: false
scriptHandlerFactory:
org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@2a0d0d7e
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@3f979ad3
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@244f6a23
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@3ac4ad60
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: /Users/gt/Work/gifshow-android/ks-flutter/build/host/reports/tests
testReportDirName: tests
testResultsDir: /Users/gt/Work/gifshow-android/ks-flutter/build/host/test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task
':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithDexBuilderForRelease: task ':app:transformClassesWithDexBuilderForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task
':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task
':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithDexMergerForRelease: task
':app:transformDexArchiveWithDexMergerForRelease'
transformDexArchiveWithExternalLibsDexMergerForDebug: task
':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task
':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task
':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForRelease: task
':app:transformDexArchiveWithExternalLibsDexMergerForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task
':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task
':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task
':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task
':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task
':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task
':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task
':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task
':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task
':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task
':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task
':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
1 actionable task: 1 executed
[ +32 ms] executing: [/Users/gt/Work/gifshow-android/ks-flutter/.android/]
/Users/gt/Work/gifshow-android/ks-flutter/.android/gradlew app:tasks --all --console=auto
[ +954 ms]
------------------------------------------------------------
All tasks runnable from project :app
------------------------------------------------------------
Android tasks
-------------
androidDependencies - Displays the Android dependencies of the project.
signingReport - Displays the signing info for each variant.
sourceSets - Prints out all the source sets defined in this project.
Build tasks
-----------
assemble - Assembles all variants of all applications and secondary packages.
assembleAndroidTest - Assembles all the Test applications.
assembleDebug - Assembles all Debug builds.
assembleProfile - Assembles all Profile builds.
assembleRelease - Assembles all Release builds.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
bundleDebug - Creates all Debug bundles.
bundleProfile - Creates all Profile bundles.
bundleRelease - Creates all Release bundles.
clean - Deletes the build directory.
cleanBuildCache - Deletes the build cache directory.
compileDebugAndroidTestSources
compileDebugSources
compileDebugUnitTestSources
compileProfileSources
compileProfileUnitTestSources
compileReleaseSources
compileReleaseUnitTestSources
Cleanup tasks
-------------
lintFix - Runs lint on all variants and applies any safe suggestions to the source code.
Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in project ':app'.
components - Displays the components produced by project ':app'. [incubating]
dependencies - Displays all dependencies declared in project ':app'.
dependencyInsight - Displays the insight into a specific dependency in project ':app'.
dependentComponents - Displays the dependent components of components in project ':app'.
[incubating]
help - Displays a help message.
model - Displays the configuration model of project ':app'. [incubating]
projects - Displays the sub-projects of project ':app'.
properties - Displays the properties of project ':app'.
tasks - Displays the tasks runnable from project ':app'.
Install tasks
-------------
installDebug - Installs the Debug build.
installDebugAndroidTest - Installs the android (on device) tests for the Debug build.
installProfile - Installs the Profile build.
installRelease - Installs the Release build.
uninstallAll - Uninstall all applications.
uninstallDebug - Uninstalls the Debug build.
uninstallDebugAndroidTest - Uninstalls the android (on device) tests for the Debug build.
uninstallProfile - Uninstalls the Profile build.
uninstallRelease - Uninstalls the Release build.
Verification tasks
------------------
check - Runs all checks.
connectedAndroidTest - Installs and runs instrumentation tests for all flavors on connected
devices.
connectedCheck - Runs all device checks on currently connected devices.
connectedDebugAndroidTest - Installs and runs the tests for debug on connected devices.
deviceAndroidTest - Installs and runs instrumentation tests using all Device Providers.
deviceCheck - Runs all device checks using Device Providers and Test Servers.
lint - Runs lint on all variants.
lintDebug - Runs lint on the Debug build.
lintProfile - Runs lint on the Profile build.
lintRelease - Runs lint on the Release build.
lintVitalRelease - Runs lint on just the fatal issues in the release build.
test - Run unit tests for all variants.
testDebugUnitTest - Run unit tests for the debug build.
testProfileUnitTest - Run unit tests for the profile build.
testReleaseUnitTest - Run unit tests for the release build.
Other tasks
-----------
assembleDebugAndroidTest
assembleDebugUnitTest
assembleProfileUnitTest
assembleReleaseUnitTest
buildDebugPreBundle
buildProfilePreBundle
buildReleasePreBundle
bundle
bundleDebugAndroidTestResources
bundleDebugResources
bundleProfileResources
bundleReleaseResources
checkDebugAndroidTestClasspath
checkDebugClasspath
checkDebugLibraries
checkDebugManifest
checkProfileClasspath
checkProfileLibraries
checkProfileManifest
checkReleaseClasspath
checkReleaseLibraries
checkReleaseManifest
compileDebugAidl
compileDebugAndroidTestAidl
compileDebugAndroidTestJavaWithJavac
compileDebugAndroidTestNdk
compileDebugAndroidTestRenderscript
compileDebugAndroidTestShaders
compileDebugJavaWithJavac
compileDebugNdk
compileDebugRenderscript
compileDebugShaders
compileDebugUnitTestJavaWithJavac
compileLint
compileProfileAidl
compileProfileJavaWithJavac
compileProfileNdk
compileProfileRenderscript
compileProfileShaders
compileProfileUnitTestJavaWithJavac
compileReleaseAidl
compileReleaseJavaWithJavac
compileReleaseNdk
compileReleaseRenderscript
compileReleaseShaders
compileReleaseUnitTestJavaWithJavac
consumeConfigAttr
createDebugCompatibleScreenManifests
createMockableJar
createProfileCompatibleScreenManifests
createReleaseCompatibleScreenManifests
extractApksForDebug
extractApksForProfile
extractApksForRelease
extractProguardFiles
generateDebugAndroidTestAssets
generateDebugAndroidTestBuildConfig
generateDebugAndroidTestResources
generateDebugAndroidTestResValues
generateDebugAndroidTestSources
generateDebugAssets
generateDebugBuildConfig
generateDebugFeatureMetadata
generateDebugFeatureTransitiveDeps
generateDebugResources
generateDebugResValues
generateDebugSources
generateDebugUnitTestAssets
generateDebugUnitTestResources
generateDebugUnitTestSources
generateProfileAssets
generateProfileBuildConfig
generateProfileFeatureMetadata
generateProfileFeatureTransitiveDeps
generateProfileResources
generateProfileResValues
generateProfileSources
generateProfileUnitTestAssets
generateProfileUnitTestResources
generateProfileUnitTestSources
generateReleaseAssets
generateReleaseBuildConfig
generateReleaseFeatureMetadata
generateReleaseFeatureTransitiveDeps
generateReleaseResources
generateReleaseResValues
generateReleaseSources
generateReleaseUnitTestAssets
generateReleaseUnitTestResources
generateReleaseUnitTestSources
javaPreCompileDebug
javaPreCompileDebugAndroidTest
javaPreCompileDebugUnitTest
javaPreCompileProfile
javaPreCompileProfileUnitTest
javaPreCompileRelease
javaPreCompileReleaseUnitTest
mainApkListPersistenceDebug
mainApkListPersistenceDebugAndroidTest
mainApkListPersistenceProfile
mainApkListPersistenceRelease
makeApkFromBundleForDebug
makeApkFromBundleForProfile
makeApkFromBundleForRelease
mergeDebugAndroidTestAssets
mergeDebugAndroidTestJniLibFolders
mergeDebugAndroidTestResources
mergeDebugAndroidTestShaders
mergeDebugAssets
mergeDebugJniLibFolders
mergeDebugResources
mergeDebugShaders
mergeProfileAssets
mergeProfileJniLibFolders
mergeProfileResources
mergeProfileShaders
mergeReleaseAssets
mergeReleaseJniLibFolders
mergeReleaseResources
mergeReleaseShaders
packageAppClassesDebug
packageAppClassesDebugAndroidTest
packageAppClassesDebugUnitTest
packageAppClassesProfile
packageAppClassesProfileUnitTest
packageAppClassesRelease
packageAppClassesReleaseUnitTest
packageDebug
packageDebugAndroidTest
packageDebugBundle
packageDebugUniversalApk
packageProfile
packageProfileBundle
packageProfileUniversalApk
packageRelease
packageReleaseBundle
packageReleaseUniversalApk
preBuild
preDebugAndroidTestBuild
preDebugBuild
preDebugUnitTestBuild
prepareLintJar
preProfileBuild
preProfileUnitTestBuild
preReleaseBuild
preReleaseUnitTestBuild
processDebugAndroidTestJavaRes
processDebugAndroidTestManifest
processDebugAndroidTestResources
processDebugJavaRes
processDebugManifest
processDebugResources
processDebugUnitTestJavaRes
processProfileJavaRes
processProfileManifest
processProfileResources
processProfileUnitTestJavaRes
processReleaseJavaRes
processReleaseManifest
processReleaseResources
processReleaseUnitTestJavaRes
reportBuildArtifactsDebug
reportBuildArtifactsProfile
reportBuildArtifactsRelease
reportSourceSetTransformAndroidTest
reportSourceSetTransformAndroidTestDebug
reportSourceSetTransformDebug
reportSourceSetTransformMain
reportSourceSetTransformProfile
reportSourceSetTransformRelease
reportSourceSetTransformTest
reportSourceSetTransformTestDebug
reportSourceSetTransformTestProfile
reportSourceSetTransformTestRelease
resolveConfigAttr
splitsDiscoveryTaskDebug
splitsDiscoveryTaskProfile
splitsDiscoveryTaskRelease
transformClassesWithDexBuilderForDebug
transformClassesWithDexBuilderForDebugAndroidTest
transformClassesWithDexBuilderForProfile
transformClassesWithDexBuilderForRelease
transformDexArchiveWithDexMergerForDebug
transformDexArchiveWithDexMergerForDebugAndroidTest
transformDexArchiveWithDexMergerForProfile
transformDexArchiveWithDexMergerForRelease
transformDexArchiveWithExternalLibsDexMergerForDebug
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest
transformDexArchiveWithExternalLibsDexMergerForProfile
transformDexArchiveWithExternalLibsDexMergerForRelease
transformNativeLibsWithMergeJniLibsForDebug
transformNativeLibsWithMergeJniLibsForDebugAndroidTest
transformNativeLibsWithMergeJniLibsForProfile
transformNativeLibsWithMergeJniLibsForRelease
transformResourcesWithMergeJavaResForDebug
transformResourcesWithMergeJavaResForDebugAndroidTest
transformResourcesWithMergeJavaResForDebugUnitTest
transformResourcesWithMergeJavaResForProfile
transformResourcesWithMergeJavaResForProfileUnitTest
transformResourcesWithMergeJavaResForRelease
transformResourcesWithMergeJavaResForReleaseUnitTest
validateSigningDebug
validateSigningDebugAndroidTest
validateSigningProfile
validateSigningRelease
writeDebugApplicationId
writeProfileApplicationId
writeReleaseApplicationId
Rules
-----
Pattern: clean<TaskName>: Cleans the output files of a task.
Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.
Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a
configuration.
1 actionable task: 1 executed
[ +21 ms] Resolving dependencies... (completed in 2.5s)
[ +2 ms] Running Gradle task 'assembleAarDebug'...
[ +3 ms] executing: [/Users/gt/Work/gifshow-android/ks-flutter/.android/]
/Users/gt/Work/gifshow-android/ks-flutter/.android/gradlew
-I=/Users/gt/tools/flutter/packages/flutter_tools/gradle/aar_init_script.gradle
-Pflutter-root=/Users/gt/tools/flutter -Poutput-dir=/Users/gt/Work/gifshow-android/ks-flutter/build/host
-Pis-plugin=false -Dbuild-plugins-as-aars=true -Ptarget-platform=android-arm,android-arm64 assembleAarDebug
[+2092 ms] Initializing gradle... 0.7s
[+1270 ms] Running Gradle task 'assembleAarDebug'... 1.3s
[ ] Built ../../build/host/outputs/repo.
[+1411 ms] Initializing gradle... 0.7s
[+1055 ms] Running Gradle task 'assembleAarDebug'... 1.0s
[ +10 ms] Built ../../../../Work/gifshow-android/ks-flutter/build/host/outputs/repo.
[+1483 ms] Initializing gradle... 0.7s
[+6611 ms] Running Gradle task 'assembleAarDebug'... 6.6s
[ ] Built ../../build/host/outputs/repo.
[+1396 ms] Initializing gradle... 0.7s
[+1159 ms] Running Gradle task 'assembleAarDebug'... 1.1s
[ ] Built ../../build/host/outputs/repo.
[+1490 ms] Initializing gradle... 0.7s
[+1419 ms] Running Gradle task 'assembleAarDebug'... 1.4s
[ +11 ms] Built ../../build/host/outputs/repo.
[+1502 ms] Initializing gradle... 0.7s
[+1199 ms] Running Gradle task 'assembleAarDebug'... 1.2s
[ +11 ms] Built ../../build/host/outputs/repo.
[+1525 ms] Initializing gradle... 0.7s
[+1067 ms] Running Gradle task 'assembleAarDebug'... 1.1s
[ +13 ms] Gradle task assembleAarDebug failed with exit code 1
[ +58 ms] FAILURE: Build failed with an exception.
[ ] * Where:
[ ] Script '/Users/gt/tools/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 929
[ ] * What went wrong:
[ ] Execution failed for task ':flutter:buildPluginDebugMethodChannel'.
[ ] > Process 'command '/Users/gt/tools/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
[ +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
[ ] See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD FAILED in 24s
[ +397 ms] Running Gradle task 'assembleAarDebug'... (completed in 25.2s)
[ +3 ms] "flutter aar" took 28,766ms.
Gradle task assembleAarDebug failed with exit code 1
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1 buildGradleAar (package:flutter_tools/src/android/gradle.dart:577:5)
#2 AarBuilderImpl.build (package:flutter_tools/src/android/aar.dart:54:11)
#3 BuildAarCommand.runCommand (package:flutter_tools/src/commands/build_aar.dart:77:22)
#4 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:490:18)
#5 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:407:33)
#6 AppContext.run. (package:flutter_tools/src/base/context.dart:154:29)
#7 _rootRun (dart:async/zone.dart:1124:13)
#8 _CustomZone.run (dart:async/zone.dart:1021:19)
#9 _runZoned (dart:async/zone.dart:1516:10)
#10 runZoned (dart:async/zone.dart:1463:12)
#11 AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
#12 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:397:20)
#13 CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#14 FlutterCommandRunner.runCommand.
(package:flutter_tools/src/runner/flutter_command_runner.dart:402:21)
#15 AppContext.run. (package:flutter_tools/src/base/context.dart:154:29)
#16 _rootRun (dart:async/zone.dart:1124:13)
#17 _CustomZone.run (dart:async/zone.dart:1021:19)
#18 _runZoned (dart:async/zone.dart:1516:10)
#19 runZoned (dart:async/zone.dart:1463:12)
#20 AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
#21 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
#22 CommandRunner.run. (package:args/command_runner.dart:112:25)
#23 new Future.sync (dart:async/future.dart:224:31)
#24 CommandRunner.run (package:args/command_runner.dart:112:14)
#25 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#26 run.. (package:flutter_tools/runner.dart:63:22)
#27 _rootRun (dart:async/zone.dart:1124:13)
#28 _CustomZone.run (dart:async/zone.dart:1021:19)
#29 _runZoned (dart:async/zone.dart:1516:10)
#30 runZoned (dart:async/zone.dart:1500:12)
#31 run. (package:flutter_tools/runner.dart:61:18)
#32 AppContext.run. (package:flutter_tools/src/base/context.dart:154:29)
#33 _rootRun (dart:async/zone.dart:1124:13)
#34 _CustomZone.run (dart:async/zone.dart:1021:19)
#35 _runZoned (dart:async/zone.dart:1516:10)
#36 runZoned (dart:async/zone.dart:1463:12)
#37 AppContext.run (package:flutter_tools/src/base/context.dart:153:18)
#38 runInContext (package:flutter_tools/src/context_runner.dart:59:24)
#39 run (package:flutter_tools/runner.dart:50:10)
#40 main (package:flutter_tools/executable.dart:65:9)
#41 main (file:///Users/gt/tools/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#42 _startIsolate. (dart:isolate-patch/isolate_patch.dart:303:32)
#43 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
I've added some logs and execute some of the commands, what I got is when running build aar under pluginA, pluginB can't be found.
Thank you @pouloghost
|
gharchive/issue
| 2019-11-27T08:04:35 |
2025-04-01T04:34:17.025207
|
{
"authors": [
"iapicca",
"pouloghost"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/45677",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
548711341
|
FlexibleSpaceBar Background Image overlaps the title widget of itself in Flutter Web (only in Flutter web)
SliverAppBar(
expandedHeight: MediaQuery.of(context).size.height * .4,
floating: false,
pinned: true,
flexibleSpace: LayoutBuilder(builder: (context, constraints) {
var top = constraints.biggest.height;
print(top);
return FlexibleSpaceBar(
centerTitle: true,
titlePadding: top > 90 ? EdgeInsets.all(0) : EdgeInsets.all(15),
background: Container(
// color: Colors.white12,
decoration: BoxDecoration(color: Colors.white),
padding: EdgeInsets.only(bottom: 100),
child: kIsWeb?Image.network(store.coverUrl,fit:BoxFit.cover):CachedNetworkImage(
imageUrl: store.coverUrl,
fit: BoxFit.cover,
),
),
title: top < 90.14
? Text("data")
: StoreCard(store,constraints),
);
}),
);
}
}
`
Here the title widget(parameter of FlexibleSpaceBar get overlapped by the background image of itself in Flutter Web Works fine in android and ios though
Hi @incrypt0
can you please provide your flutter doctor -v
and a reproducible minimal code sample?
Thank you
Here is my flutter doctor -v
❯ flutter doctor -v
[✓] Flutter (Channel unknown, v1.12.13+hotfix.6, on Linux, locale en_US.UTF-8)
• Flutter version 1.12.13+hotfix.6 at /home/incrypto/flutter
• Framework revision 18cd7a3601 (5 weeks ago), 2019-12-11 06:35:39 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/incrypto/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /home/incrypto/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Android Studio (version 3.5)
• Android Studio at /home/incrypto/android-studio
• Flutter plugin version 40.0.2
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (3 available)
• ASUS X00TDA • 192.168.43.211:5555 • android-arm64 • Android 10 (API 29)
• Chrome • chrome • web-javascript • Google Chrome
80.0.3987.42 beta
• Web Server • web-server • web-javascript • Flutter Tools
• No issues found!
flutter doctor -v 6.14s user 0.62s system 66% cpu 10.142 total
And Here is a runnable build method
@override
Widget build(BuildContext context) {
return SliverAppBar(
expandedHeight: MediaQuery.of(context).size.height * .4,
floating: false,
pinned: true,
flexibleSpace: FlexibleSpaceBar(
centerTitle: true,
background: Container(
color: Colors.yellow,
child: Image.network(
'https://cdn.vox-cdn.com/thumbor/73nhsZwI55BVgH8-rapmIhkvbUk=/0x0:4047x3035/1200x675/filters:focal(1700x1194:2346x1840)/cdn.vox-cdn.com/uploads/chorus_image/image/64046617/20150915-_Upland_Burger_3.0.0.1489236245.0.jpg',
fit: BoxFit.fill,
),
padding: EdgeInsets.only(bottom: 100),
),
title: Container(
child:SizedBox( height: 100,
width: 200,),
color: Colors.red,
),
),
);
}
And the problem is that the Burger image should be behind the read container But its not so when running in the web After all its a background image it should always be in the back right?
How to set Background Image to Scaffold in Flutter
|
gharchive/issue
| 2020-01-13T05:22:06 |
2025-04-01T04:34:17.035624
|
{
"authors": [
"fluttercorner",
"iapicca",
"incrypt0"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/48695",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
555268100
|
'crumb' is not recognized as an internal or external command
Steps to Reproduce
...While creating a flutter project in Android Studio
...While accessing flutter through Command Prompt
...
Logs
flutter doctor
'crumb' is not recognized as an internal or external command,
operable program or batch file.
Error: Unable to find git in your PATH.
where do i can find the crumb location
how to add path to crumb?
Can you explain the whole process
|
gharchive/issue
| 2020-01-26T18:31:23 |
2025-04-01T04:34:17.038806
|
{
"authors": [
"Av3nger123",
"GangaPradeep",
"Shaikaslam340",
"rajkamalnehul"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/49514",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
565159914
|
Flutter, error: Failed assertion: line 24 pos 15: 'color != null && color.alpha == 0xFF': is not true.
I am getting an error in runtime. I do not have any clue whats the error about:
The error:
Failed assertion: line 24 pos 15: 'color != null && color.alpha == 0xFF': is not true.
Hi ...
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you
Because tou either passed a null value to Color() or missed 0xFF before the actual hex code which is the alpha channel https://api.flutter.dev/flutter/material/Colors-class.html
Hi @tanvirgeek
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
I get this same error from the following:
MaterialApp(
theme: ThemeData(
primaryColor: Color.fromRGBO(9, 11, 34, 0.75),
accentColor: Colors.deepPurple[700],
),
home: InputPage(),
);
Hi @epipheus
Can you please create a new issue and please the details using the template?
Thank you
|
gharchive/issue
| 2020-02-14T07:45:33 |
2025-04-01T04:34:17.042868
|
{
"authors": [
"RomanJos",
"TahaTesser",
"epipheus",
"tanvirgeek"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/50786",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
584542480
|
Failed assertion: line 69 pos 15: 'color != null': is not true.
This is my code in which I am having an issue -
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'package:flutterapp/Animation/FadeAnimation.dart';
class Login extends StatefulWidget {
@override
_FirstState createState() => _FirstState();
}
class _FirstState extends State<Login> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: Container(
child: Column(
children: <Widget>[
Container(
height: 500,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/images/galaxy.png'),
fit: BoxFit.fill),
),
child: Stack(
children: <Widget>[
Positioned(
left: 30,
bottom: 60,
width: 150,
height: 300,
child: FadeAnimation(
1.5,
Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/images/man.png'),
),
),
)),
),
Positioned(
child: FadeAnimation(
1.7,
Container(
margin: EdgeInsets.only(top: 60),
child: Center(
child: Text(
'LOGIN',
style: TextStyle(
color: Colors.white,
fontSize: 40,
fontWeight: FontWeight.bold),
),
),
),
))
],
),
),
Padding(
padding: EdgeInsets.all(30.0),
child: Column(
children: <Widget>[
FadeAnimation(
2,
Container(
padding: EdgeInsets.all(5),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(10),
boxShadow: [
BoxShadow(
color: Color.fromRGBO(135, 150, 140, 1),
blurRadius: 20.0)
]),
child: Column(
children: <Widget>[
Container(
padding: EdgeInsets.all(8.0),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(
color: Colors.grey[150],
),
),
),
child: TextField(
decoration: InputDecoration(
border: InputBorder.none,
prefixIcon: Icon(Icons.email),
hintText: 'Email or Phone number',
hintStyle:
TextStyle(color: Colors.grey[120])),
),
),
],
),
),
),
FadeAnimation(
2.2,
Container(
padding: EdgeInsets.all(8.0),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(
color: Colors.grey[150],
),
),
),
child: TextField(
decoration: InputDecoration(
border: InputBorder.none,
hintText: 'Password',
hintStyle: TextStyle(color: Colors.grey[120])),
),
),
),
],
),
)
],
),
),
);
}
}
This is border.dart the page I am directed to in error but this is immutable code as its auto generated -
import 'dart:math' as math;
import 'dart:ui' as ui show lerpDouble;
import 'package:flutter/foundation.dart';
import 'basic_types.dart';
import 'edge_insets.dart';
/// The style of line to draw for a [BorderSide] in a [Border].
enum BorderStyle {
/// Skip the border.
none,
/// Draw the border as a solid line.
solid,
// if you add more, think about how they will lerp
}
/// A side of a border of a box.
///
/// A [Border] consists of four [BorderSide] objects: [Border.top],
/// [Border.left], [Border.right], and [Border.bottom].
///
/// Note that setting [BorderSide.width] to 0.0 will result in hairline
/// rendering. A more involved explanation is present in [BorderSide.width].
///
/// {@tool sample}
///
/// This sample shows how [BorderSide] objects can be used in a [Container], via
/// a [BoxDecoration] and a [Border], to decorate some [Text]. In this example,
/// the text has a thick bar above it that is light blue, and a thick bar below
/// it that is a darker shade of blue.
///
/// ```dart
/// Container(
/// padding: EdgeInsets.all(8.0),
/// decoration: BoxDecoration(
/// border: Border(
/// top: BorderSide(width: 16.0, color: Colors.lightBlue.shade50),
/// bottom: BorderSide(width: 16.0, color: Colors.lightBlue.shade900),
/// ),
/// ),
/// child: Text('Flutter in the sky', textAlign: TextAlign.center),
/// )
/// ```
/// {@end-tool}
///
/// See also:
///
/// * [Border], which uses [BorderSide] objects to represent its sides.
/// * [BoxDecoration], which optionally takes a [Border] object.
/// * [TableBorder], which is similar to [Border] but has two more sides
/// ([TableBorder.horizontalInside] and [TableBorder.verticalInside]), both
/// of which are also [BorderSide] objects.
@immutable
class BorderSide {
/// Creates the side of a border.
///
/// By default, the border is 1.0 logical pixels wide and solid black.
const BorderSide({
this.color = const Color(0xFF000000),
this.width = 1.0,
this.style = BorderStyle.solid,
}) : assert(color != null),
assert(width != null),
assert(width >= 0.0),
assert(style != null);
/// Creates a [BorderSide] that represents the addition of the two given
/// [BorderSide]s.
///
/// It is only valid to call this if [canMerge] returns true for the two
/// sides.
///
/// If one of the sides is zero-width with [BorderStyle.none], then the other
/// side is return as-is. If both of the sides are zero-width with
/// [BorderStyle.none], then [BorderSide.zero] is returned.
///
/// The arguments must not be null
Hi @Vedant-D
Please consider to use const colors for BorderSide or other, where color parameter expected to be const. Colors.grey instead of Colors.grey[150].
For custom colors you can use for example Colors.fromARGB
Related to https://github.com/flutter/flutter/issues/47953 and https://github.com/flutter/flutter/issues/31351, follow on the issues
Closing current one
That did help the thanks alot had be trying to solve it for weeks .
On Thu, Mar 19, 2020, 10:35 PM Vladyslav Bondarenko <
notifications@github.com> wrote:
Reopened #52889 https://github.com/flutter/flutter/issues/52889.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/52889#event-3146467844, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AO4A6BREZP2GQRRBRYE42GDRIJGFHANCNFSM4LPNDCFA
.
|
gharchive/issue
| 2020-03-19T16:33:12 |
2025-04-01T04:34:17.050621
|
{
"authors": [
"Vedant-D",
"VladyslavBondarenko"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/52889",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
657524885
|
Android Add2App's MouseCursorPlugin leaks the FlutterView
This leak is completely similar to #54275
The issue is the MouseCursorPlugin leaks the FlutterView. A similar fix to #54275 will be needed for this one too.
[✓] Flutter (Channel beta, 1.19.0-4.1.pre, on Mac OS X 10.15.5 19F101, locale en-US)
• Flutter version 1.19.0-4.1.pre at /Users/danny.valente/Library/flutter/1.19.0-4.1.pre-beta
• Framework revision f994b76974 (5 weeks ago), 2020-06-09 15:53:13 -0700
• Engine revision 9a28c3bcf4
• Dart version 2.9.0 (build 2.9.0-14.1.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/danny.valente/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.4.1, Build version 11E503a
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 47.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
cc @xster
Hi @dannyvalentesonos
Can you please provide a complete reproducible minimal code sample. If it is the same code sample from https://github.com/flutter/flutter/issues/54275#issuecomment-611202002 with modification, please provide.
Thank you
@TahaTesser The same app does repro the problem, but here's an updated version that builds out of the gate with the latest flutter tools.
Add2AppTest.zip
cc @csells
(no updates from the team yet, Jason is planning on looking at it this week)
@Hixie @xster Will this get into the 1.19 release? We'd like it to. Thanks!
Did this fix make it into the stable 1.20 release? I'm having trouble telling if it is from the commits in the branches.
@dannyvalentesonos I've tried 1.20.3, but this issue still exists.
I've verified it's fixed in 1.22. I think it only made it into 1.21 or 1.22.
Correct. You can see the release tags in https://github.com/flutter/flutter/commit/f06ee8dd8d3aa06e89db64cfa862382b286a5fed.
|
gharchive/issue
| 2020-07-15T17:25:19 |
2025-04-01T04:34:17.060639
|
{
"authors": [
"Hixie",
"TahaTesser",
"blasten",
"chinmaygarde",
"dannyvalentesonos",
"xster",
"yrom"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/61558",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
662201042
|
Blur filter samples colors from outside its area
The blur filter is sampling pixels from outside the area that it is clipped to. Is there any way to limit a blur strictly to the contents of an image, as if applying a gaussian blur in an image editor? See images below.
I also posted a question on StackOverflow.
Steps to Reproduce
Take a look at the example below:
class BlurDemo extends StatelessWidget {
BlurDemo({Key key}) : super(key: key);
final String imageUrl =
'https://dogtime.com/assets/uploads/2018/10/puppies-cover-1280x720.jpg';
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Blur Demo'),
),
backgroundColor: Colors.black,
body: Center(
child: SizedBox(
width: 250,
height: 250,
child: FittedBox(
fit: BoxFit.cover,
child: Stack(children: [
Image.network(imageUrl),
Positioned.fill(
child: ClipRRect(
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 20.0, sigmaY: 20.0),
child: Container(color: Colors.black.withAlpha(0))),
))])))));}}
Expected results:
Expecting the blur to only sample from pixels directly behind the filter (in this case, the image).
Mockup
Actual results:
The blur filter is sampling from pixels outside the area that the blur is clipped to (in this case, the black background). The result is a subtle black edge bleeding into the blurred image.
Image example
The effect is very subtle, but it does have a significant visual impact in my use case.
Try using ImageFiltered instead of BackdropFilter.
That's exactly what I needed. Thank you!
|
gharchive/issue
| 2020-07-20T19:53:29 |
2025-04-01T04:34:17.064808
|
{
"authors": [
"doppio",
"ethanblake4"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/61891",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
664327105
|
error, Attempt to invoke virtual method 'int android.app.Activity.checkSelfPermission(java.lang.String)' on a null object reference, null
I'm able to get CallLog in Foreground with the call_log pub package. But I need to get Call Log in Background.
Here is some necessary part of my code:
void main() {
runApp(MaterialApp(
home: Home(),
));
Workmanager.initialize(callbackDispatcher, isInDebugMode: true);
Workmanager.registerPeriodicTask("1", "simplePeriodicTask",
existingWorkPolicy: ExistingWorkPolicy.replace,
frequency: Duration(minutes: 15),
initialDelay:
Duration(seconds: 5),
constraints: Constraints(
networkType: NetworkType.connected,
));
}
void callbackDispatcher() {
Workmanager.executeTask((task, inputData) async{
await _HomeState().callLogDbManager();
print('Background Services are Working!');
return Future.value(true);
});
}
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
Future<void> callLogDbManager() async {
Iterable<CallLogEntry> cLog = await CallLog.get();
int rowCount = await DatabaseHelper.instance.queryRowCount();
int clLength = cLog.length;
if (rowCount >= clLength) {
callLogDbUpdate();
} else {
await callLogDbInsert();
callLogDbUpdate();
}
}
.......
.......
}
And this is the Error during getting call log in Background:
error, Attempt to invoke virtual method 'int android.app.Activity.checkSelfPermission(java.lang.String)' on a null object reference, null
Hi @santoshakil
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v, your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you
|
gharchive/issue
| 2020-07-23T09:28:03 |
2025-04-01T04:34:17.069029
|
{
"authors": [
"TahaTesser",
"santoshakil"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/62112",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
671118414
|
widthFactor & heightFactor for AnimatedAlign
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
class AnimatedAlign extends ImplicitlyAnimatedWidget {
/// Creates a widget that positions its child by an alignment that animates
/// implicitly.
///
/// The [alignment], [curve], and [duration] arguments must not be null.
const AnimatedAlign({
Key key,
@required this.alignment,
this.widthFactor,
this.heightFactor,
this.child,
Curve curve = Curves.linear,
@required Duration duration,
VoidCallback onEnd,
}) : assert(alignment != null),
assert(widthFactor == null || widthFactor >= 0.0),
assert(heightFactor == null || heightFactor >= 0.0),
super(key: key, curve: curve, duration: duration, onEnd: onEnd);
/// How to align the child.
///
/// The x and y values of the [Alignment] control the horizontal and vertical
/// alignment, respectively. An x value of -1.0 means that the left edge of
/// the child is aligned with the left edge of the parent whereas an x value
/// of 1.0 means that the right edge of the child is aligned with the right
/// edge of the parent. Other values interpolate (and extrapolate) linearly.
/// For example, a value of 0.0 means that the center of the child is aligned
/// with the center of the parent.
///
/// See also:
///
/// * [Alignment], which has more details and some convenience constants for
/// common positions.
/// * [AlignmentDirectional], which has a horizontal coordinate orientation
/// that depends on the [TextDirection].
final AlignmentGeometry alignment;
/// If non-null, sets its width to the child's width multiplied by this factor.
///
/// Can be both greater and less than 1.0 but must be positive.
final double widthFactor;
/// If non-null, sets its height to the child's height multiplied by this factor.
///
/// Can be both greater and less than 1.0 but must be positive.
final double heightFactor;
/// The widget below this widget in the tree.
///
/// {@macro flutter.widgets.child}
final Widget child;
@override
_AnimatedAlignState createState() => _AnimatedAlignState();
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties
.add(DiagnosticsProperty<AlignmentGeometry>('alignment', alignment));
properties.add(DiagnosticsProperty<double>('widthFactor', widthFactor));
properties.add(DiagnosticsProperty<double>('heightFactor', heightFactor));
}
}
class _AnimatedAlignState
extends AnimatedWidgetBaseState<AnimatedAlign> {
AlignmentGeometryTween _alignment;
Tween<double> _widthFactor;
Tween<double> _heightFactor;
@override
void forEachTween(TweenVisitor<dynamic> visitor) {
_alignment = visitor(
_alignment,
widget.alignment,
(dynamic value) =>
AlignmentGeometryTween(begin: value as AlignmentGeometry))
as AlignmentGeometryTween;
if (widget.widthFactor != null) {
_widthFactor = visitor(_widthFactor, widget.widthFactor,
(dynamic value) => Tween<double>(begin: value as double))
as Tween<double>;
}
if (widget.heightFactor != null) {
_heightFactor = visitor(_heightFactor, widget.heightFactor,
(dynamic value) => Tween<double>(begin: value as double))
as Tween<double>;
}
}
@override
Widget build(BuildContext context) {
return Align(
alignment: _alignment.evaluate(animation),
widthFactor:
_widthFactor != null ? _widthFactor.evaluate(animation) : null,
heightFactor:
_heightFactor != null ? _heightFactor.evaluate(animation) : null,
child: widget.child,
);
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder description) {
super.debugFillProperties(description);
description.add(DiagnosticsProperty<AlignmentGeometryTween>(
'alignment', _alignment,
defaultValue: null));
description.add(DiagnosticsProperty<Tween<double>>(
'widthFactor', _widthFactor,
defaultValue: null));
description.add(DiagnosticsProperty<Tween<double>>(
'heightFactor', _heightFactor,
defaultValue: null));
}
}
Hi @comerc,
Its unclear what the issue you are trying to convey as there's no description. Please provide more context in your issue and what exactly are you expecting.
How to use - resize child with animation:
ClipRect(
child: AnimatedAlign(
duration: Duration(milliseconds: 400),
alignment: Alignment.topCenter,
heightFactor: isOpen ? 1 : 0,
child: Container(
height: 100,
// child: ...
),
}
}
Hi @comerc,
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you
It is feature request! Flutter have AnimatedAlign without arguments of Align: widthFactor & heightFactor. I showed you an example that this is important. :)
Thanks @comerc, reopened this issue.
Hey @comerc, the feature was recently added to the master with the merge of #61136. Check the documentation here. Note, that it's not available to the stable yet.
@darshankawar I guess you can close the issue.
@AyushBherwani1998 thanks for the tip.
@comerc since this is available in stable, I am going ahead and closing this, as there's no need to track it.
If you disagree, write in comments and I'll reopen.
Thanks.
|
gharchive/issue
| 2020-08-01T19:10:50 |
2025-04-01T04:34:17.076110
|
{
"authors": [
"AyushBherwani1998",
"comerc",
"darshankawar"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/62730",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
119816886
|
Generate an AndroidManifest.xml when we create a new flutter app
Now that we can generate APKs (woohoo!) we can make it easier for developers if we generated a starter AndroidManifest.xml.
Presumably, we can generate this file when the user runs flutter init, and we can infer the name from the directory, just as we do when populating the name in pubspec.yaml.
We assume the developer will hand-edit this file later, but the generated xml file should work out of the box.
cc @jason-simmons
https://github.com/flutter/flutter/pull/659
|
gharchive/issue
| 2015-12-01T21:55:44 |
2025-04-01T04:34:17.078404
|
{
"authors": [
"jason-simmons",
"sethladd"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/655",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
708501815
|
[infra] Mac ios engine builds failing on beta branch to install jazzy
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8868246371434524672/+/steps/install_jazzy/0/stdout
I opened this CL https://flutter-review.googlesource.com/c/recipes/+/6761
Triage: we don't need jazzy. /cc @godofredoc
Here's a run post CL merge: https://ci.chromium.org/p/flutter/builders/prod/Mac beta iOS Engine/54?
Closing as obsolete as the versions of the recipes used for beta have been updated a couple of times by now. Please reopen if this is still and issue.
Closing as obsolete as the versions of the recipes used for beta have been updated a couple of times by now. Please reopen if this is still and issue.
|
gharchive/issue
| 2020-09-24T22:01:58 |
2025-04-01T04:34:17.081174
|
{
"authors": [
"christopherfujino",
"digiter",
"godofredoc"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/66592",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
741245225
|
Fluter engine crash in customer:money
customer:money reported crash on the Flutter engine.
Thread 18 (id: 0x0000af03) CRASHED [EXC_BAD_ACCESS / KERN_INVALID_ADDRESS @ 0x00000100 ]Show exception record
0x000000010604661c(Flutter + 0x003e661c)
0x0000000106046604(Flutter + 0x003e6604)
0x000000010613e080(Flutter + 0x004de080)
0x000000010613c7bc(Flutter + 0x004dc7bc)
0x000000010613c3a0(Flutter + 0x004dc3a0)
0x00000001061be4e0(Flutter + 0x0055e4e0)
0x0000000106176c04(Flutter + 0x00516c04)
0x00000001f6849ca4(libsystem_pthread.dylib + 0x00001ca4)
There isn't reproduction step available at the moment.
@flutter-symbolizer-bot defa8be2b10650dad50dfee9324ed8d16eeec13f release arm64
@flutter-symbolizer-bot engine#defa8be2b10650dad50dfee9324ed8d16eeec13f release arm64 internal ios
@flutter-symbolizer-bot engine#defa8be2b10650dad50dfee9324ed8d16eeec13f release arm64 internal ios https://github.com/flutter/flutter/issues/70350#issue-741245225
@flutter-symbolizer-bot internal engine#defa8be2b10650dad50dfee9324ed8d16eeec13f ios release arm64
@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/70350#issue-741245225 internal engine#defa8be2b10650dad50dfee9324ed8d16eeec13f ios release arm64
Well that didn't work :D I wonder if the hash is incorrect.
or may be the format is incorrect? Trying again.
@flutter-symbolizer-bot #70350 (comment) internal engine#defa8be2b10650dad50dfee9324ed8d16eeec13f ios release arm64
@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/70350#issue-741245225 internal engine#defa8be2b10650dad50dfee9324ed8d16eeec13f ios release arm64
Bingo.
security_context_macos.cc problem again.
This was fixed a couple of weeks back. The error is coming from an older version of customer's binary.
I will fix the RegExp :)
|
gharchive/issue
| 2020-11-12T03:26:03 |
2025-04-01T04:34:17.086693
|
{
"authors": [
"mehmetf",
"meiwin",
"mraleph"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/70350",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
757455457
|
[devicelab] Fix datastore returning 0 tasks on LUCI runs
We disabled upload metrics as there seems to be an issue where Cocoon was not finding any related tasks. This requires investigation on the timing with LUCI to discover why we're not finding any corresponding tasks even when they should exist.
To get started, we need a full e2e LUCI builder in prod that is being stored in Cocoon datastore. We can mark it as flaky until we figure out this issue to not cause tree outages.
Issue is with the test runner. Cocoon is trying to create the following commit key:
flutter/flutter/HEAD /b372c52b2f428c477cb0cdcff9a299ac633b279d
The gitBranch param is wrong and has an extra space!
The issue is that HEAD makes sense the bot will check out a specific commit.
@christopherfujino do you know of a way I can collect the branch during a devicelab test run? Currently the runner uses git rev-parse --abbrev-ref HEAD
One idea I have is we can assume master if it returns HEAD, but i'm not sure how the release branch checkout process works.
The issue is that HEAD makes sense the bot will check out a specific commit.
@christopherfujino do you know of a way I can collect the branch during a devicelab test run? Currently the runner uses git rev-parse --abbrev-ref HEAD
One idea I have is we can assume master if it returns HEAD, but i'm not sure how the release branch checkout process works.
So are you saying that git rev-parse --abbrev-ref HEAD is returning HEAD ?
Per https://stackoverflow.com/questions/6245570/how-to-get-the-current-branch-name-in-git, that (or the newer git branch --show-current) is the way to grab the branch name. I'm unclear on where HEAD is coming from.
So are you saying that git rev-parse --abbrev-ref HEAD is returning HEAD ?
Yes. My current thought is maybe infra has git in a detached state when it checkouts a commit on tip of tree. I'm not familiar with the git logic in Flutter recipes, so i'll need to investigate more.
I'll put up a PR to see if the newer command work.
So are you saying that git rev-parse --abbrev-ref HEAD is returning HEAD ?
Yes. My current thought is maybe infra has git in a detached state when it checkouts a commit on tip of tree. I'm not familiar with the git logic in Flutter recipes, so i'll need to investigate more.
Ahh, yeah, if our HEAD is detached then we are not on a branch, so there's no (reliable) way to determine the channel.
Ahh, yeah, if our HEAD is detached then we are not on a branch, so there's no (reliable) way to determine the channel.
Ah tricky. Do you know if this is also the case for the release branches in infra? If this is only on the main branch, I could add logic to default to master if HEAD is given.
Ahh, yeah, if our HEAD is detached then we are not on a branch, so there's no (reliable) way to determine the channel.
Ah tricky. Do you know if this is also the case for the release branches in infra? If this is only on the main branch, I could add logic to default to master if HEAD is given.
we discussed offline, but for posterity, our LUCI recipes by default detach the HEAD to the desired commit. Post-submit, the branch is available to recipe as api.gitiles_commit.ref.
Recipes has the property "branch": "refs/heads/master". We can pass this to the test runner to unblock the DeviceLab migration for now.
@christopherfujino do you have opinions on how I should pass this to the test runner? I think I want to have the recipe splice this to master, so nowhere else needs to worry about the git tiles format. However, I'm flexible on what should have the responsibility of cutting this to just master.
Recipes has the property "branch": "refs/heads/master". We can pass this to the test runner to unblock the DeviceLab migration for now.
@christopherfujino do you have opinions on how I should pass this to the test runner? I think I want to have the recipe splice this to master, so nowhere else needs to worry about the git tiles format. However, I'm flexible on what should have the responsibility of cutting this to just master.
I would also rather have the recipe pass just the branch, so that the source repo doesn't need to know anything about gitiles. I just hope that the format is never anything other than "refs/heads/$BRANCH_NAME"...
Per the protobuf:
// Commit ref, e.g. "refs/heads/master".
| // NOT a branch name: if specified, must start with "refs/".
| string ref = 4;
So I guess so?
https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/common.proto#154
Actually, this is defined by whatever we set as refs when we create the pollers: https://github.com/flutter/infra/blob/master/config/framework_config.star#L76
trigger_name = branch + "-gitiles-trigger-framework"
luci.gitiles_poller(
name = trigger_name,
bucket = "prod",
repo = repos.FLUTTER,
refs = [testing_ref],
)
And we map these to branch names, so it should be safe to chop off the beginning refs/heads/ in the recipe.
Once the linked PR lands, we'll need to land this recipe CL to pass the branch: https://flutter-review.googlesource.com/c/recipes/+/9160
Once the linked PR lands, we'll need to land this recipe CL to pass the branch: https://flutter-review.googlesource.com/c/recipes/+/9160
what about the cocoon agent code? isn't that also calling //dev/devicelab/bin/run.dart?
what about the cocoon agent code? isn't that also calling //dev/devicelab/bin/run.dart?
Cocoon agent handles uploading to the backend in the agent. It has access to the task key which makes it trivial to do a backend update.
We refactored this logic in the test_runner and backend for LUCI runs. There's two separate update paths, and the changes here do not modify any of the agent paths.
The issue is that the key being constructed for Commit is not returning any commits.
Using the datastore GQL, SELECT * FROM Checklist WHERE __key__ = KEY(Checklist, 'flutter/flutter/master/f172c827cb07f17666978d925d5d56be652db144') does return commits.
Somewhere the backend query is having an issue.
Update from my debugging session:
Here are the bytes of the sha in datastore
[49, 50, 49, 57, 100, 100, 55, 98, 54, 50, 49, 52, 55, 102, 102, 97, 100, 55, 102, 101, 57, 99, 56, 97, 48, 99, 102, 52, 97, 48, 55, 50, 102, 97, 97, 55, 57, 97, 52, 100]
Here's the malformed sha being processed by the backend:
[49, 50, 49, 57, 100, 100, 55, 98, 54, 50, 49, 52, 55, 102, 102, 97, 100, 55, 102, 101, 57, 99, 56, 97, 48, 99, 102, 52, 97, 48, 55, 50, 102, 97, 97, 55, 57, 97, 52, 100, 10]
The diff is the processed sha has an additional byte at the end for LF (ASCII 10 = LF) What's weird is this does not show up in the log viewer.
We'll need to trim the input for whitespace before using it.
|
gharchive/issue
| 2020-12-04T22:43:14 |
2025-04-01T04:34:17.102175
|
{
"authors": [
"CaseyHillers",
"christopherfujino"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/71749",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
828352769
|
Flutter - WebApp does not show dynamic images
I am writing a flutter web app. The App contains two sorts of images:
Container(
height: height,
width: width,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage("path/to/someImage.jpg"),
fit: BoxFit.cover,
),
borderRadius: BorderRadius.circular(12),
),
),
which I use for Buttons. They don't change while visiting the webpage.
On the other hand (for a gallery) I change the image path by a setstate method
Container(
height: height,
width: width,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage(someImageList[index]),
fit: BoxFit.cover,
),
borderRadius: BorderRadius.circular(12),
),
),
Both version work on the localhost, but when I build and upload the webpage, I see only a blank, where the gallery images are supposed to be. In which direction should I look for an error? (No errors are given out when running on the localhost or building it.)
@sambaPython24
Check out this solution and see if it helps.
This works, thank you
|
gharchive/issue
| 2021-03-10T21:23:49 |
2025-04-01T04:34:17.105828
|
{
"authors": [
"darshankawar",
"sambaPython24"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/77851",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
953165612
|
[macOS]Japanese input method can not be selected by arrow keys up and down
Reproduction steps
use Apple Japanese input method and let TextField get focus
type "kyouha"
use the arrow keys to toggle the selected text
Apple Japanese input method will provide some candidate phrases, if this time we can't switch the selected phrase by arrow keys up and down, but if we can switch it by control + P or cotrol + N.
Part of #30660
btw I think you would be interested too. @cbracken
Is this related to https://github.com/flutter/flutter/issues/85328?
@justinmc I believe I opened a duplicate issue. Thanks.
|
gharchive/issue
| 2021-07-26T18:19:43 |
2025-04-01T04:34:17.108833
|
{
"authors": [
"YeungKC",
"justinmc"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/87059",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.