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 |
|---|---|---|---|---|---|
1931555433 | (Go) Usage of temp file in writer.Write
The Go implementation uses a temp file to store the generated features temporarily:
https://github.com/flatgeobuf/flatgeobuf/blob/f25bfdeccace2abc7b65b7fb104a50563a2c1a76/src/go/writer/writer.go#L93-L94
I wonder why a temp file is used instead of an in-memory buffer and if the project is open to not using a temp file.
My motivation is that I want to compile a code that uses FlatGeobuf's Go package into WebAssembly (WASI). However, since using temp files means access to the host file system, it is not easy (I can't find a way yet) to do so.
Do you need to write a FGB file from wasm or just read one?On Oct 7, 2023, at 16:36, Shi Han @.***> wrote:
The Go implementation uses a temp file to store the generated features temporarily:
https://github.com/flatgeobuf/flatgeobuf/blob/f25bfdeccace2abc7b65b7fb104a50563a2c1a76/src/go/writer/writer.go#L93-L94
I wonder why a temp file is used instead of an in-memory buffer and if the project is open to not using a temp file.
My motivation is that I want to compile a code that uses FlatGeobuf's Go package into WebAssembly (WASI). However, since using temp files means access to the host file system, it is not easy (I can't find a way yet) to do so.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
Do you need to write a FGB file from wasm or just read one?
I need to create FGB content using WASM. I don't need to write it to a file; instead, the WASM will produce the FGB data in Go's byte slices and pass that to the caller.
@shihanng do you need the spatial index?
@shihanng do you need the spatial index?
@bjornharrtell Ahh... I see that if I don't need the spatial index, it will not use the temp file. I think I can get away without the spatial index for now.
However, what if that is required in the future? Could we open the possibility of using memory instead of a temp file? Or supporting both? I am happy to contribute if that is a possibility.
@shihanng might make sense to introduce it as an option.
Sorry I did not see this earlier. I will enable notifications for updates.
I made a couple comments in the PR:
1 - We should have a warning somewhere that this can potentially use arbitrarily large amounts of memory.
2 - The change is breaking the existing API. It is easy to sort it up so I suggested how to do it.
Other than that, I see no reason not to do this although this seems to be a very contrived usage scenario.
| gharchive/issue | 2023-10-07T23:36:33 | 2025-04-01T06:44:10.996674 | {
"authors": [
"bjornharrtell",
"bruno-ga",
"michaelkirk",
"shihanng"
],
"repo": "flatgeobuf/flatgeobuf",
"url": "https://github.com/flatgeobuf/flatgeobuf/issues/321",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
311744472 | Fixed typo
Fixed string typo propietary -> proprietary
Same typo is also here This file might be autogenerated though.
Thank you!
| gharchive/pull-request | 2018-04-05T19:45:01 | 2025-04-01T06:44:11.038543 | {
"authors": [
"Athwale",
"jgarciao"
],
"repo": "flathub/linux-store-frontend",
"url": "https://github.com/flathub/linux-store-frontend/pull/68",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
1251916515 | Basic tailwind integration
Adding taliwind and using it for all previous inline styles and some other fixes.
Should fix https://github.com/flathub/website/issues/300 and https://github.com/flathub/website/issues/310
Some things:
Changes paddings and font sizes slightly
Lists need to marked up (via a class) as lists, if we want bullets. (https://tailwindcss.com/docs/preflight) Not really a problem, but might be something we need to fix for release notes.
This doesn't touch colors for now
This also slightly changes how the spinner works, hopefully for the better (I still think it's to much choice)
Shadows are also slightly different
I think we want buyin from @barthalion as he basically blocked it last time.
@sorin-davidoi would this help fix #300 ?
I think we want buyin from @barthalion as he basically blocked it last time.
I don't remember the details and I don't particularly care as long as it looks good to everyone.
Turns out I misremembered, sorry @barthalion
https://github.com/flathub/frontend/issues/3#issuecomment-946896611
Turns out I meant @bilelmoussaoui
@sorin-davidoi would this help fix https://github.com/flathub/website/issues/300 ?
I think so, as it removes all the inline styles.
| gharchive/pull-request | 2022-05-29T15:17:40 | 2025-04-01T06:44:11.070954 | {
"authors": [
"barthalion",
"razzeee",
"sorin-davidoi"
],
"repo": "flathub/website",
"url": "https://github.com/flathub/website/pull/313",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
30456261 | fix http route recursion
Not much to it. Oh, and I wrote you a unit test to add to your collection.
Thanks for your contribution. <3
Wow, I can't remember what I was thinking when I closed this, my apologies.
I thoroughly went through Director's source and really liked what I saw. I found a problem with recursively calling the path function so I set about fixing a few minor issues, which eventually turned into a complete rewrite. You can see that Elixir.js is entirely based on the Director git repository.
The utility functions at the beginning of router.js have been factored and reworked into RaptorJuice.js, which also includes lightweight generators/iterators. Director turned into Elixir.js, which builds solely upon RaptorJuice.
Both projects are very thoroughly documented, tested and above 98% code coverage. Only a few lines need to be changed for javascript isomorphism. I'll get back to it eventually, I've just been way busy with a new DevOps job.
| gharchive/pull-request | 2014-03-30T00:42:47 | 2025-04-01T06:44:11.074399 | {
"authors": [
"3rd-Eden",
"psev"
],
"repo": "flatiron/director",
"url": "https://github.com/flatiron/director/pull/228",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
3153024 | Format handleExceptions when logged to console
When your logging to console and you have handleExceptions set to true the output of the exception is rather ugly. Its just a giant string. Would it be possible to format this so its easy to read, add some returns and indents similar to the way node.js formats the exceptions by default.
Originally when I wrote this I hadn't got to the bottom of the documentation, so I just found out about winston.cli(); and was hopeful unfortunately it still doesn't indent it.
Closing as duplicate of https://github.com/flatiron/winston/issues/84
| gharchive/issue | 2012-02-09T06:16:21 | 2025-04-01T06:44:11.076157 | {
"authors": [
"SeanBannister"
],
"repo": "flatiron/winston",
"url": "https://github.com/flatiron/winston/issues/95",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
585203264 | Update CONTRIBUTING.md
Adding guiding principles
Merging this, @jackiedelc! For future PRs, can you clone the repository instead of forking it? That way your PRs will pass the automated checks. Let me know if you need any assistance with that!
| gharchive/pull-request | 2020-03-20T16:55:58 | 2025-04-01T06:44:11.112933 | {
"authors": [
"jackiedelc",
"mverzilli"
],
"repo": "flattenthecurve/guide",
"url": "https://github.com/flattenthecurve/guide/pull/173",
"license": "CC-BY-4.0",
"license_type": "permissive",
"license_source": "github-api"
} |
856425756 | Fix encoding of Uuid's that come from Serde
Uuid are converted to Value::String by default, instead of Value::Uuid
Not sure if there is another way to complete this, I am relatively new to Rust so don't quite understand if we can tame Serde somehow to convert to Value::Uuid.
Can this please be merged?
| gharchive/pull-request | 2021-04-12T23:09:40 | 2025-04-01T06:44:11.114129 | {
"authors": [
"AlexRiedler",
"simon-an"
],
"repo": "flavray/avro-rs",
"url": "https://github.com/flavray/avro-rs/pull/188",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1829662567 | "Account Security Alert and Authentication Options"
User received an email regarding logging into their Customer.io account and is advised to change their password if they did not initiate the login. They are also provided with options to enable Two-Factor Authentication or Single Sign-On.
Summarized feedback from win@login.customer.io
User received an email regarding logging into their Customer.io account and is advised to change their password if they did not initiate the login. They are also provided with options to enable Two-Factor Authentication or Single Sign-On.
| gharchive/issue | 2023-07-31T16:57:41 | 2025-04-01T06:44:11.175817 | {
"authors": [
"matthewwong525"
],
"repo": "fleetingnotes/fleeting-notes-flutter",
"url": "https://github.com/fleetingnotes/fleeting-notes-flutter/issues/759",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1309004260 | How to capture a mouse click on a page with an image and draw a dot based on that captured location?
What should be the thought process or code to capture the position of a mouse with respect to an image loaded on the window and then paint/draw a dot at that location?
So, I would put Image control into Container and added on_click handler to container. In event's data you will receive a string with both local (relative to container position) and global (relative to app window) mouse pointer coordinates in the format local_x:local_y global_x:global_y. Then, Container could be put into Stack and finally dots could be containers with round corners positioned absolutely inside Stack. Let me know if you need a code example :)
Thanks! Will try this approach when we get the time and get back to you if we need more help. Closing this issue for now.
I'd like to leave a note: if ink is enabled, event data will be empty.(version: 0.1.59) This is feature, not bug.
I spent 30 minutes on this, hope this note can help others!
| gharchive/issue | 2022-07-19T05:37:43 | 2025-04-01T06:44:11.182783 | {
"authors": [
"FeodorFitsner",
"YouJiacheng",
"swarajpeppermint"
],
"repo": "flet-dev/flet",
"url": "https://github.com/flet-dev/flet/issues/80",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
135287805 | Build failures on current repository
Here's the output from my OS X Yosemite build, generated by following the README.md file.
he following tests FAILED:
1 - markdown-should-fail (Failed)
3 - mmd (Failed)
4 - latex (Failed)
7 - lyx (Failed)
10 - odf (Failed)
11 - critic-accept (Failed)
12 - critic-reject (Failed)
13 - critic-highlight (Failed)
Errors while running CTest
make: *** [test] Error 8
Is there anything obvious I should be looking for?
ctest -V would give you more debugging info to see what's missing on your system.
| gharchive/issue | 2016-02-22T01:26:33 | 2025-04-01T06:44:11.185527 | {
"authors": [
"fletcher",
"numinasthmatic"
],
"repo": "fletcher/MultiMarkdown-5",
"url": "https://github.com/fletcher/MultiMarkdown-5/issues/11",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
172841541 | Make libMultiMarkdown a shared library for external reuse.
This PR alters the build structure of MultiMarkdown slightly to make libMultiMarkdown a shared library used by the multimarkdown executable. The shared library and header can be used in other tools to provide the MultiMarkdown conversion functionality (e.g. a python interface.)
Can you be more specific about what you're trying to accomplish? There is already a libMultiMarkdown in the existing build structure, and it is used to create the multimarkdown executable.
When I run the default cmake system, no shared library is generated for libMultiMarkdown. Instead, everything is statically linked into the multimarkdown binary. In order to build a python interface in a portable fashion, I need a shared library of libMultiMarkdown in order to interface using ctypes (portable c library interface.)
I also discovered in testing that libMultiMarkdown.h uses bool in a return function, but that isn't a default type in C99. Instead, that is defined in stdbool.h. In order to include libMultiMarkdown.h without compile errors in an external integration, stdbool.h has to be included beforehand, which seems to break encapsulation. So the other commit adds the include to libMultiMarkdown.h to simplify using the header.
For a more concrete example, the python wrapper I'm working on is available here, and currently can convert strings or files using libMultiMarkdown.
I mistakenly read "library" when you wrote "shared library." The makefile builds a static library, libMultiMarkdown.
I don't want the default make system to build a shared library -- I want a single binary, so a static library is the proper way to go. But it is true that cmake allows you to easily change this as needed for your own needs.
If you want to have something pulled into the official repo, I would suggest a combination of changes to Makefile and CMakeLists.txt that enables something along the lines of make shared in order to build a shared library.
PR has been reworked to provide a make shared command which builds the shared library alongside the rest of the tool. multimarkdown itself remains a statically linked executable in this configuration.
This worked fine on my Mac, but caused an error on a developer Linux VM I use (due to an older version of CMake that doesn't support the $<TARGET:OBJECTS> functionality). I see the usefulness of this approach, but don't want to break build on older cmake versions just to use it. And not sure it's really necessary for this project, since the source file list is already abstracted into a short list.
I tweaked your code a bit to just build separate libraries -- I realized this requires compiling the same code twice, but hopefully one would only be using this compile option rarely. I think, in this instance, backwards compatibility is more important.
| gharchive/pull-request | 2016-08-24T00:56:03 | 2025-04-01T06:44:11.190933 | {
"authors": [
"fletcher",
"jasedit"
],
"repo": "fletcher/MultiMarkdown-5",
"url": "https://github.com/fletcher/MultiMarkdown-5/pull/33",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
379675565 | Stage and Scene classes were imported
Stage and Scene classes were not imported.
@patriarh12 thank you very much! My mistake.
@fletcherist Thank you for SDK ;)
| gharchive/pull-request | 2018-11-12T08:50:15 | 2025-04-01T06:44:11.192438 | {
"authors": [
"fletcherist",
"patriarh12"
],
"repo": "fletcherist/yandex-dialogs-sdk",
"url": "https://github.com/fletcherist/yandex-dialogs-sdk/pull/110",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
339252326 | fix: wrong case sensitive path './Command'
Проверил, с этим фиксом навык заработал.
Спасибо!!!
| gharchive/pull-request | 2018-07-08T19:47:33 | 2025-04-01T06:44:11.193260 | {
"authors": [
"fletcherist",
"popstas"
],
"repo": "fletcherist/yandex-dialogs-sdk",
"url": "https://github.com/fletcherist/yandex-dialogs-sdk/pull/38",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1095398806 | Surprising return from Result.map({:ok, _}, nil)
I know this library is mostly a mashup of two different functional concepts - maybe values and tagged errors.
Saying that, it looks like there isn't a way of handling "I know what the value is, and it is nil" - I was quite surprised that {:ok, 1} |> Result.map(nil) returns :none.
I can see that's even in the docs, but I think it's a flaw in the design, and even contradictory. From what I can see, no other calls to Result.map change the outer tuple.
A full example of the issue I have is here:
message_map_r = {:ok, %{"Timestamp" => "2022-01-06T14:46:56.387201Z", "Value" => nil}
value_r =
message_map_r
|> Result.map(&Map.get(&1, "Value"))
|> Result.default_error("Value is missing from map.")
The above code returns {:error, "Value is missing from map."}, even though Value isn't missing, it's set to nil (which is an appropriate value for this context)
It could be that the intention isn't communicated clearly enough in the documentation, but the general idea is that you're either working with nillable values, or you're working with tagged Results. If you enter a Result pipeline, then your intention is to avoid / short-circuit nils, until you exit the pipeline and extract your final result.
To me, it seems that your example behaves safely - it detects a nil that was not explicitly handled, and the pipeline falls through to a default value. I think it's actually a decent example of how using a Result pipeline can help mitigate missed nil checks, which are such a huge source of bugs.
If your intention is to provide different behaviour depending on whether Value is missing from the map or its value is nil, you could do something like:
{:ok, %{"Timestamp" => "2022-01-06T14:46:56.387201Z", "Value" => nil}}
|> Result.then(&Map.fetch(&1, "Value"))
|> Result.error_map("Value is missing from map.")
|> Result.none_then(nil)
# => {:ok, nil}
As a result, the desire to return nil is explicit in the code. For such a simple pipeline, this is kind of overkill, but I'm assuming this is part of something bigger.
Actually, the Result.then(&Map.fetch(&1, "Value")) alone does exactly what I want - it returns {:ok, nil}. The Result.none_then(nil) won't be called in your example.
I think it's actually a decent example of how using a Result pipeline can help mitigate missed nil checks, which are such a huge source of bugs.
I can see where you're coming from, but my example is also an example of where tagged tuples shine - nil alone might mean "the value was missing or is nil(a source of bugs), but in a traditional functional context you could have{:ok, nil}` for "I have the value of nil" and ":none" for "I don't know what the value is"
nil alone might mean "the value was missing or is nil" (a source of bugs), but in a traditional functional context you could have {:ok, nil} for "I have the value of nil" and :none for "I don't know what the value is"
For me, the problem is that I don't understand the meaning of "I have the value of nil". Nil as a concept means "no value". It's not an error, but it's not a value either. It seems to me that you're interested in two maybe-values here - the presence of the key, and the value of the key, where a missing key is an error. Essentially, the map itself is of type Map<Maybe<T>>, so when getting a value from the map, we have Ok<Maybe<T>>. We could model it more explicitly in Elixir like this, for instance:
{:error, "The key is missing."}
{:ok, :none}
{:ok, {:some, 123}}
This is certainly closer to what Rust does. The traditional approach in Elixir, of course, is to use value | nil instead of {:some, value} | :none to represent the maybe part, but this has all the usual pitfalls of nils. The first thing you'll do is unwrap the ok tuple, which is the maybe-value representing the presence of the key. What you're left with is the maybe-value for the key's value, which you're suggesting should be value | nil. That nil will be passed as a regular value into some function that probably doesn't have a nil-check. The "default" (easy) behaviour is to assume the value is not nil. The result is that when a nil appears, it's usually been passed through several functions before triggering a rather confusing message such as protocol Enumerable not implemented for nil of type Atom.
The advantage of forcing a pattern match (e.g. {:some, 123}) is that you're reminded to handle the other condition (:none). And if you don't, at least your code will raise a pattern match error at the exact point you failed to handle the missing value.
The only real difference with OkThen is that we collapse this:
{:ok, :none} | {:ok, {:some, any()} | {:error, any()}
Into this, mostly for convenience (and also because we can't rely on strict types to help enforce the nested pattern):
:none | {:ok, any()} | {:error, any()}
Actually, the Result.then(&Map.fetch(&1, "Value")) alone does exactly what I want - it returns {:ok, nil}. The Result.none_then(nil) won't be called in your example.
Well spotted :) That actually makes me a bit uncomfortable. I do wonder sometimes if the then functions are too easy an escape hatch. I'd be tempted to add a |> Result.map(&(&1)) to convert that if the pipeline isn't trivial. I wonder if Result.Private.normalize_result_input/1 should convert {atom(), nil} to :none. That would certainly help catch stuff like this. It would be a breaking change, though.
| gharchive/issue | 2022-01-06T14:57:40 | 2025-04-01T06:44:11.208715 | {
"authors": [
"giddie",
"tshakah"
],
"repo": "flexibility-org/ok_then",
"url": "https://github.com/flexibility-org/ok_then/issues/7",
"license": "ISC",
"license_type": "permissive",
"license_source": "github-api"
} |
1764765214 | Can't kill rnv command
Describe the bug
Can't kill rnv command in terminal. If you have rnv command running(any platform basic npx rnv run ... command sometimes if you want to cancel in terminal it's not possible seems like it's freeze and only way to kill it is close terminal window
To Reproduce
Unfortunately it's not happening all the time, but the way you can try to reproduce it as I described above, try to run any platform let it fully finish and try to kill it
Expected behavior
You can kill command anytime you want
Desktop (please complete the following information):
OS: osx
Node Version v16.18.0
RNV Version 0.37.0-canary.11
haven't reproduced on 1.0.0-rc.3
| gharchive/issue | 2023-06-20T06:55:06 | 2025-04-01T06:44:11.214915 | {
"authors": [
"aurimasmi",
"pauliusguzas"
],
"repo": "flexn-io/renative",
"url": "https://github.com/flexn-io/renative/issues/1026",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2310670341 | chore(main): release cli 1.1.0
:robot: I have created a release beep boop
1.1.0 (2024-05-22)
Features
test release & doc update (c466c65)
This PR was generated with Release Please. See documentation.
:robot: Release is at https://github.com/flexydox/flexydox/releases/tag/cli%40v1.1.0 :sunflower:
| gharchive/pull-request | 2024-05-22T14:15:45 | 2025-04-01T06:44:11.218104 | {
"authors": [
"jkaramon"
],
"repo": "flexydox/flexydox",
"url": "https://github.com/flexydox/flexydox/pull/15",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1191665794 | Flipper App tells me "Unsupported Firmware" in spite of me being on release channel.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Connect Flipper Zero to App
On first Tap, recieve notice to update Flipper Zero on PC
Plug Flipper Zero into qFlipper, which shows Flipper Zero to be on the latest official Released version
Environment
Flipper Zero: firmware 0.53.0
App Version: 1.0 (Google Playstore Version)
Phone
Samsung Note 20 Ultra (Android 12)
Patch version March 1, 2022
Does this happen even after restarting the application?
Try unpairing your Flipper in the Bluetooth settings of your phone and then pair it again in the App.
I was experiencing same issue, this one helped.
unpairing and repairing seems to have resolved the "unsupported firmware" bug, so it's definitely a workaround. Now the app is crashing when I try to start a sync, but that's why we test.
I was experiencing same issue, this one helped.
This is not okay, i am going to reproduce and fix this bug
Now the app is crashing when I try to start a sync
Now the app is crashing when I try to start a sync.
O_o
What? Why? Just open application and start synchronization?
First point: Agree. The disconnecting/reconnecting might be a valid work around, but it doesn't excuse the initial bug.
Second point: Whenever I do this, the App immediately disappears. This is whether I start it from the main screen or from the debug menu.
Fixed this in latest dev
| gharchive/issue | 2022-04-04T11:48:20 | 2025-04-01T06:44:11.243744 | {
"authors": [
"LionZXY",
"LordPsycho202",
"factoryhero"
],
"repo": "flipperdevices/Flipper-Android-App",
"url": "https://github.com/flipperdevices/Flipper-Android-App/issues/197",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1129271159 | [Floating UI] Nested floaters have incorrect initial positioning when used with React Portals
Reproduction: https://stackblitz.com/edit/floating-ui-nested-portals?file=src/App.js
Notice how the Floating div is initially placed at the bottom of the window, only updating to the correct position after a scroll event.
This only happens when using a portal to place the floating element at the modal-root of the DOM tree, something that we need to do to deal with popping out of scrolling containers.
Actually, after playing with this a little, it seems like using a portal may not be necessary. I thought (maybe from popperjs, or perhaps a holdover from doing this manually) that scrolling container elements would not allow floating element to break out of them, but that doesn't seem to be the case here.
Do you suggest not using portals at all, or is there some use-case I am missing here?
Ah, that's why I wasn't experiencing it. Thanks for the info on clipping containers.
As for the inside-out rendering, is there some way to avoid this? I'm guessing that this happens anyway with nested floating components, but why does it position it correctly without the portal?
Is there a suggested way to work around this behaviour with portals? I think I can patch the issue with a useEffect like
useEffect(() => {
setTimeout(() => {
update()
},10)
})
but that seems a little hacky.
I'm not sure if this approach would work, since in the example <Float> was a wrapper component and has no knowledge of what children it renders. Updating the wrapper component does not trigger an update to the nested children afaik.
I was able to work around this issue because I created a component that uses context to pass values into a nested reference and floating compound components, and this seems to trigger a re-render at the right time to avoid the issue, but I can see this still being a problem if you are taking a more straightforward approach.
Yeah it's hard to make this generic but might be possible with context or such. Either way it's due to the order in which React renders rather than this library.
| gharchive/issue | 2022-02-10T00:53:03 | 2025-04-01T06:44:11.265921 | {
"authors": [
"atomiks",
"valtism"
],
"repo": "floating-ui/floating-ui",
"url": "https://github.com/floating-ui/floating-ui/issues/1531",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
1110031884 | Madrakalistar
Masaryk mojod az sakhtan
99
| gharchive/pull-request | 2022-01-21T04:10:49 | 2025-04-01T06:44:11.266809 | {
"authors": [
"Alistar031"
],
"repo": "floating-ui/popper.js.org",
"url": "https://github.com/floating-ui/popper.js.org/pull/40",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
169028701 | missing exec:AdMob.createBanner
Im using the plugin with cordova in Visual studio and I am getting these errors:
missing exec:AdMob.createBanner
TypeError: Cannot read property 'createBanner' of undefined
at Object.exec
at Object.admobExport.createBanner
at ripple.js
Your plugin is not installed or initialized properly, so object "AdMob" cannot be found.
BTW, remember to refer cordova.js in your index.html.
<!-- must-have, which will be created by cordova prepare/build -->
<script type="text/javascript" src="cordova.js"></script>
See example:
https://github.com/floatinghotpot/cordova-admob-pro/blob/master/test/index.html
| gharchive/issue | 2016-08-03T01:45:49 | 2025-04-01T06:44:11.269098 | {
"authors": [
"JoelAH",
"floatinghotpot"
],
"repo": "floatinghotpot/cordova-admob-pro",
"url": "https://github.com/floatinghotpot/cordova-admob-pro/issues/426",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
2165252221 | [sokol_app] A call to GetIntegerv in _sapp_wgl_create_context leaves the stack corrupted
It can be solved by changing the call convention of GetIntegerv to WINAPI:
void WINAPI (*GetIntegerv)(uint32_t pname, int32_t* data);
and
_sapp.wgl.GetIntegerv = (void WINAPI (*)(uint32_t, int32_t*)) GetProcAddress(_sapp.wgl.opengl32, "glGetIntegerv");
Looks like an oversight on my side, but interesting that it didn't show up during testing. What compiler are you using?
Ok, should be fixed now. I moved the WINAPI macro inside (*) as in the other GL loader definitions.
Curious though that I wasn't able to reproduce the stack corruption, neither in debug nor release mode (tested with MSVC).
Are you compiling for 32-bits x86 maybe? E.g. I'm seeing this in the MSVC docs:
All __stdcall functions must have prototypes. This calling convention is only available in compilers that target x86, and is ignored by compilers that target other architectures.
...might explain why it didn't crash for me because I'm not testing 32-bit builds anymore.
Are you compiling for 32-bits x86 maybe? E.g. I'm seeing this in the MSVC docs:
All __stdcall functions must have prototypes. This calling convention is only available in compilers that target x86, and is ignored by compilers that target other architectures.
...might explain why it didn't crash for me because I'm not testing 32-bit builds anymore (at least 32-bits x86, technically WASM is 32-bits).
Yes, I am compiling at 32-bits x86.
Ah ok, that explains it at least. Is there a specific reason for using 32-bit builds though? E.g. in my last job we supported old Windows versions for much longer than even Microsoft did, and we dropped 32-bit support in 2017 and Windows XP support around 2020 or so :)
Ah ok makes sense. If you stumble over additional problem please open new tickets. I don't want to "officially" support 32-bit x86, but if it's only about minor things like this then there's no harm in fixing the issues :)
| gharchive/issue | 2024-03-03T08:33:40 | 2025-04-01T06:44:11.291408 | {
"authors": [
"floooh",
"rcases"
],
"repo": "floooh/sokol",
"url": "https://github.com/floooh/sokol/issues/1005",
"license": "Zlib",
"license_type": "permissive",
"license_source": "github-api"
} |
307726408 | Unable to load custom backends because "enterprise modules are disabled"
Searchguard 6.1.2-20.1
Elasticsearch 6.1.2
JVM 1.8.0_162
1 node cluster
We are getting this error when we load our back-end classes in Searchguard.
[2018-03-16T06:39:23,605][ERROR][c.f.s.a.BackendRegistry ] Unable to initialize auth domain authentication_aaf due to ElasticsearchException[Can not load 'com.att.searchguard.auth.aaf.AafAuthenticationBackend' because enterprise modules are disabled]
org.elasticsearch.ElasticsearchException: Can not load 'com.att.searchguard.auth.aaf.AafAuthenticationBackend' because enterprise modules are disabled
at com.floragunn.searchguard.support.ReflectionHelper.instantiateAAA(ReflectionHelper.java:171) ~[search-guard-aaf-6.1.2-20.1.3.jar:?]
at com.floragunn.searchguard.auth.BackendRegistry.newInstance(BackendRegistry.java:667) ~[search-guard-aaf-6.1.2-20.1.3.jar:?]
at com.floragunn.searchguard.auth.BackendRegistry.onChange(BackendRegistry.java:229) [search-guard-aaf-6.1.2-20.1.3.jar:?]
at com.floragunn.searchguard.configuration.IndexBaseConfigurationRepository.notifyAboutChanges(IndexBaseConfigurationRepository.java:361) [search-guard-aaf-6.1.2-20.1.3.jar:?]
at com.floragunn.searchguard.configuration.IndexBaseConfigurationRepository.reloadConfiguration(IndexBaseConfigurationRepository.java:311) [search-guard-aaf-6.1.2-20.1.3.jar:?]
at com.floragunn.searchguard.action.configupdate.TransportConfigUpdateAction.nodeOperation(TransportConfigUpdateAction.java:113) [search-guard-aaf-6.1.2-20.1.3.jar:?]
at com.floragunn.searchguard.action.configupdate.TransportConfigUpdateAction.nodeOperation(TransportConfigUpdateAction.java:47) [search-guard-aaf-6.1.2-20.1.3.jar:?]
at org.elasticsearch.action.support.nodes.TransportNodesAction.nodeOperation(TransportNodesAction.java:140) [elasticsearch-6.1.2.jar:6.1.2]
at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:262) [elasticsearch-6.1.2.jar:6.1.2]
at org.elasticsearch.action.support.nodes.TransportNodesAction$NodeTransportHandler.messageReceived(TransportNodesAction.java:258) [elasticsearch-6.1.2.jar:6.1.2]
at com.floragunn.searchguard.ssl.transport.SearchGuardSSLRequestHandler.messageReceivedDecorate(SearchGuardSSLRequestHandler.java:170) [search-guard-ssl-6.1.2-25.0.jar:6.1.2-25.0]
at com.floragunn.searchguard.transport.SearchGuardRequestHandler.messageReceivedDecorate(SearchGuardRequestHandler.java:121) [search-guard-aaf-6.1.2-20.1.3.jar:?]
at com.floragunn.searchguard.ssl.transport.SearchGuardSSLRequestHandler.messageReceived(SearchGuardSSLRequestHandler.java:92) [search-guard-ssl-6.1.2-25.0.jar:6.1.2-25.0]
at com.floragunn.searchguard.SearchGuardPlugin$6$1.messageReceived(SearchGuardPlugin.java:525) [search-guard-aaf-6.1.2-20.1.3.jar:?]
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:66) [elasticsearch-6.1.2.jar:6.1.2]
at org.elasticsearch.transport.TransportService$7.doRun(TransportService.java:652) [elasticsearch-6.1.2.jar:6.1.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:637) [elasticsearch-6.1.2.jar:6.1.2]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-6.1.2.jar:6.1.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_162]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]
Enterprise modules are disabled because we do not use them - we only use the opensource modules and the modules we have developed ourselves.
This has been working with previous searchguard releases (5.6.0 is our last working version)
This is preventing us from using Searchguard in our deployments
The custom modules in SG 5.x were never a officially documented and supported interface/functionality.
For SG 6 we decided to make this officially supported (and stable) but its now a enterprise feature which requires a license.
For details pls. refer to
https://docs.search-guard.com/latest/custom-authentication-modules#custom-authentication-modules
https://github.com/floragunncom/search-guard/blob/master/src/main/java/com/floragunn/searchguard/auth/HTTPAuthenticator.java#L42
https://github.com/floragunncom/search-guard/blob/master/src/main/java/com/floragunn/searchguard/auth/AuthenticationBackend.java#L40
| gharchive/issue | 2018-03-22T16:46:19 | 2025-04-01T06:44:11.297976 | {
"authors": [
"bw498c",
"floragunncom"
],
"repo": "floragunncom/search-guard",
"url": "https://github.com/floragunncom/search-guard/issues/463",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
285197187 | Allow for PSR-16 caching mechanism
Relying on PSR interfaces is great, however, PSR-6 was a bit controversial. It's a more involved interface and many popular frameworks have refused to implement it - so PSR-16 was introduced to allow for simplified caching systems.
Allowing for PSR-16 compatible cache systems would ease the integration of Swap with systems that rely on such systems. I'd introduce this by allowing setHttpCachePool and setSimpleHttpCachePool, with the later expecting PSR-16.
Internally, Exchanger would have its own Cache interface such that would simplify significantly the code of Exchanger, and two adapters, for PSR-6 and PSR-16 cache interfaces, which the adapters would wrap.
If you agree on the value of this and the rough implementation proposal, I would be happy to create a PR.
Hey @ddinchev, sure we will be interested in this!
Feel free to start working on it and send a PR.
Thanks
Closing this, since it has been added to the Exchanger repo instead.
| gharchive/issue | 2017-12-30T11:07:47 | 2025-04-01T06:44:11.300833 | {
"authors": [
"ddinchev",
"florianv"
],
"repo": "florianv/swap",
"url": "https://github.com/florianv/swap/issues/98",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
357437323 | More descriptive Flow introduction text
Added a description "Why Flow?" (addresses part of #95)
Removed outdated team list, updated credits
I agree with you @nskh, let's handle that in a separate PR since we will want to put alumni somewhere too. Let's view that part of this PR as just removing redundant team information.
| gharchive/pull-request | 2018-09-05T23:15:19 | 2025-04-01T06:44:11.305022 | {
"authors": [
"cathywu"
],
"repo": "flow-project/flow",
"url": "https://github.com/flow-project/flow/pull/105",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2308547513 | Handling of Time Series Data
(Gitlab Issue 97, created by @newLabAspect)
@ChristianWieck commented:
Perhaps this could be solved by reintroducing metadata for each column? This would at least solve the problem for the machine learner.
@mknitt commented:
@JanChristianWieck and I discussed this and we think a good solution would be to save the time series in multidimensional numpy arrays inside of polars dataframes.
| feature 1 | feature 2 |
| ------------------- | ----------------------- |
| np.array([[0,2,4], | np.array([[0,1,2,3,4], |
| [3,5,4]]) | [2,7,1,9,6]]) |
| | |
| np.array([[0,2], | np.array([[0,1,2], |
| [2,7]]) | [1,3,2]]) |
| | |
Each time series would be structured like this:
np.array([time, data])
@ChristianWieck commented:
As discussed in the software meeting on 29.02. we move from np.array to pl.List as they are more performand. Only downside is, that only vectors are supported. The link between data and time vector needs to be implemented in a different way (e.g. hard-coded <feature_name> -> t_<feature_name> or metadata).
As discussed at our meeting on 04.06.:
We want to use pl.Structs for storing time series, by storing the time vector in a field t and the associated value vector in the field value.
All individually mentioned issues for this meta-issue are resolved, closing this for now.
| gharchive/issue | 2024-05-21T15:17:30 | 2025-04-01T06:44:11.319085 | {
"authors": [
"ChristianWieck",
"newLabAspect",
"schmidma"
],
"repo": "flowcean/flowcean",
"url": "https://github.com/flowcean/flowcean/issues/62",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
594886202 | File permission problem with internal cache
When I run composer install, the Docker container reports:
Cannot create cache directory /home/composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/composer/cache/files/, or directory is not writable. Proceeding without cache
Can't reproduce this anymore
| gharchive/issue | 2020-04-06T07:53:50 | 2025-04-01T06:44:11.322524 | {
"authors": [
"robertlemke"
],
"repo": "flownative/docker-composer",
"url": "https://github.com/flownative/docker-composer/issues/1",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1223712873 | Cannot use import statement outside a module
I just try to implement this in my Next.js project.
Follow the basic steps from documentation, and its crashing
import Flowplayer from "@flowplayer/react-flowplayer"
import "@flowplayer/player/flowplayer.css"
export const FlowVideoPlayer = ({src}) => {
return (
<Flowplayer token="my-token" src={src} />
)
}
Hello!
You need to use a transpiler and/or bundler like Webpack + Babel to compile the JSX syntax and imports to plain javascript usable outside of modules.
| gharchive/issue | 2022-05-03T05:44:07 | 2025-04-01T06:44:11.323946 | {
"authors": [
"nnarhinen",
"sgarchavada"
],
"repo": "flowplayer/react-flowplayer",
"url": "https://github.com/flowplayer/react-flowplayer/issues/27",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1513355995 | Increase operator memory limit to 60Mi
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #495
Does this PR introduced a user-facing change?
Increase operator memory limit to 60Mi
Additional documentation, usage docs, etc.:
@wigust Thanks for the contribution!
@wenchajun Would you update this PR accordingly? https://github.com/fluent/helm-charts/pull/299
| gharchive/pull-request | 2022-12-29T04:10:57 | 2025-04-01T06:44:11.371894 | {
"authors": [
"benjaminhuo",
"wigust"
],
"repo": "fluent/fluent-operator",
"url": "https://github.com/fluent/fluent-operator/pull/496",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
454103233 | Update fluentd-daemonset-cloudwatch-rbac.yaml to use latest image
The image fluent/fluentd-kubernetes-daemonset:cloudwatch referred in the example seems to be old and not maintained, so changed it to latest one.
Thanks!
| gharchive/pull-request | 2019-06-10T10:29:42 | 2025-04-01T06:44:11.372994 | {
"authors": [
"motemen",
"repeatedly"
],
"repo": "fluent/fluentd-kubernetes-daemonset",
"url": "https://github.com/fluent/fluentd-kubernetes-daemonset/pull/320",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
335642770 | IP binding not working
Using td-agent version 3.2.0 on Linux RHEL7.
Setup a fluentd aggregator as central collector. The basic configuration was working fine with:
<source>
@type forward
bind 0.0.0.0
port 24226
</source>
But when configured to bind with a specific IP, things started to break:
<source>
@type forward
bind 10.198.66.181
port 24226
</source>
The logs:
2018-06-26 03:47:48 +0100 [info]: Worker 0 finished unexpectedly with status 1
2018-06-26 03:47:48 +0100 [info]: gem 'fluent-plugin-elasticsearch' version '2.10.3'
2018-06-26 03:47:48 +0100 [info]: gem 'fluent-plugin-kafka' version '0.7.3'
2018-06-26 03:47:48 +0100 [info]: gem 'fluent-plugin-record-modifier' version '1.1.0'
2018-06-26 03:47:48 +0100 [info]: gem 'fluent-plugin-rewrite-tag-filter' version '2.1.0'
2018-06-26 03:47:48 +0100 [info]: gem 'fluent-plugin-s3' version '1.1.3'
2018-06-26 03:47:48 +0100 [info]: gem 'fluent-plugin-td' version '1.0.0'
2018-06-26 03:47:48 +0100 [info]: gem 'fluent-plugin-td-monitoring' version '0.2.4'
2018-06-26 03:47:48 +0100 [info]: gem 'fluent-plugin-webhdfs' version '1.2.3'
2018-06-26 03:47:48 +0100 [info]: gem 'fluentd' version '1.2.2'
2018-06-26 03:47:48 +0100 [info]: adding match pattern="td.." type="tdlog"
2018-06-26 03:47:48 +0100 [warn]: #0 [output_td] secondary type should be same with primary one primary="Fluent::Plugin::TreasureDataLogOutput" secondary="Fluent::Plugin::FileOutput"
2018-06-26 03:47:48 +0100 [info]: adding match pattern="debug." type="stdout"
2018-06-26 03:47:48 +0100 [info]: adding match pattern="" type="elasticsearch"
2018-06-26 03:47:49 +0100 [info]: #0 Connection opened to Elasticsearch cluster => {:host=>"somehost.dev.net", :port=>9200, :scheme=>"http"}
2018-06-26 03:47:49 +0100 [info]: #0 Detected ES 6.x: ES 7.x will only accept _doc in type_name.
2018-06-26 03:47:49 +0100 [info]: adding source type="http"
2018-06-26 03:47:49 +0100 [info]: adding source type="debug_agent"
2018-06-26 03:47:49 +0100 [info]: adding source type="forward"
2018-06-26 03:47:49 +0100 [info]: #0 starting fluentd worker pid=21158 ppid=20992 worker=0
2018-06-26 03:47:49 +0100 [info]: #0 listening port port=24226 bind="10.198.66.181"
2018-06-26 03:47:49 +0100 [error]: #0 unexpected error error_class=Errno::EADDRNOTAVAIL error="Cannot assign requested address - bind(2) for "10.198.66.181" port 24226"
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/plugin_helper/server.rb:354:in initialize' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/plugin_helper/server.rb:354:in new'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/plugin_helper/server.rb:354:in server_create_tcp_socket' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/plugin_helper/server.rb:212:in server_create_for_tcp_connection'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/plugin_helper/server.rb:92:in server_create_connection' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/plugin/in_forward.rb:158:in start'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/root_agent.rb:165:in block in start' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/root_agent.rb:154:in block (2 levels) in lifecycle'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/root_agent.rb:153:in each' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/root_agent.rb:153:in block in lifecycle'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/root_agent.rb:140:in each' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/root_agent.rb:140:in lifecycle'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/root_agent.rb:164:in start' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/engine.rb:274:in start'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/engine.rb:219:in run' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/supervisor.rb:799:in run_engine'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/supervisor.rb:549:in block in run_worker' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/supervisor.rb:724:in main_process'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/supervisor.rb:544:in run_worker' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/lib/fluent/command/fluentd.rb:316:in <top (required)>'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.2.2/bin/fluentd:8:in <top (required)>' 2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/bin/fluentd:23:in load'
2018-06-26 03:47:49 +0100 [error]: #0 /opt/td-agent/embedded/bin/fluentd:23:in `'
unexpected error error_class=Errno::EADDRNOTAVAIL error="Cannot assign requested address - bind(2) for "10.198.66.181" port 24226"
This means 10.198.66.181 is not exist or not local address: http://man7.org/linux/man-pages/man2/bind.2.html
So the problem is out side of fluentd.
got any solution to this?
| gharchive/issue | 2018-06-26T03:15:47 | 2025-04-01T06:44:11.392468 | {
"authors": [
"cyyeong",
"mayureshrandomtree",
"repeatedly"
],
"repo": "fluent/fluentd",
"url": "https://github.com/fluent/fluentd/issues/2036",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
1564388567 | Improve handling of SIGCONT after SIGTERM
Which issue(s) this PR fixes:
Ideas for #3932 fixes.
What this PR does / why we need it:
After SIGTERM, disable SIGCONT handler.
This will prevent sigdump files from being generated.
Docs Changes:
Release Note:
Thanks for the review.
I will add any missing tests, etc.
How about just disabling dumping after stop instead of changing signal handlers?
diff --git a/lib/fluent/supervisor.rb b/lib/fluent/supervisor.rb
index b372f922..7dd5fc80 100644
--- a/lib/fluent/supervisor.rb
+++ b/lib/fluent/supervisor.rb
@@ -355,6 +355,10 @@ module Fluent
{ conf: @fluentd_conf }
end
+ def dump
+ super unless @stop
+ end
+
private
def reopen_log
@@ -413,6 +417,10 @@ module Fluent
def after_start
(config[:worker_pid] ||= {})[@worker_id] = @pm.pid
end
+
+ def dump
+ super unless @stop
+ end
end
class Supervisor
@@ -754,12 +762,6 @@ module Fluent
end
def run_worker
- begin
- require 'sigdump/setup'
- rescue Exception
- # ignore LoadError and others (related with signals): it may raise these errors in Windows
- end
-
Process.setproctitle("worker:#{@system_config.process_name}") if @process_name
if @standalone_worker && @system_config.workers != 1
@@ -940,6 +942,10 @@ module Fluent
trap :USR2 do
reload_config
end
+
+ trap :CONT do
+ dump_non_windows
+ end
end
end
@@ -969,7 +975,7 @@ module Fluent
reload_config
when "DUMP"
$log.debug "fluentd main process get #{cmd} command"
- dump
+ dump_windows
else
$log.warn "fluentd main process get unknown command [#{cmd}]"
end
@@ -1020,7 +1026,15 @@ module Fluent
end
end
- def dump
+ def dump_non_windows
+ begin
+ Sigdump.dump unless @finished
+ rescue => e
+ $log.error("failed to dump: #{e}")
+ end
+ end
+
+ def dump_windows
Thread.new do
begin
FluentSigdump.dump_windows
@kou Thanks. I will try it.
@daipom What do you think about https://github.com/fluent/fluentd/pull/4034#issuecomment-1415431569?
I like this idea.
After stopping, it is easy to understand that sigdump is disabled.
I prefer @kou's idea, too.
@daipom What do you think about #4034 (comment)? I like this idea. After stopping, it is easy to understand that sigdump is disabled.
I think so too!
Thank you for your comments and review.
I'll fix it with @kou's idea.
Close this PR and open another PR with a suitable title.
#4043
| gharchive/pull-request | 2023-01-31T14:11:41 | 2025-04-01T06:44:11.399323 | {
"authors": [
"abetomo",
"ashie",
"daipom",
"kou"
],
"repo": "fluent/fluentd",
"url": "https://github.com/fluent/fluentd/pull/4034",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
143406640 | Localization should use language from user
As a user
When I choose a language
It should be stored in my user config
So that I don't have to chose again
After further consideration, since local storage is being used for language, this is not needed and complicates the process. For example, what if a use chooses a language and then logs in and the language does't match?
Removing language from database instead.
| gharchive/issue | 2016-03-25T02:00:45 | 2025-04-01T06:44:11.443630 | {
"authors": [
"fluky"
],
"repo": "fluky/generator-oldschool",
"url": "https://github.com/fluky/generator-oldschool/issues/48",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
2534934177 | Schedule engineering sync
Distribute engineering tasks after reviewing status and build
Review Shadcn process with team & how components have been implemented
| gharchive/issue | 2024-09-18T23:18:54 | 2025-04-01T06:44:11.448011 | {
"authors": [
"alvin-cheung"
],
"repo": "flushingtech/flushingtech.org",
"url": "https://github.com/flushingtech/flushingtech.org/issues/42",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
840580685 | typo in function name: FlutterDestoryWindow
https://github.com/flutter-tizen/engine/blob/e629333c726cb9492e14f73aadc616e9ab0a666f/shell/platform/tizen/public/flutter_tizen.h#L63
The "Destory" occurs 27 times in the repo. This one is part of public API and should probably be fixed. But I guess current name should continue to work to maintain compatibility.
What a mistake. The change in flutter_tizen.h will not break anything as long as we simultaneously update https://github.com/flutter-tizen/flutter-tizen/blob/master/nuget/Tizen.Flutter.Embedding/Interop.cs as well. The change will definitely affect apps already created with the C++ language option (flutter-tizen create --tizen-language cpp, https://github.com/flutter-tizen/flutter-tizen/blob/master/templates/app/cpp/src/flutterapp.cc) but the native app type support is still experimental so it doesn't matter much.
| gharchive/issue | 2021-03-25T05:46:04 | 2025-04-01T06:44:11.473033 | {
"authors": [
"swift-kim",
"wiertel"
],
"repo": "flutter-tizen/engine",
"url": "https://github.com/flutter-tizen/engine/issues/56",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1236761525 | Update for Flutter 3.0
Closes https://github.com/flutter-tizen/flutter-tizen/issues/365.
Increase the framework version to 3.0.0 (https://github.com/flutter/flutter/commit/ee4e09cce01d6f2d7f4baebd247fde02e5008851).
Update the engine hash to 3ec59ac. (Note: Compressed pointers are now enabled for arm64 targets.)
Update the tool code according to the upstream side changes. Please refer to the commit history for details.
I decided not to add the new "FFI plugin and template" support because it will add too much complexity without much benefit. Note that this has nothing to do with already existing FFI plugins such as url_launcher_tizen. The new FFI template consists of example C code for a shared library (src.tmpl) and CMake files for building the library that we don't use for our FFI plugin implementation.
| gharchive/pull-request | 2022-05-16T07:49:36 | 2025-04-01T06:44:11.476505 | {
"authors": [
"swift-kim"
],
"repo": "flutter-tizen/flutter-tizen",
"url": "https://github.com/flutter-tizen/flutter-tizen/pull/366",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
799354694 | Let the user override the call options by extending SIPUAHelper
The method buildCallOptions was already there but not used and instead _options was used directly so that I cannot override the default options by extending the SIPUAHelper class in a custom class and use the custom class instead.
This will affect #169 as the sdpSemantics property cannot be set currently. After this merge we can modify the pcConfig key-value pair in the options map returned from buildCallOptions.
LGTM
| gharchive/pull-request | 2021-02-02T14:55:18 | 2025-04-01T06:44:11.478132 | {
"authors": [
"bennyboer",
"cloudwebrtc"
],
"repo": "flutter-webrtc/dart-sip-ua",
"url": "https://github.com/flutter-webrtc/dart-sip-ua/pull/170",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1393608951 | Update comments that seem to contradict the code and may confuse the reader
Please see https://github.com/flutter/engine/pull/36556 for details.
Closing as fixed
| gharchive/issue | 2022-10-02T01:35:13 | 2025-04-01T06:44:11.597276 | {
"authors": [
"fzyzcjy",
"jonahwilliams"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/112758",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1410280738 | Xcode 14.0.1 iOS 16 - Flutter app opens to blank white screen
Analyzing ios...
No issues found! (ran in 4.9s)
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-x64, locale en-US)
• Flutter version 3.3.4 on channel stable at /Users/cjm/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision eb6d86ee27 (11 days ago), 2022-10-04 22:31:45 -0700
• Engine revision c08d7d5efc
• Dart version 2.18.2
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at /Users/cjm/Library/Android/sdk
• Platform android-32, build-tools 32.1.0-rc1
• 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.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A400
• 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.67.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.32.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • macOS 12.6 21G115 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 106.0.5249.119
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
I have been using flutter for a couple years now so I've come across blank screens before. What usually works is to delete the iOS folder, use "flutter create ." in the project folder, and run the app. However, that didn't fix it this time. I also deleted the app on my device and re-installed it. Still, the app launches to a blank white screen. No matter how long it sits open, the white screen stays. When I build it in Xcode and the app launches, nothing is printed in the debugging console, not even an error. It stays blank. I tried updating the Flutter SDK and tried all three channels but that didn't fix it. When I run the app on web through android studio it works as expected so I think something is wrong with Runner on iOS. The app worked fine on iOS before Xcode 14 and iOS 16 so that likely has something to do with the issue.
Hello @globemediaofficial. Thank you for filing this issue. Can you please provide the following information?
A complete and minimal, reproducible example. Ideally, a single main.dart file that can be run directly.
The output of flutter doctor -v
The output of flutter run-v
Please provide the information in the form of text. See how to make collapsible sections with Markdown here.
@globemediaofficial Faced the same issue,
upgrade from flutter 3.3.4 -> 3.3.5 and it's Works
@HuuCodelight i did upgrade flutter but even that didn’t fix it. Turns out it was probably never an issue with Flutter… I deleted the iOS Support folder in the Xcode directory and the next time I ran the app it worked. Something was wrong with the iOS 16 support files.
| gharchive/issue | 2022-10-15T20:20:31 | 2025-04-01T06:44:11.602185 | {
"authors": [
"HuuCodelight",
"exaby73",
"globemediaofficial"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/113489",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1477039578 | [Linux]: multicast_dns: Failed to create datagram socket (OS Error: Too many open files, errno = 24)
Steps to Reproduce
Find arm device using Linux (Preferred with less than 1GB ram)
git clone https://github.com/guyluz11/multicast_dns_error_repo/tree/main/bin.
Run the project (preferably with dart version Dart SDK version: 2.18.2 (stable) (Tue Sep 27 13:24:11 2022 +0200) on "linux_arm").
Wait about Half an hour (for me it didn't exceed 11m).
Expected results:
mDNS search function keeps searching in the background.
Actual results:
Getting an error from inside the flutter multicast_dns package
import 'package:network_tools/network_tools.dart';
Future<void> main(List<String> arguments) async {
await MdnsSearchDevices().searchMdnsDevices();
}
class MdnsSearchDevices {
Future<void> searchMdnsDevices() async {
while (true) {
for (ActiveHost activeHost in await MdnsScanner.searchMdnsDevices(
forceUseOfSavedSrvRecordList: true,
)) {}
DateTime now = DateTime.now();
print('timestamp: ${now.hour}:${now.minute}.${now.second}');
}
}
}
Logs
Unhandled exception:
SocketException: Failed to create datagram socket (OS Error: Too many open files, errno = 24), address = , port = 5353
#0 _NativeSocket.bindDatagram (dart:io-patch/socket_patch.dart:1015:7)
<asynchronous suspension>
#1 MDnsClient.start (package:multicast_dns/multicast_dns.dart:135:40)
<asynchronous suspension>
#2 MdnsScanner._findingMdnsWithAddress (package:network_tools/src/mdns_scanner/mdns_scanner.dart:72:5)
<asynchronous suspension>
It is dart native so not relevant
The project is running inside a Linux arm machine, dart version Dart SDK version: 2.18.2 (stable) (Tue Sep 27 13:24:11 2022 +0200) on "linux_arm" mDNS package version multicast_dns: ^0.3.2+1 that is being used from within network_tools package.
I think it happening in my arm device first is because of the small ram 1gb so it will take much longer to reproduce on a 8+gb ram x64 computer
Thanks for the report @guyluz11
The github repo you shared seems to be a full fledged app with lots of third party plugins / libraries. Can you confirm if the same error occurs using minimal code sample without third party plugins or just using default counter app on same device ?
Hi, I will open a new issue.
I found time to create minimal code to reproduce.
Here is a link to the repo
https://github.com/guyluz11/multicast_dns_error_repo
4. Wait several hours.
Thanks for the repo. Is there a way to consistently replicate this without this step ?
Wait several hours.
Thanks for the repo. Is there a way to consistently replicate this without this step ?
Not consistent but I have removed the delay function, did several tests and measured the time and it didn't exceed 11m.
I have updated the code and instructions.
Thanks for the update. Keeping this issue open based on the report and error shown.
| gharchive/issue | 2022-12-05T17:21:59 | 2025-04-01T06:44:11.611840 | {
"authors": [
"darshankawar",
"guyluz11"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/116528",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
253729077 | Last plugin pod is still embedded in an iOS app even after it is removed from the pubspec
I found a problem with release build for iOS. The app is built, but it crashes on launch.
[VERBOSE-3:dart_init.cc(560)] Error while initializing the Dart VM: JIT runtime cannot run a precompiled snapshot
iOS debug, Android debug/release work well.
This issue is on master and alpha channels.
New project (flutter create ...) runs without crashes.
Steps to Reproduce
flutter run --release -v
https://gist.github.com/mogol/1702b19068d949f44bdb54f693351b23
Logs
Run your application with flutter run and attach all the log output.
flutter run
Launching lib/main.dart on iPhone 7 GS in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: PWSQ8TH82A
Running Xcode build... 16.4s
You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
Syncing files to device iPhone 7 GS... 2.8s
🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
An Observatory debugger and profiler on iPhone 7 GS is available at: http://127.0.0.1:8102/
For a more detailed help message, press "h". To quit, press "q".
Run flutter analyze and attach any output of that command also.
flutter analyze
Analyzing /Users/herman/Projects/fitness/mobileapp...
lint • Type annotate public APIs at lib/calendar/calendar.dart:45:20 • type_annotate_public_apis
lint • Type annotate public APIs at lib/main.dart:99:20 • type_annotate_public_apis
lint • Avoid annotating with dynamic when not required at lib/redux/state.g.dart:46:20 • avoid_annotating_with_dynamic
lint • Sort constructor declarations before method declarations at lib/redux/state.g.dart:105:3 • sort_constructors_first
lint • Avoid returning this from methods just to enable a fluent interface at lib/redux/state.g.dart:107:23 • avoid_returning_this
lint • Avoid using `as` at lib/redux/state.g.dart:122:11 • avoid_as
6 issues found.
(Ran in 11.1s)
Flutter Doctor
flutter doctor
[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-RU, channel master)
• Flutter at /Users/herman/Projects/github/flutter
• Framework revision f1a23e263c (3 hours ago), 2017-08-29 14:58:31 +0200
• Engine revision e5395796cd
• Tools Dart version 1.25.0-dev.11.0
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
• Android SDK at /Users/herman/Library/Android/sdk
• Platform android-26, build-tools 26.0.0
• ANDROID_HOME = /Users/herman/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_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.3, Build version 8E3004b
• ios-deploy 1.9.1
• CocoaPods version 1.2.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.2.2)
• Flutter plugin version 16.0
• Dart plugin version 172.3757.55
[✓] Connected devices
• None
I'm not able to reproduce this crasher. Do you remember what commands you'd issued prior to the flutter run --release that failed?
Also, can you give the following steps a go and report whether the issue persists?
$ flutter upgrade
$ flutter build clean
$ flutter run --release
I marked this TODAY because if it's a problem that affects many people, then this should block alpha. But if we cannot reproduce it then we can remove the label.
@cbracken steps didn't help me
Do you remember what commands you'd issued prior to the flutter run --release that failed?
It looks like some issues with flutter & cocoa pods . I hope I found commit where it started. I deleted dependencies from pubspec.yaml, but it didn't update Podfile.lock.
How is it possible to force "pod install" command with right enviroment?
I fixed the issue by adding dummy dependency, it makes run pod install and then no crash 🎉
Main problem - Podfile.lock is not updated after removing dependencies from pubspec.yaml that depends on another pods.
In my case, seems I hack it manually somehow: it fixed debug, but breaks release configuration.
If a project doesn't have flutter plugins, it hasn't Podfile and Podfile.lock. So no issues with new projects.
If a project has flutter plugins, pod install will be invoked , no issues.
But my case:
If a project had flutter plugins before, then it were removed, as a result pod install wouldn't be invoked. But it has already Podfile and Podfile.lock. There is a reference in Podfile.lock
Flutter:
:path: "/Users/herman/Projects/github/flutter/bin/cache/artifacts/engine/ios-release"
or in debug
Flutter:
:path: "/Users/herman/Projects/github/flutter/bin/cache/artifacts/engine/ios"
And it doesn't update the reference for flutter run --debug or flutter run --release. And wrong config crashes app.
As workaround, I deleted Podfile/Podfile.lock and did pod deintegrate.
As a solution, what's about running cocoaPods.processPods if Podfile exists, not flutter plugins?
@mogol thanks for the update and details.
/cc @xster who's done a bunch of cocoapods work in flutter_tools for thoughts on the best approach to fixing this.
I've removed the TODAY label since this has been around for months and should be relatively rare, but we should definitely fix this.
Since this is rare, it doesn't fit our criteria for our near-term priorities.
@cbracken Can we actually repro this? It wasn't clear from the comments above.
@Hixie yes, it was reproducible but I was only able to repro with a hand-edited Podfile pointed at the debug engine bundle, then attempting to run in release mode.
@xster is probably the person most familiar with the Podfile management bits of flutter_tools and might have ideas how a Podfile could end up in the incorrect state.
@mogol, your description https://github.com/flutter/flutter/issues/11819#issuecomment-325874061 is representative.
If I understood correctly, there may be 2 things we might want to do.
If you removed the last plugin but still have manually specified pods (e.g. you edited the Podfile), we would still stop automatically running pod install but we should show a warning to the user reminder the user to manually run pod install to make sure it's updated.
If you removed the last plugin and have no manually specified pods (e.g. the Podfile still matches exactly the original template), then we should run pod deintegrate and the user doesn't have to worry about it anymore.
Did I summarize correctly?
@xster, looks good
I had to remove the package from project.pbxproj
I had to remove the package from project.pbxproj
Better to let pod remove it.
$ cd ios
$ pod deintegrate
I had to remove the package from project.pbxproj
Better to let pod remove it.
$ cd ios
$ pod deintegrate
I tried it multiple times, didn't work.
I had to remove the package from project.pbxproj
Better to let pod remove it.
$ cd ios
$ pod deintegrate
I tried it multiple times, didn't work.
same here getting ld: framework not found error disappear after manually removing in project.pbxproj
Same problem here
cc @loic-sharma can you confirm this isn't an issue with Swift Package Manager https://github.com/flutter/flutter/issues/33850? Meaning, the code that would remove the last plugin from the Package.swift is actually called when there the last native plugin dependency is removed from the pubspec?
@jmagman I verified this works as expected when using Swift Package Manager. I also sent a pull request that adds a test for this scenario in Swift Package Manager: https://github.com/flutter/flutter/pull/153519
| gharchive/issue | 2017-08-29T16:35:51 | 2025-04-01T06:44:11.630623 | {
"authors": [
"AndrsDev",
"Hixie",
"Xgamefactory",
"cbracken",
"jmagman",
"loic-sharma",
"mogol",
"p30arena",
"xster"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/11819",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1575441499 | FFI change breaks the new gallery
The change here https://dart.googlesource.com/sdk.git/+/846fb2832ec957d1f74ebb6cd92faca6fea1d2de
breaks the new gallery, which depends on a package that has a nullable struct field: https://github.com/fluttercommunity/plus_plugins/blob/main/packages/package_info_plus/package_info_plus/lib/src/file_version_info.dart#L13
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_android new_gallery__crane_perf/6462/overview
@dcharkes @a-siva
@zanderso I assume we have to revert in the SDK while we fix the dependencies and roll forward the dependencies?
Bug tracking the dependency:
https://github.com/fluttercommunity/plus_plugins/issues/1525
Reverts underway: https://dart-review.googlesource.com/c/sdk/+/281601
Upstream change:
https://github.com/fluttercommunity/plus_plugins/pull/1526
The reverts have been landed in the Dart SDK.
| gharchive/issue | 2023-02-08T04:20:22 | 2025-04-01T06:44:11.635837 | {
"authors": [
"dcharkes",
"zanderso"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/120260",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1730038060 | Firebase subscribeToTopic failed on ios Device flutter app
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
I have configured firebase correctly and I am getting messages on Android device and iOS Simulator.
But I run the device on physical iPhone app is stuck on splash screen and Firebase Crashlytics catch exception on main.dart line:38 which is
await FirebaseMessaging.instance.subscribeToTopic('ALL');
I am not able to figure out the issue.
Expected results
App should run without error
Actual results
Fatal Exception: FlutterError
0 ??? 0x0 StandardMethodCodec.decodeEnvelope + 652 (message_codecs.dart:652)
1 ??? 0x0 MethodChannel._invokeMethod + 310 (platform_channel.dart:310)
2 ??? 0x0 MethodChannel.invokeMapMethod + 510 (platform_channel.dart:510)
3 ??? 0x0 MethodChannelFirebaseMessaging.subscribeToTopic + 367 (method_channel_messaging.dart:367)
4 ??? 0x0 (null).main + 38 (main.dart:38)
Code sample
Code sample
Future main() async {
WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding);
await Firebase.initializeApp();
FlutterError.onError = (errorDetails) {
FirebaseCrashlytics.instance.recordFlutterFatalError(errorDetails);
};
PlatformDispatcher.instance.onError = (error, stack) {
FirebaseCrashlytics.instance.recordError(error, stack, fatal: true);
return true;
};
FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
FirebaseMessaging messaging = FirebaseMessaging.instance;
await FirebaseMessaging.instance.subscribeToTopic('ALL');
messaging.setForegroundNotificationPresentationOptions(
alert: true, badge: true, sound: true);
await SystemChrome.setPreferredOrientations(
[DeviceOrientation.portraitUp],
);
await messaging.requestPermission(
alert: true, badge: true, provisional: false, sound: true);
var tk = await FirebaseMessaging.instance.getToken();
Screenshots or Video
https://github.com/flutter/flutter/assets/27408112/4329944c-c303-4dfc-bf0e-140a08abbb8f
Logs
Logs
Error from Crashlytics
0
message_codecs.dart - Line 652
StandardMethodCodec.decodeEnvelope + 652
1
platform_channel.dart - Line 310
MethodChannel._invokeMethod + 310
2
platform_channel.dart - Line 510
MethodChannel.invokeMapMethod + 510
3
method_channel_messaging.dart - Line 367
MethodChannelFirebaseMessaging.subscribeToTopic + 367
arrow_right
4
main.dart - Line 38
(null).main + 38
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.1, on macOS 13.0.1 22A400 darwin-x64, locale en-GB)
• Flutter version 3.10.1 on channel stable at /Users/ocean_computers/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d3d8effc68 (12 days ago), 2023-05-16 17:59:05 -0700
• Engine revision b4fb11214d
• Dart version 3.0.1
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /Users/ocean_computers/Library/Android/sdk
• Platform android-33, build-tools 33.0.2
• ANDROID_HOME = /Users/ocean_computers/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 14.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14B47b
• CocoaPods version 1.12.1
[✓] 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.78.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.64.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • macOS 13.0.1 22A400 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 111.0.5563.64
[✓] Network resources
• All expected network resources are available.
• No issues found!
firebase_messaging is a third-party package. Any issues you face using it should be reported on their repo.
Closing from here.
Thank you
| gharchive/issue | 2023-05-29T04:41:28 | 2025-04-01T06:44:11.653228 | {
"authors": [
"danagbemava-nc",
"efazalk"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/127781",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1818867902 | MaterialButton adds unecessary padding to child
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
To reproduce this issue, just use a MaterialButton inside a Container. Give height and width to container and add a child to MaterialButton.
Expected results
There should not be any specific padding added to MaterialButton's child
Actual results
Even if the child is aligned to be center, the child is placed at a bit bottom right corner hence giving some padding to the child of MaterialButton.
Code sample
Code sample
import 'package:flutter/material.dart';
void main() {
runApp(const MainApp());
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: Container(
width: 30,
height: 30,
color: Colors.black,
child: MaterialButton(
onPressed: () {},
child: const Icon(
Icons.next_plan,
size: 20,
color: Colors.white,
),
),
),
),
),
);
}
}
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Launching lib/main.dart on Chrome in debug mode...
main.dart:1
This app is linked to the debug service: ws://127.0.0.1:51792/KowQHVDz_vU=/ws
Debug service listening on ws://127.0.0.1:51792/KowQHVDz_vU=/ws
Connecting to VM Service at ws://127.0.0.1:51792/KowQHVDz_vU=/ws
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.4.1 22F770820d darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.80.1)
[✓] Connected device (2 available)
[✓] Network resources
• No issues found!
If the icon size is 20 and container height/width is 30, this issue is clearly visible. However, if I increase the container height/width to 40, it won't be visible.
@TahaTesser @rydmike any thoughts? 😅
Probably duplicate of https://github.com/flutter/flutter/issues/85729. I don't like it, but it is intended.
Hi,
I checked this issue on some kind of buttons:
IconButton/ElevatedButton/TextButton
MaterialButton
Setting materialTapTargetSize doesn't seem to work in this case but you can bypass this by setting padding to 0 in button theme:
Sample code
import 'package:flutter/material.dart';
void main() {
runApp(const MainApp());
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
buttonTheme: const ButtonThemeData(
padding: EdgeInsets.zero,
),
),
home: Scaffold(
body: Center(
child: Container(
width: 30,
height: 30,
color: Colors.black,
child: MaterialButton(
onPressed: () {},
child: const Icon(
Icons.next_plan,
size: 20,
color: Colors.orange,
),
),
),
),
),
);
}
}
Please try this and confirm if it's applicable to your case.
@huycozy this solves the issue, but the default padding should be 0 right? I mean, why would there be some default padding, if I need a padding, I will add it. Also, if there is a default padding, why is the icon not in centre? Is the padding provided unevenly?
MaterialButton is using RawMaterialButton (which has padding is zero) and passing padding from buttonTheme.
In this case without defining any padding to MaterialButton, it will check ButtonTextTheme but there are only 3 types that all return non-zero padding (*):
https://github.com/flutter/flutter/blob/04391d85ac4dce788612b08f45ba91c0c381363d/packages/flutter/lib/src/material/button_theme.dart#L652-L657
It seems to be fallen to default padding 16 defined by ButtonTextTheme.normal (see this).
I think there are some fixes that can be applied here:
Give zero padding to case ButtonTextTheme.normal at the button text theme check above (*).
Defined a new ButtonTextTheme with zero padding
Labeling the issue for more opinions.
flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
• Flutter version 3.10.6 on channel stable at /Users/huynq/Documents/GitHub/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f468f3366c (5 hours ago), 2023-07-12 15:19:05 -0700
• Engine revision cdbeda788a
• Dart version 3.0.6
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at /Users/huynq/Library/Android/sdk
• Platform android-33, build-tools 32.0.0
• ANDROID_HOME = /Users/huynq/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)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3
[✓] 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.80.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.68.0
[✓] Connected device (3 available)
• RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64 • Android 11 (API 30)
• macOS (desktop) • macos • darwin-x64 • macOS 13.0.1 22A400 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 114.0.5735.198
[✓] Network resources
• All expected network resources are available.
• No issues found!
[!] Flutter (Channel master, 3.13.0-11.0.pre.21, on macOS 13.4.1 22F770820d darwin-x64, locale en-VN)
• Flutter version 3.13.0-11.0.pre.21 on channel master at /Users/huynq/Documents/GitHub/flutter_master
! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 04391d85ac (50 minutes ago), 2023-07-27 22:43:48 -0400
• Engine revision b0d97ba45f
• Dart version 3.2.0 (build 3.2.0-8.0.dev)
• DevTools version 2.25.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 32.0.0)
• Android SDK at /Users/huynq/Library/Android/sdk
• Platform android-33, build-tools 32.0.0
• ANDROID_HOME = /Users/huynq/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)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3
[✓] 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.80.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.68.0
[✓] Connected device (4 available)
• RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64 • Android 11 (API 30)
• iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios • iOS 15.7.2 19H218
• macOS (desktop) • macos • darwin-x64 • macOS 13.4.1 22F770820d darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 115.0.5790.114
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Button theme resizes with visualDensity, so even if padding were 0 it could get negative or positive depending on the visualDensity value, so zero wouldn't solve.
MaterialButton and RawMaterialButton are effectively obsolete and will (eventually) be deprecated. in favor of the ButtonStyle buttons - https://api.flutter.dev/flutter/material/ButtonStyleButton-class.html.
I have the issue with IconButton too. apparently the padding works only for any value bigger than 50
class IconButtonPaddingBug extends StatelessWidget {
const IconButtonPaddingBug({super.key});
@override
Widget build(BuildContext context) {
const sizes = [0, 1, 2, 8, 9, 10, 11, 12, 13, 14, 15, 17, 20, 50, 100, 200];
return Scaffold(
body: SafeArea(
child: SingleChildScrollView(
child: Column(
children: [
for (var i = 0; i < sizes.length; i++)
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
Text(sizes[i].toString().padLeft(3, '0')),
Container(
decoration: BoxDecoration(border: Border.all()),
child: IconButton(
padding: EdgeInsets.all(i.toDouble()),
icon: const Icon(Icons.abc),
onPressed: () {},
),
)
],
)
],
),
),
),
);
}
}
as you can see in the image all of the buttons has the same size
| gharchive/issue | 2023-07-24T17:51:34 | 2025-04-01T06:44:11.670731 | {
"authors": [
"AbhishekDoshi26",
"HansMuller",
"bernaferrari",
"huycozy",
"mhamri"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/131208",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1882567898 | Audit use of UIScreen scale
We have a lot of code in FlutterViewController that is getting size information from the Flutter view, but scale from the UIScreen. This adds complexity, especially with the deprecation of mainScreen, and it's not at all clear to me what we are involving the screen at all; if we want the Flutter view's scale factor, which I believe is the case, we should use the view's contentScaleFactor.
I don't know for certain that there isn't some subtle reason this is better, vs just an API oversight, but we should investigate to see and simplify the code if it's not necessary to do it this way.
At least some of these correspond directly to places where I uses the content scale factor in the macOS embedding, which points to it mostly not being necessary.
It's also quite possible that it was done in some cases to be able to always get a non-zero value even if the view isn't loaded, but now we have been changing mainScreen to instead get the screen from viewIfLoaded.screen removing any possible benefit there.
| gharchive/issue | 2023-09-05T19:03:42 | 2025-04-01T06:44:11.673956 | {
"authors": [
"stuartmorgan"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/134062",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1899671482 | Android app not building
hi,
My system's android-setup side of flutter is completely messed-up.
Note: Debian(Linux-based) builds are working great, everything else is good, and working, except android.
How may i solve it?
Process(I followed) to get to this situation (please read carefully):
Install Debian, then git clone flutter-master, then flutter doctor.
Create a debian-supported flutter project, and run it; app builds, and works great.
Ensure android-studio is not installed.
Install cmdline-tools;latest, from developer.android.com/cmdline-tools.
Using cmdline-tools/bin/sdkmanager, install build-tools;34.0.0, and platform-tools.
Using platform-tools/bin/adb, (wirelessly) pair and connect to my physical, motorola branded, android-11 based, phone; through internet connected WiFi.
Create an android-supported flutter project, and run, it.
Android device is detected correctly, hence building starts, and user is waiting for gradle assemble.
Encounter the error, Problem installing some packages, Android licenses not accepted, so exec cmdline-tools/bin/sdkmanager --licenses,
Run again, still has some problem, so restart the computer.
Connect the previously paired, android phone.
Encounter the error, Current platform not supported; then exec flutter devices, and find that device is not being detected by flutter tool, but phone is showing the connection notification. Exec platform-tools/adb kill-server, then connect again, but still, same problem, so restart the computer, again.
Search Google, and decide to exec export ANDROID_HOME="~/bin/android/sdk, and echo to .bashrc, all above mentioned cli tools are installed in this directory.
Exec flutter doctor -vv, and encounter the error, saying, sdk path is set, but no SDK found.
Curse the docs a bit, and decide to install android-studio, then setup; still no progress.
Exec flutter config --android-studio-dir=~/bin/android/studio, and export JAVA_HOME=~/bin/android/studio/jbr(also echo to bash-rc).
Now encounter the error, "Could not find the Android Studio installation at the manually configured path "~/bin/android/studio"".
Then curse the docs, a bit more, then write this issue, then submit.
Note: debian apps are still building, and working great, just android apps are not
thanking you
Setting up Android builds is a little bit tricky 😉.
For setting up Android builds, please refer to the procedure presented in the docs. I recommend you uninstall the Android toolchain as well as Android Studio and verify that you install them in the correct location.
Also, try to do one step at a time: you don't need to connect your phone when you can't even build the app.
In case you still encounter issues with your build, please provide the following information:
how you installed your setup (e.g. did you use Snap, install the files manually, use an installer)
links to your information sources
the concrete flutter doctor output
@gintominto5329 When opening an issue, please try to provide all information indicated in the issue template so that we can address this issue properly (See the bug template here). The necessary information to debug this issue has been mentioned above by @NobodyForNothing.
| gharchive/issue | 2023-09-17T06:11:44 | 2025-04-01T06:44:11.683843 | {
"authors": [
"NobodyForNothing",
"gintominto5329",
"huycozy"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/134893",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
2122357835 | Android camera delayed start on startVideoRecording() function.
Steps to reproduce
Load up the Example Camera Project
Add in a library for saving video to investigate it clearly (I used GallerySaver)
Build for android (Debug or Release)
Start Recording a video, observing an action at the start.
Finish Recording Video
Observe Video File
Expected results
Expected result is a full length video that runs from the time when the startVideoRecording function is called, up till the moment stopVideoRecording is called.
Actual results
the saved video is missing 1 second of footage from the time the function is called, but finishes on time. There are visual stutters in the camera preview on the beginning and end of recording also.
Code sample
Code sample
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'package:camera/camera.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import 'package:gallery_saver/gallery_saver.dart';
import 'package:video_player/video_player.dart';
/// Camera example home widget.
class CameraExampleHome extends StatefulWidget {
/// Default Constructor
const CameraExampleHome({super.key});
@override
State<CameraExampleHome> createState() {
return _CameraExampleHomeState();
}
}
/// Returns a suitable camera icon for [direction].
IconData getCameraLensIcon(CameraLensDirection direction) {
switch (direction) {
case CameraLensDirection.back:
return Icons.camera_rear;
case CameraLensDirection.front:
return Icons.camera_front;
case CameraLensDirection.external:
return Icons.camera;
}
// This enum is from a different package, so a new value could be added at
// any time. The example should keep working if that happens.
// ignore: dead_code
return Icons.camera;
}
void _logError(String code, String? message) {
// ignore: avoid_print
print('Error: $code${message == null ? '' : '\nError Message: $message'}');
}
class _CameraExampleHomeState extends State<CameraExampleHome>
with WidgetsBindingObserver, TickerProviderStateMixin {
CameraController? controller;
XFile? imageFile;
XFile? videoFile;
VideoPlayerController? videoController;
VoidCallback? videoPlayerListener;
bool enableAudio = true;
double _minAvailableExposureOffset = 0.0;
double _maxAvailableExposureOffset = 0.0;
double _currentExposureOffset = 0.0;
late AnimationController _flashModeControlRowAnimationController;
late Animation<double> _flashModeControlRowAnimation;
late AnimationController _exposureModeControlRowAnimationController;
late Animation<double> _exposureModeControlRowAnimation;
late AnimationController _focusModeControlRowAnimationController;
late Animation<double> _focusModeControlRowAnimation;
double _minAvailableZoom = 1.0;
double _maxAvailableZoom = 1.0;
double _currentScale = 1.0;
double _baseScale = 1.0;
// Counting pointers (number of user fingers on screen)
int _pointers = 0;
@override
void initState() {
super.initState();
WidgetsBinding.instance.addObserver(this);
_flashModeControlRowAnimationController = AnimationController(
duration: const Duration(milliseconds: 300),
vsync: this,
);
_flashModeControlRowAnimation = CurvedAnimation(
parent: _flashModeControlRowAnimationController,
curve: Curves.easeInCubic,
);
_exposureModeControlRowAnimationController = AnimationController(
duration: const Duration(milliseconds: 300),
vsync: this,
);
_exposureModeControlRowAnimation = CurvedAnimation(
parent: _exposureModeControlRowAnimationController,
curve: Curves.easeInCubic,
);
_focusModeControlRowAnimationController = AnimationController(
duration: const Duration(milliseconds: 300),
vsync: this,
);
_focusModeControlRowAnimation = CurvedAnimation(
parent: _focusModeControlRowAnimationController,
curve: Curves.easeInCubic,
);
}
@override
void dispose() {
WidgetsBinding.instance.removeObserver(this);
_flashModeControlRowAnimationController.dispose();
_exposureModeControlRowAnimationController.dispose();
super.dispose();
}
// #docregion AppLifecycle
@override
void didChangeAppLifecycleState(AppLifecycleState state) {
final CameraController? cameraController = controller;
// App state changed before we got the chance to initialize.
if (cameraController == null || !cameraController.value.isInitialized) {
return;
}
if (state == AppLifecycleState.inactive) {
cameraController.dispose();
} else if (state == AppLifecycleState.resumed) {
_initializeCameraController(cameraController.description);
}
}
// #enddocregion AppLifecycle
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Camera example'),
),
body: Column(
children: <Widget>[
Expanded(
child: Container(
decoration: BoxDecoration(
color: Colors.black,
border: Border.all(
color:
controller != null && controller!.value.isRecordingVideo
? Colors.redAccent
: Colors.grey,
width: 3.0,
),
),
child: Padding(
padding: const EdgeInsets.all(1.0),
child: Center(
child: _cameraPreviewWidget(),
),
),
),
),
_captureControlRowWidget(),
_modeControlRowWidget(),
Padding(
padding: const EdgeInsets.all(5.0),
child: Row(
children: <Widget>[
_cameraTogglesRowWidget(),
_thumbnailWidget(),
],
),
),
],
),
);
}
/// Display the preview from the camera (or a message if the preview is not available).
Widget _cameraPreviewWidget() {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isInitialized) {
return const Text(
'Tap a camera',
style: TextStyle(
color: Colors.white,
fontSize: 24.0,
fontWeight: FontWeight.w900,
),
);
} else {
return Listener(
onPointerDown: (_) => _pointers++,
onPointerUp: (_) => _pointers--,
child: CameraPreview(
controller!,
child: LayoutBuilder(
builder: (BuildContext context, BoxConstraints constraints) {
return GestureDetector(
behavior: HitTestBehavior.opaque,
onScaleStart: _handleScaleStart,
onScaleUpdate: _handleScaleUpdate,
onTapDown: (TapDownDetails details) =>
onViewFinderTap(details, constraints),
);
}),
),
);
}
}
void _handleScaleStart(ScaleStartDetails details) {
_baseScale = _currentScale;
}
Future<void> _handleScaleUpdate(ScaleUpdateDetails details) async {
// When there are not exactly two fingers on screen don't scale
if (controller == null || _pointers != 2) {
return;
}
_currentScale = (_baseScale * details.scale)
.clamp(_minAvailableZoom, _maxAvailableZoom);
await controller!.setZoomLevel(_currentScale);
}
/// Display the thumbnail of the captured image or video.
Widget _thumbnailWidget() {
final VideoPlayerController? localVideoController = videoController;
return Expanded(
child: Align(
alignment: Alignment.centerRight,
child: Row(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
if (localVideoController == null && imageFile == null)
Container()
else
SizedBox(
width: 64.0,
height: 64.0,
child: (localVideoController == null)
? (
// The captured image on the web contains a network-accessible URL
// pointing to a location within the browser. It may be displayed
// either with Image.network or Image.memory after loading the image
// bytes to memory.
kIsWeb
? Image.network(imageFile!.path)
: Image.file(File(imageFile!.path)))
: Container(
decoration: BoxDecoration(
border: Border.all(color: Colors.pink)),
child: Center(
child: AspectRatio(
aspectRatio:
localVideoController.value.aspectRatio,
child: VideoPlayer(localVideoController)),
),
),
),
],
),
),
);
}
/// Display a bar with buttons to change the flash and exposure modes
Widget _modeControlRowWidget() {
return Column(
children: <Widget>[
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
IconButton(
icon: const Icon(Icons.flash_on),
color: Colors.blue,
onPressed: controller != null ? onFlashModeButtonPressed : null,
),
// The exposure and focus mode are currently not supported on the web.
...!kIsWeb
? <Widget>[
IconButton(
icon: const Icon(Icons.exposure),
color: Colors.blue,
onPressed: controller != null
? onExposureModeButtonPressed
: null,
),
IconButton(
icon: const Icon(Icons.filter_center_focus),
color: Colors.blue,
onPressed:
controller != null ? onFocusModeButtonPressed : null,
)
]
: <Widget>[],
IconButton(
icon: Icon(enableAudio ? Icons.volume_up : Icons.volume_mute),
color: Colors.blue,
onPressed: controller != null ? onAudioModeButtonPressed : null,
),
IconButton(
icon: Icon(controller?.value.isCaptureOrientationLocked ?? false
? Icons.screen_lock_rotation
: Icons.screen_rotation),
color: Colors.blue,
onPressed: controller != null
? onCaptureOrientationLockButtonPressed
: null,
),
],
),
_flashModeControlRowWidget(),
_exposureModeControlRowWidget(),
_focusModeControlRowWidget(),
],
);
}
Widget _flashModeControlRowWidget() {
return SizeTransition(
sizeFactor: _flashModeControlRowAnimation,
child: ClipRect(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
IconButton(
icon: const Icon(Icons.flash_off),
color: controller?.value.flashMode == FlashMode.off
? Colors.orange
: Colors.blue,
onPressed: controller != null
? () => onSetFlashModeButtonPressed(FlashMode.off)
: null,
),
IconButton(
icon: const Icon(Icons.flash_auto),
color: controller?.value.flashMode == FlashMode.auto
? Colors.orange
: Colors.blue,
onPressed: controller != null
? () => onSetFlashModeButtonPressed(FlashMode.auto)
: null,
),
IconButton(
icon: const Icon(Icons.flash_on),
color: controller?.value.flashMode == FlashMode.always
? Colors.orange
: Colors.blue,
onPressed: controller != null
? () => onSetFlashModeButtonPressed(FlashMode.always)
: null,
),
IconButton(
icon: const Icon(Icons.highlight),
color: controller?.value.flashMode == FlashMode.torch
? Colors.orange
: Colors.blue,
onPressed: controller != null
? () => onSetFlashModeButtonPressed(FlashMode.torch)
: null,
),
],
),
),
);
}
Widget _exposureModeControlRowWidget() {
final ButtonStyle styleAuto = TextButton.styleFrom(
foregroundColor: controller?.value.exposureMode == ExposureMode.auto
? Colors.orange
: Colors.blue,
);
final ButtonStyle styleLocked = TextButton.styleFrom(
foregroundColor: controller?.value.exposureMode == ExposureMode.locked
? Colors.orange
: Colors.blue,
);
return SizeTransition(
sizeFactor: _exposureModeControlRowAnimation,
child: ClipRect(
child: ColoredBox(
color: Colors.grey.shade50,
child: Column(
children: <Widget>[
const Center(
child: Text('Exposure Mode'),
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
TextButton(
style: styleAuto,
onPressed: controller != null
? () =>
onSetExposureModeButtonPressed(ExposureMode.auto)
: null,
onLongPress: () {
if (controller != null) {
controller!.setExposurePoint(null);
showInSnackBar('Resetting exposure point');
}
},
child: const Text('AUTO'),
),
TextButton(
style: styleLocked,
onPressed: controller != null
? () =>
onSetExposureModeButtonPressed(ExposureMode.locked)
: null,
child: const Text('LOCKED'),
),
TextButton(
style: styleLocked,
onPressed: controller != null
? () => controller!.setExposureOffset(0.0)
: null,
child: const Text('RESET OFFSET'),
),
],
),
const Center(
child: Text('Exposure Offset'),
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Text(_minAvailableExposureOffset.toString()),
Slider(
value: _currentExposureOffset,
min: _minAvailableExposureOffset,
max: _maxAvailableExposureOffset,
label: _currentExposureOffset.toString(),
onChanged: _minAvailableExposureOffset ==
_maxAvailableExposureOffset
? null
: setExposureOffset,
),
Text(_maxAvailableExposureOffset.toString()),
],
),
],
),
),
),
);
}
Widget _focusModeControlRowWidget() {
final ButtonStyle styleAuto = TextButton.styleFrom(
foregroundColor: controller?.value.focusMode == FocusMode.auto
? Colors.orange
: Colors.blue,
);
final ButtonStyle styleLocked = TextButton.styleFrom(
foregroundColor: controller?.value.focusMode == FocusMode.locked
? Colors.orange
: Colors.blue,
);
return SizeTransition(
sizeFactor: _focusModeControlRowAnimation,
child: ClipRect(
child: ColoredBox(
color: Colors.grey.shade50,
child: Column(
children: <Widget>[
const Center(
child: Text('Focus Mode'),
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
TextButton(
style: styleAuto,
onPressed: controller != null
? () => onSetFocusModeButtonPressed(FocusMode.auto)
: null,
onLongPress: () {
if (controller != null) {
controller!.setFocusPoint(null);
}
showInSnackBar('Resetting focus point');
},
child: const Text('AUTO'),
),
TextButton(
style: styleLocked,
onPressed: controller != null
? () => onSetFocusModeButtonPressed(FocusMode.locked)
: null,
child: const Text('LOCKED'),
),
],
),
],
),
),
),
);
}
/// Display the control bar with buttons to take pictures and record videos.
Widget _captureControlRowWidget() {
final CameraController? cameraController = controller;
return Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
IconButton(
icon: const Icon(Icons.camera_alt),
color: Colors.blue,
onPressed: cameraController != null &&
cameraController.value.isInitialized &&
!cameraController.value.isRecordingVideo
? onTakePictureButtonPressed
: null,
),
IconButton(
icon: const Icon(Icons.videocam),
color: Colors.blue,
onPressed: cameraController != null &&
cameraController.value.isInitialized &&
!cameraController.value.isRecordingVideo
? onVideoRecordButtonPressed
: null,
),
IconButton(
icon: cameraController != null &&
cameraController.value.isRecordingPaused
? const Icon(Icons.play_arrow)
: const Icon(Icons.pause),
color: Colors.blue,
onPressed: cameraController != null &&
cameraController.value.isInitialized &&
cameraController.value.isRecordingVideo
? (cameraController.value.isRecordingPaused)
? onResumeButtonPressed
: onPauseButtonPressed
: null,
),
IconButton(
icon: const Icon(Icons.stop),
color: Colors.red,
onPressed: cameraController != null &&
cameraController.value.isInitialized &&
cameraController.value.isRecordingVideo
? onStopButtonPressed
: null,
),
IconButton(
icon: const Icon(Icons.pause_presentation),
color:
cameraController != null && cameraController.value.isPreviewPaused
? Colors.red
: Colors.blue,
onPressed:
cameraController == null ? null : onPausePreviewButtonPressed,
),
],
);
}
/// Display a row of toggle to select the camera (or a message if no camera is available).
Widget _cameraTogglesRowWidget() {
final List<Widget> toggles = <Widget>[];
void onChanged(CameraDescription? description) {
if (description == null) {
return;
}
onNewCameraSelected(description);
}
if (_cameras.isEmpty) {
SchedulerBinding.instance.addPostFrameCallback((_) async {
showInSnackBar('No camera found.');
});
return const Text('None');
} else {
for (final CameraDescription cameraDescription in _cameras) {
toggles.add(
SizedBox(
width: 90.0,
child: RadioListTile<CameraDescription>(
title: Icon(getCameraLensIcon(cameraDescription.lensDirection)),
groupValue: controller?.description,
value: cameraDescription,
onChanged: onChanged,
),
),
);
}
}
return Row(children: toggles);
}
String timestamp() => DateTime.now().millisecondsSinceEpoch.toString();
void showInSnackBar(String message) {
ScaffoldMessenger.of(context)
.showSnackBar(SnackBar(content: Text(message)));
}
void onViewFinderTap(TapDownDetails details, BoxConstraints constraints) {
if (controller == null) {
return;
}
final CameraController cameraController = controller!;
final Offset offset = Offset(
details.localPosition.dx / constraints.maxWidth,
details.localPosition.dy / constraints.maxHeight,
);
cameraController.setExposurePoint(offset);
cameraController.setFocusPoint(offset);
}
Future<void> onNewCameraSelected(CameraDescription cameraDescription) async {
if (controller != null) {
return controller!.setDescription(cameraDescription);
} else {
return _initializeCameraController(cameraDescription);
}
}
Future<void> _initializeCameraController(
CameraDescription cameraDescription) async {
final CameraController cameraController = CameraController(
cameraDescription,
kIsWeb ? ResolutionPreset.max : ResolutionPreset.medium,
enableAudio: enableAudio,
imageFormatGroup: ImageFormatGroup.jpeg,
);
controller = cameraController;
// If the controller is updated then update the UI.
cameraController.addListener(() {
if (mounted) {
setState(() {});
}
if (cameraController.value.hasError) {
showInSnackBar(
'Camera error ${cameraController.value.errorDescription}');
}
});
try {
await cameraController.initialize();
await Future.wait(<Future<Object?>>[
// The exposure mode is currently not supported on the web.
...!kIsWeb
? <Future<Object?>>[
cameraController.getMinExposureOffset().then(
(double value) => _minAvailableExposureOffset = value),
cameraController
.getMaxExposureOffset()
.then((double value) => _maxAvailableExposureOffset = value)
]
: <Future<Object?>>[],
cameraController
.getMaxZoomLevel()
.then((double value) => _maxAvailableZoom = value),
cameraController
.getMinZoomLevel()
.then((double value) => _minAvailableZoom = value),
]);
} on CameraException catch (e) {
switch (e.code) {
case 'CameraAccessDenied':
showInSnackBar('You have denied camera access.');
case 'CameraAccessDeniedWithoutPrompt':
// iOS only
showInSnackBar('Please go to Settings app to enable camera access.');
case 'CameraAccessRestricted':
// iOS only
showInSnackBar('Camera access is restricted.');
case 'AudioAccessDenied':
showInSnackBar('You have denied audio access.');
case 'AudioAccessDeniedWithoutPrompt':
// iOS only
showInSnackBar('Please go to Settings app to enable audio access.');
case 'AudioAccessRestricted':
// iOS only
showInSnackBar('Audio access is restricted.');
default:
_showCameraException(e);
break;
}
}
if (mounted) {
setState(() {});
}
}
void onTakePictureButtonPressed() {
takePicture().then((XFile? file) {
if (mounted) {
setState(() {
imageFile = file;
videoController?.dispose();
videoController = null;
});
if (file != null) {
showInSnackBar('Picture saved to ${file.path}');
}
}
});
}
void onFlashModeButtonPressed() {
if (_flashModeControlRowAnimationController.value == 1) {
_flashModeControlRowAnimationController.reverse();
} else {
_flashModeControlRowAnimationController.forward();
_exposureModeControlRowAnimationController.reverse();
_focusModeControlRowAnimationController.reverse();
}
}
void onExposureModeButtonPressed() {
if (_exposureModeControlRowAnimationController.value == 1) {
_exposureModeControlRowAnimationController.reverse();
} else {
_exposureModeControlRowAnimationController.forward();
_flashModeControlRowAnimationController.reverse();
_focusModeControlRowAnimationController.reverse();
}
}
void onFocusModeButtonPressed() {
if (_focusModeControlRowAnimationController.value == 1) {
_focusModeControlRowAnimationController.reverse();
} else {
_focusModeControlRowAnimationController.forward();
_flashModeControlRowAnimationController.reverse();
_exposureModeControlRowAnimationController.reverse();
}
}
void onAudioModeButtonPressed() {
enableAudio = !enableAudio;
if (controller != null) {
onNewCameraSelected(controller!.description);
}
}
Future<void> onCaptureOrientationLockButtonPressed() async {
try {
if (controller != null) {
final CameraController cameraController = controller!;
if (cameraController.value.isCaptureOrientationLocked) {
await cameraController.unlockCaptureOrientation();
showInSnackBar('Capture orientation unlocked');
} else {
await cameraController.lockCaptureOrientation();
showInSnackBar(
'Capture orientation locked to ${cameraController.value.lockedCaptureOrientation.toString().split('.').last}');
}
}
} on CameraException catch (e) {
_showCameraException(e);
}
}
void onSetFlashModeButtonPressed(FlashMode mode) {
setFlashMode(mode).then((_) {
if (mounted) {
setState(() {});
}
showInSnackBar('Flash mode set to ${mode.toString().split('.').last}');
});
}
void onSetExposureModeButtonPressed(ExposureMode mode) {
setExposureMode(mode).then((_) {
if (mounted) {
setState(() {});
}
showInSnackBar('Exposure mode set to ${mode.toString().split('.').last}');
});
}
void onSetFocusModeButtonPressed(FocusMode mode) {
setFocusMode(mode).then((_) {
if (mounted) {
setState(() {});
}
showInSnackBar('Focus mode set to ${mode.toString().split('.').last}');
});
}
void onVideoRecordButtonPressed() {
startVideoRecording().then((_) {
if (mounted) {
setState(() {});
}
});
}
void onStopButtonPressed() {
stopVideoRecording().then((XFile? file) {
if (mounted) {
setState(() {});
}
if (file != null) {
GallerySaver.saveVideo(file.path, albumName: 'test').then((_) {
showInSnackBar('Video recorded to ${file.path}');
videoFile = file;
_startVideoPlayer();
});
}
});
}
Future<void> onPausePreviewButtonPressed() async {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isInitialized) {
showInSnackBar('Error: select a camera first.');
return;
}
if (cameraController.value.isPreviewPaused) {
await cameraController.resumePreview();
} else {
await cameraController.pausePreview();
}
if (mounted) {
setState(() {});
}
}
void onPauseButtonPressed() {
pauseVideoRecording().then((_) {
if (mounted) {
setState(() {});
}
showInSnackBar('Video recording paused');
});
}
void onResumeButtonPressed() {
resumeVideoRecording().then((_) {
if (mounted) {
setState(() {});
}
showInSnackBar('Video recording resumed');
});
}
Future<void> startVideoRecording() async {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isInitialized) {
showInSnackBar('Error: select a camera first.');
return;
}
if (cameraController.value.isRecordingVideo) {
// A recording is already started, do nothing.
return;
}
try {
await cameraController.startVideoRecording();
} on CameraException catch (e) {
_showCameraException(e);
return;
}
}
Future<XFile?> stopVideoRecording() async {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isRecordingVideo) {
return null;
}
try {
return cameraController.stopVideoRecording();
} on CameraException catch (e) {
_showCameraException(e);
return null;
}
}
Future<void> pauseVideoRecording() async {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isRecordingVideo) {
return;
}
try {
await cameraController.pauseVideoRecording();
} on CameraException catch (e) {
_showCameraException(e);
rethrow;
}
}
Future<void> resumeVideoRecording() async {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isRecordingVideo) {
return;
}
try {
await cameraController.resumeVideoRecording();
} on CameraException catch (e) {
_showCameraException(e);
rethrow;
}
}
Future<void> setFlashMode(FlashMode mode) async {
if (controller == null) {
return;
}
try {
await controller!.setFlashMode(mode);
} on CameraException catch (e) {
_showCameraException(e);
rethrow;
}
}
Future<void> setExposureMode(ExposureMode mode) async {
if (controller == null) {
return;
}
try {
await controller!.setExposureMode(mode);
} on CameraException catch (e) {
_showCameraException(e);
rethrow;
}
}
Future<void> setExposureOffset(double offset) async {
if (controller == null) {
return;
}
setState(() {
_currentExposureOffset = offset;
});
try {
offset = await controller!.setExposureOffset(offset);
} on CameraException catch (e) {
_showCameraException(e);
rethrow;
}
}
Future<void> setFocusMode(FocusMode mode) async {
if (controller == null) {
return;
}
try {
await controller!.setFocusMode(mode);
} on CameraException catch (e) {
_showCameraException(e);
rethrow;
}
}
Future<void> _startVideoPlayer() async {
if (videoFile == null) {
return;
}
final VideoPlayerController vController = kIsWeb
? VideoPlayerController.networkUrl(Uri.parse(videoFile!.path))
: VideoPlayerController.file(File(videoFile!.path));
videoPlayerListener = () {
if (videoController != null) {
// Refreshing the state to update video player with the correct ratio.
if (mounted) {
setState(() {});
}
videoController!.removeListener(videoPlayerListener!);
}
};
vController.addListener(videoPlayerListener!);
await vController.setLooping(true);
await vController.initialize();
await videoController?.dispose();
if (mounted) {
setState(() {
imageFile = null;
videoController = vController;
});
}
await vController.play();
}
Future<XFile?> takePicture() async {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isInitialized) {
showInSnackBar('Error: select a camera first.');
return null;
}
if (cameraController.value.isTakingPicture) {
// A capture is already pending, do nothing.
return null;
}
try {
final XFile file = await cameraController.takePicture();
return file;
} on CameraException catch (e) {
_showCameraException(e);
return null;
}
}
void _showCameraException(CameraException e) {
_logError(e.code, e.description);
showInSnackBar('Error: ${e.code}\n${e.description}');
}
}
/// CameraApp is the Main Application.
class CameraApp extends StatelessWidget {
/// Default Constructor
const CameraApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: CameraExampleHome(),
);
}
}
List<CameraDescription> _cameras = <CameraDescription>[];
Future<void> main() async {
// Fetch the available cameras before initializing the app.
try {
WidgetsFlutterBinding.ensureInitialized();
_cameras = await availableCameras();
} on CameraException catch (e) {
_logError(e.code, e.description);
}
runApp(const CameraApp());
}
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
-----@MacBook-Pro camera_test % flutter build apk
Running Gradle task 'assembleRelease'... 4.9s
✓ Built build/app/outputs/flutter-apk/app-release.apk (41.9MB).
-----@MacBook-Pro camera_test % adb install build/app/outputs/flutter-apk/app-release.apk
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.2.1 23C71 darwin-arm64, locale en-AU)
• Flutter version 3.16.9 on channel stable at /Users/christopherlinnett/Library/Developer/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 41456452f2 (13 days ago), 2024-01-25 10:06:23 -0800
• Engine revision f40e976bed
• Dart version 3.2.6
• DevTools version 2.28.5
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/christopherlinnett/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• 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 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.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.86.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.82.0
[✓] Connected device (3 available)
• SeaEl iPhone (mobile) • 00008101-0002613A1110001E • ios • iOS 17.1.1 21B91
• macOS (desktop) • macos • darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 121.0.6167.139
[✓] Network resources
• All expected network resources are available.
Hello @ChristopherCfly
Thanks for filing this.
I can't seem to reproduce this on my end.
https://github.com/flutter/flutter/assets/53122008/b779d3c3-d7ba-438d-ba43-9f7ff5afa9e3
Can you share the device information you are reproducing this issue on or a screen record of the issue on your end?
I'm currently testing on a SM-N976B (Galaxy Note 10+) running Android 12. Tested after being reported the same thing from a Galaxy A50, and another Samsung device which didn't provide more details.
From the recording itself, you wouldn't see what the issue is. In this example, you can see I hit record as it ticks over to the 28 second mark on this timer. But with the stuttering, and delay. The actual recording hasn't started till approximately 1 second later.
https://github.com/flutter/flutter/assets/125225831/c64f9395-0c33-4cd4-8591-9976ed2f1a05
Thanks for your response @ChristopherCfly.
I tried this with a timer on my end as well and can reproduce the wait on pressing the record button.
Tested this on iOS as well an observed that this occurs on first recording but on subsequent ones, this doesn't occur, are you able to check this behaviour on iOS as well?
hi @dam-ease
Thanks for getting back to me.
On iOS when using the prepareForVideoRecording to get the microphone ready, sometimes on first run in debug mode I notice a small delay on iOS also. But in release, while using that method. It doesn't seem to occur. (or is at least so small its not noticeable). I'm running on an iPhone 12 pro with iOS 17.1 by the way.
I actually wonder if the culprit is the same for Android. This could be a mistake, but I believed in the past, when I loaded the android camera preview, it loaded both the camera and microphone (observed by the permission icons in the top corner), and when it went to record, it was instant.
What I observe now, is when opening the camera preview, I see the camera icon popping up, but not the microphone, not till after the delayed recording start.
Thanks for your response @ChristopherCfly.
I notice the same as well on iOS.
Android
iOS
I'll be labelling this for more insights
stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.16.9, on macOS 14.2.1 23C71 darwin-arm64, locale
en-NG)
• Flutter version 3.16.9 on channel stable at
/Users/damilolaalimi/sdks/flutter
! Warning: `dart` on your path resolves to
/opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 41456452f2 (2 weeks ago), 2024-01-25 10:06:23 -0800
• Engine revision f40e976bed
• Dart version 3.2.6
• 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.
[✓] 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 15.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C65
• CocoaPods version 1.14.3
[✓] 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)
[!] Android Studio (version unknown)
• Android Studio at /Users/damilolaalimi/Downloads/Android Studio
Preview.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
✗ Unable to determine Android Studio version.
• Java version OpenJDK Runtime Environment (build
17.0.7+0-17.0.7b1000.6-10550314)
[✓] VS Code (version 1.86.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.78.0
[✓] VS Code (version 1.83.1)
• VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.78.0
[✓] Connected device (5 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 •
android-arm64 • Android 14 (API 34) (emulator)
• Damilola’s iPhone (mobile) • 00008110-001964480AE1801E • ios
• iOS 17.1.1 21B91
• iPhone 15 Pro (mobile) • 79E44FCE-BEA4-4C4B-9C1C-EFBD9964E172 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
• macOS (desktop) • macos •
darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64
• Chrome (web) • chrome •
web-javascript • Google Chrome 121.0.6167.160
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 2 categories.
[!] Flutter (Channel master, 3.20.0-4.0.pre.37, on macOS 14.2.1 23C71 darwin-arm64, locale en-NG)
• Flutter version 3.20.0-4.0.pre.37 on channel master at /Users/damilolaalimi/fvm/versions/master
! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/damilolaalimi/fvm/versions/master. Consider adding /Users/damilolaalimi/fvm/versions/master/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 720f73a4da (6 hours ago), 2024-02-08 00:19:37 -0500
• Engine revision 22e1241e98
• Dart version 3.4.0 (build 3.4.0-116.0.dev)
• DevTools version 2.32.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 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 15.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C65
• CocoaPods version 1.14.3
[✓] 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)
[!] Android Studio (version unknown)
• Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.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
✗ Unable to determine Android Studio version.
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
[✓] VS Code (version 1.86.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.78.0
[✓] VS Code (version 1.83.1)
• VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.78.0
[✓] Connected device (6 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator)
• Damilola’s iPhone (mobile) • 00008110-001964480AE1801E • ios • iOS 17.1.1 21B91
• iPhone 15 Pro (mobile) • 79E44FCE-BEA4-4C4B-9C1C-EFBD9964E172 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.2.1 23C71 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 121.0.6167.160
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 2 categories.
Hello, same issue here on ios. It freeze about 2 seonds only when first initialize camera.
@ChristopherCfly Have you tried using camera_android_camerax (https://pub.dev/packages/camera_android_camerax) or are you only observing this without?
| gharchive/issue | 2024-02-07T07:27:33 | 2025-04-01T06:44:11.710196 | {
"authors": [
"ChristopherCfly",
"camsim99",
"cmdbbang",
"dam-ease"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/143049",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
2491588877 | Camerax preview is incorrect
What package does this bug report belong to?
camera
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.yaml
```yaml
name: camera_test
description: "A new Flutter project."
publish_to: 'none'
version: 0.1.0
environment:
sdk: ^3.5.1
dependencies:
flutter:
sdk: flutter
camera: ^0.11.0+2
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
flutter:
uses-material-design: true
</details>
<details><summary>pubspec.lock</summary>
```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"
camera:
dependency: "direct main"
description:
name: camera
sha256: "26ff41045772153f222ffffecba711a206f670f5834d40ebf5eed3811692f167"
url: "https://pub.dev"
source: hosted
version: "0.11.0+2"
camera_android_camerax:
dependency: transitive
description:
name: camera_android_camerax
sha256: "7cd93578ad201dcc6bb5810451fb00d76a86bab9b68dceb68b8cbd7038ac5846"
url: "https://pub.dev"
source: hosted
version: "0.6.8+3"
camera_avfoundation:
dependency: transitive
description:
name: camera_avfoundation
sha256: "7c28969a975a7eb2349bc2cb2dfe3ad218a33dba9968ecfb181ce08c87486655"
url: "https://pub.dev"
source: hosted
version: "0.9.17+3"
camera_platform_interface:
dependency: transitive
description:
name: camera_platform_interface
sha256: b3ede1f171532e0d83111fe0980b46d17f1aa9788a07a2fbed07366bbdbb9061
url: "https://pub.dev"
source: hosted
version: "2.8.0"
camera_web:
dependency: transitive
description:
name: camera_web
sha256: "595f28c89d1fb62d77c73c633193755b781c6d2e0ebcd8dc25b763b514e6ba8f"
url: "https://pub.dev"
source: hosted
version: "0.3.5"
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: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.18.0"
cross_file:
dependency: transitive
description:
name: cross_file
sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670"
url: "https://pub.dev"
source: hosted
version: "0.3.4+2"
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: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda"
url: "https://pub.dev"
source: hosted
version: "2.0.22"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
url: "https://pub.dev"
source: hosted
version: "10.0.5"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
lints:
dependency: transitive
description:
name: lints
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
matcher:
dependency: transitive
description:
name: matcher
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.dev"
source: hosted
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev"
source: hosted
version: "1.15.0"
path:
dependency: transitive
description:
name: path
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev"
source: hosted
version: "1.9.0"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.dev"
source: hosted
version: "2.1.8"
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: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.2"
stream_transform:
dependency: transitive
description:
name: stream_transform
sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
url: "https://pub.dev"
source: hosted
version: "2.1.0"
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: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
url: "https://pub.dev"
source: hosted
version: "0.7.2"
vector_math:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.dev"
source: hosted
version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
version: "14.2.5"
web:
dependency: transitive
description:
name: web
sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062
url: "https://pub.dev"
source: hosted
version: "1.0.0"
sdks:
dart: ">=3.5.1 <4.0.0"
flutter: ">=3.24.0"
Steps to reproduce
Open the application
Confirm camera permissions
See improperly rotated preview
Expected results
The camera preview should be properly rotated.
Actual results
The camera preview is rotated 90º.
Code sample
Code sample
import 'package:camera/camera.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
void main() async {
runApp(const MainApp());
}
class MainApp extends StatefulWidget {
const MainApp({super.key});
@override
State<MainApp> createState() => _MainAppState();
}
class _MainAppState extends State<MainApp> {
final _runner = _Runner();
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: ValueListenableBuilder(
valueListenable: _runner,
builder: _build,
),
),
);
}
Widget _build(BuildContext context, _State value, Widget? child) {
switch (value) {
case _Loaded():
return Center(
child: CameraPreview(value.controller),
);
case _Simple.initializing:
return const Center(
child: CircularProgressIndicator(),
);
case _Simple.error:
return const Center(
child: Icon(Icons.error),
);
}
}
}
class _Runner with ChangeNotifier implements ValueListenable<_State> {
_Runner() {
_init();
}
void _init() async {
final available = await availableCameras();
if (available.isEmpty) {
_emit(_Simple.error);
} else {
final controller =
CameraController(available.first, ResolutionPreset.veryHigh);
try {
await controller.initialize();
_emit(_Loaded(
controller: controller,
available: available,
));
} catch (e) {
_emit(_Simple.error);
}
}
}
_State _value = _Simple.initializing;
@override
_State get value => _value;
void _emit(_State state) {
_value = state;
notifyListeners();
}
}
sealed class _State {}
enum _Simple implements _State {
initializing,
error,
}
class _Loaded implements _State {
final CameraController controller;
final List<CameraDescription> available;
const _Loaded({
required this.controller,
required this.available,
});
}
Screenshots or Videos
No response
Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64, locale en-SI)
• Flutter version 3.24.1 on channel stable at /Users/.../Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5874a72aa4 (8 days ago), 2024-08-20 16:46:00 -0500
• Engine revision c9b9d5780d
• Dart version 3.5.1
• DevTools version 2.37.2
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/.../Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.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.10+0-17.0.10b1087.21-11609105)
[✓] VS Code (version 1.93.0-insider)
• VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (4 available)
• Pixel (mobile) • FA76R0301797 • android-arm64 • Android 10 (API 29)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.6.1 23G93 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.6.1 23G93 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.122
[✓] Network resources
• All expected network resources are available.
• No issues found!
Additional:
This issue reproduces on a Pixel 1 device. I wasn't able to test this on a more capable device.
The issue first occurs with the camera_android_camerax: 0.6.8+2 if I override the dependency to: camera_android_camerax: 0.6.7+2 everything works as expected.
An additional note, (while it is probably unrelated to this issue).
Currently, camera_androids CameraPlatform.buildPreview implementation uses a Texture directly, a single widget.
https://github.com/flutter/packages/blob/cc7b5fc79cd389bd02dba3dc7ee956761103b8b9/packages/camera/camera_android/lib/src/android_camera.dart#L536-L539
While camera_android_camerax does some additional preview shifting.
https://github.com/flutter/packages/blob/cc7b5fc79cd389bd02dba3dc7ee956761103b8b9/packages/camera/camera_android_camerax/lib/src/android_camera_camerax.dart#L856-L930
The concerning bit of potential mistakes is that the way to preview the camera is by using package:camera/camera.dart#CameraPreview which properly prepares the preview and further rotates it on Android platforms.
Are both plugin implementations aware of this? Or would it make more sense to have all plugins handle any potential rotation requirements on their own and the user would expect that CameraPlatform.buildPreview always returns the preview in the proper rotation without the need for additional manual corrections?
@jellynoone
This seems similar to https://github.com/flutter/flutter/issues/149294 which has been fixed and merged into main, may not be available in stable yet, so try to switch to latest main and re-run your scenario to confirm.
Will close as duplicate for now. If you disagree, write in comments and I'll reopen it.
Thank you for a quick response.
As far as I can tell, the pull request to the issue you linked was made available in version 0.6.8+1.
The issue reproduces for me on versions after 0.6.7+2.
Please note, this issue is produced after the fix while running the regular skia engine.
@darshankawar Can you please reopen?
Thanks for feedback. Reopening for further triage.
@jellynoone
Although we don't have Pixel 1 device, but we tried on Pixel 7 running Android 14 in which we didn't observe the rotated preview:
This probably indicates it could be a device specific issue, but can you try on other devices (not pixel) to check if it persists still ?
I checked on an old Samsung (Android 5.1.1, API 22 (still a Flutter supported platform)) and everything worked as expected.
Regardless, even if this is a device specific issue, it is a regression that happened between 0.6.7+2 and 0.6.8+2.
I will see if I can reproduce the issue on any other device, however, my options are currently limited.
Thanks for the update.
I also tried on Samsung S10+ device running Android 11 in which too, I couldn't replicate the behavior, so I will tentatively label this as device-specific (Pixel 1) per OP's observation.
/cc @camsim99 for thoughts.
The recorded video preview is not showing properly
video showing stretched and rotated horizontally
flutter version 3.24.1 , camera : 0.11.0+1
I have the same problem.
I don't know if this problem is happening for specific devices. Still, I remember I was using the camera package with version 0.11.0+1 and Flutter version 3.22.1 in mid-July, and everything was working fine. ( on the same mobile phone )
I guess something has changed in camera_android_camerax that caused this rotation.
@hosseinhp1378 @JiyadAhammad we currently think this is a device specific issue. Can you share the devices that you are seeing an incorrect preview orientation?
@reidbaker im tried with samsung s23, oneplus , realme
camera version tried 0.10.6 , 0.11.1 & 2
flutter version. 3.24.1 (Worked 0.10.6 with flutter 3.22.1)
The recorded video preview is not showing properly
video showing stretched and rotated horizontally
flutter version 3.24.1 , camera : 0.11.0+1
Any Solution ??
If you are seeing an incorrect preview rotation when using the package: video_player, it could be caused by the latest change of video_player_android in 2.7.2-2.7.3, downgrade to 2.7.1 should fix that.
@hosseinhp1378 @JiyadAhammad we currently think this is a device-specific issue. Can you share the devices that you are seeing an incorrect preview orientation?
I have tried with Pixel5 Emulator, Xiaomi(11T), Xiaomi(Redmi note 10) and Samsung A75. They all share the same behaviour.
@AlexV525 I am not sure if this is the same issue or not but when I am in the preview ( before the photo is taken ) I can see the preview is not only rotated but also stretched.
after taking the photo I have the option to click on the taken photo and see a preview of it ( for this purpose I am using photo_view package). However, the preview(photo_view) is not stretched.
see the images below:
This is the preview before taking the picture which uses cameraX
.
This is the preview after the photo is taken which uses the photo_view package.
I can repro this issue on Xiaomi Redmi 9A M2006C3LG, the phone has been factory reset and updated to latest OS, run with simple CameraPreview code, and preview is rotated.
I could not reproduce this with a Pixel 3A and Samsung Galaxy S7. I have a Realme on hand so going to try that next.
I am also experiencing this issue on devices that are naturally landscape and given different device orientation, specifically on the Pixel Tablet. I found this related issue, but it’s already closed. I am using the camera version 0.11.0+2, which is said to be using CameraX. My Flutter version is 3.24.0.
I also came across a reference in Flutter regarding adjustments for camera preview, It will work on some devices but not on others. Is there any specific adjustment needed for naturally landscape devices? Would it be possible to reopen this issue?
For context, here is how I structure my code:
First Version: Didn't work
Stack( fit: StackFit.expand, children: <Widget>[ controller.buildPreview(), ], )
Second Version: Didn't work as well
CameraPreview(controller)
I was able to reproduce something similar to this on the emulator for Pixel_3a_API_34_extension_level_7_arm64-v8a. However, only when I rotated the device by 90º to the right i.e. the speaker / selfy-camera is on the right. For some reason, rotating to the left, produced the correct preview.
As a side note, I find working with camera previews a bit tedious.
As a developer you have two options:
CameraController.buildPreview
CameraPreview.
However, buildPreview will not do what you'd expect (I'd expect it to build a well corrected video orientation out of the box). However, it needs manual correction which CameraPreview does.
The camera_androids implementation of buildPreview doesn't do any corrections while camera_android_camerax does. (Could it be we are applying transformations on an already corrected video?)
I think these APIs should be unified under one point like it's done in video_player. There the only way to preview the video is through VideoPreview. You only get one widget and it does one thing only. Build the preview in the correct orientation.
Should I open a new issue for this?
I still need to repro this (will try a landscape device next), but wanted to address this:
The camera_androids implementation of buildPreview doesn't do any corrections while camera_android_camerax does. (Could it be we are applying transformations on an already corrected video?)
I think these APIs should be unified under one point like it's done in video_player. There the only way to preview the video is through VideoPreview. You only get one widget and it does one thing only. Build the preview in the correct orientation.
Should I open a new issue for this?
No; this would be ideal, but the situation is complicated. We support Impeller on some devices (> API 29), and on those devices, my understanding was that we needed to apply a transformation to the preview to achieve the expected rotation. On devices that don't have Impeller support, the transformation is not required to achieve a correctly rotated preview.
As this issue suggests, it may be true that some devices in the "support Impeller" or "do not support Impeller" groups are receiving/not receiving a transformation when they should/should not, but as this issue is device-specific, we do know that at least some devices in the "support Impeller" group do need a transformation applied and vice versa for the "does not support Impeller group".
I think next steps besides a repro here are (1) checking if some devices that support Impeller do actually not need the preview transformation or possibly (wild guess) (2) some devices report orientation differently, causing the transformation to be incorrect in some cases. These both assuming the transformation is correct, which I will also double check.
I could not reproduce this with a Pixel 3A and Samsung Galaxy S7. I have a Realme on hand so going to try that next.
@camsim99 When you tried to reproduce this issue on the Pixel 3A did you perhaps try rotating the device around? When I tested the code sample on the Pixel_3a_API_34_extension_level_7_arm64-v8a emulator, the initial view is correct. But rotating the device 90º to the right i.e. selfy camera being on the right, the preview was incorrect.
I could not reproduce this with a Pixel 3A and Samsung Galaxy S7. I have a Realme on hand so going to try that next.
I can send you my phone, for free
@jellynoone I did rotate it but it was running 31 so maybe that's why?
I did just repro this though on a Pixel Tablet Emulator running API 33. It is a naturally landscape oriented device. I'm going to try to repro on a portrait up oriented device too still, but I'll start digging into this issue!
@camsim99 I'm on a Mac with Apple silicone. I just tested the original code sample on the Pixel 1 emulator, and configured it with the system image for the API 29 (the last available version for the real device).
The emulator behaves exactly as the real device does! The preview is always incorrect.
Some devices got camera preview like this too on samsung A8 Star and Xiaomi Mi A2
Thank you @jellynoone for being so responsive and helping me find devices that work! I will try the Pixel 1 when I get the chance.
At least on the Pixel Tab I could repro on, the rotation correction actually does nothing--the correction adds no additional rotation, so it shows the preview as is (incorrectly rotated by 180 degrees). We do a correction for naturally landscape devices that the Pixel tab does not seem to need; if I remove it, the rotation is correct. I assume this is not the fix though because this also repros on portrait up devices.
@jellynoone I got the repro on a Pixel 1 running Android 29! Thank you.
Because it's running Android 29, Impeller is not used and he preview does not receive a rotation correction. However, when I apply the correction we used in Android >= 29, the preview is correctly rotated. This makes me think that (1) either when Impeller is used is not solely based on Android API level or (2) whether or not an app uses Impeller is not related to whether or not the preview is correctly transformed without any corrections from Flutter.
@camsim99 thanks for the quick response, I really appreciate your help. I already tested on my side the fix you mentioned here and here are the result I get.
If the auto-rotate of the device is on and the device is in
Portrait up => the preview is correct ✅
Portrait down => the preview is correct ✅
Landscape left => the preview is not correct ❎
Landscape left => the preview is not correct ❎
If the auto-rotate of the device is of, the preview in each orientation seems to be inverted.
I am using the CameraPreview
@jellynoone I got the repro on a Pixel 1 running Android 29! Thank you.
Because it's running Android 29, Impeller is not used and he preview does not receive a rotation correction. However, when I apply the correction we used in Android >= 29, the preview is correctly rotated. This makes me think that (1) either when Impeller is used is not solely based on Android API level or (2) whether or not an app uses Impeller is not related to whether or not the preview is correctly transformed without any corrections from Flutter.
@camsim99 according to the thread in https://github.com/flutter/flutter/issues/155185 there are known bad vulkan drivers that determine if impeller is used. That plus the ability to opt in/out makes me think that api level is not the right way to evaluate if impeller is used.
https://github.com/flutter/engine/blob/main/impeller/renderer/backend/vulkan/driver_info_vk.cc#L199-L203
Just to add my 2 cents.
Same problem using camer version 0.11.0+1 some a Tablet branded "Zebra"
As this issue suggests, it may be true that some devices in the "support Impeller" or "do not support Impeller" groups are receiving/not receiving a transformation when they should/should not, but as this issue is device-specific, we do know that at least some devices in the "support Impeller" group do need a transformation applied and vice versa for the "does not support Impeller group".
@camsim99: Remind me (after the summit is fine), how do we detect Impeller support in the plugin?
If it's based purely on API versions, that's not 100% true. /cc @jonahwilliams
please make a release if this problem has been fixed
Basic code works till version 0.9.4. The captured video plays perfectly fine with different android devices. Somewhere after the 0.9.4 version ,captured video is rotated. I had to downgrade the camera package version from the latest to 0.9.4 to have the captured video to display correctly without rotation. I checked the same on different android mobiles and tablets.
It's a very basic use case , start the video recording with the device in a portrait orientation mode and save the same. Saved video meta info tells that it's a landscape video. When I tried to play using the video_player plugin ,the video was rotated by 90 degrees.
I just downgraded to 0.9.4 ,it works fine in all the different android devices that I have.
@praveen-achuthan are you saying that 0.9.4 is the last good version or the first bad version?
@reidbaker To me ,as far this issue is concerned 0.9.4 seems to be the last good version. 0.9.8 does not work fine for sure.
We also have same bug here, but with the image_picker package...
Same bug happened when using image_picker: the rotated videos were shot with Samsung Galaxy S24. To fix it we had to downgrade to flutter 3.22.3 or older.
@muriloBeluga when you roll back flutter what version of camera_android_camerax are you using?
Unsubscribe
On Fri, Sep 20, 2024, 9:43 AM Reid Baker @.***> wrote:
@muriloBeluga https://github.com/muriloBeluga when you roll back
flutter what version of camera_android_camerax are you using?
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/154241#issuecomment-2363764138,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR7EZHXWQAXLVYWMH3ZFUG3ZXQRALAVCNFSM6AAAAABNH4JLRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRTG43DIMJTHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>
@muriloBeluga when you roll back flutter what version of camera_android_camerax are you using?
Actually we are not using this package... We use image_picker for taking a picture or selecting from gallery
@muriloBeluga when you roll back flutter what version of camera_android_camerax are you using?
Actually we are not using this package... We use image_picker for taking a picture or selecting from gallery
But I thought the problem might be the same, it seems so
Ok then that is a different bug probably related to the metadata on the photo.
@reidbaker @matanlurey To address your comments about how we determine when Impeller is being used in the plugin, it is currently based on API level because that was my understanding when I wrote the fix for Impeller. This is the check it uses: https://github.com/flutter/packages/blob/9de72be7c750ef767663f5ca41dbc61be85723c1/packages/camera/camera_android_camerax/android/src/main/java/io/flutter/plugins/camerax/SystemServicesHostApiImpl.java#L108-L120.
So do we need add something like https://github.com/flutter/engine/blob/main/impeller/renderer/backend/vulkan/driver_info_vk.cc#L199-L203 to check if the device cannot support Impeller? Is the only additional factor that determines if Impeller is used?
I do not think replicating the logic for "is impeller is being used" should be our strategy. I think we should add (or ask the engine team nicely) to add an API for plugins to call to determine at runtime if impeller is being used.
@camsim99:
I was mistaken - it's not related to Impeller, it's related to SurfaceProducer, which as @jonahwilliams mentions to me is almost always Android 29+. That is - we could be using Skia, and still be using the ImageReader-based backend (not the SurfaceTexture-based backend) - so we don't need to sniff for Impeller being enabled or not (it's not directly relevant).
@matanlurey Ok that makes sense. So, is there a way to tell which backend is being used? And if not, I would like to find a way to expose it, so we can reliably correct the camera preview.
= API 29 for a first approximation. We can add a getter on the surface producer to query the backend
Filed https://github.com/flutter/flutter/issues/155633, I can take this up this week (it will take time to land and make it into a stable API, though).
Filed #155633, I can take this up this week (it will take time to land and make it into a stable API, though).
Ok sounds great, thank you! Do you think it will take long enough time for us to consider us reverting Impeller support for now?
From taking to @jonahwilliams the amount of devices where I think this boolean would prevent bugs is extremely small - I can add it for completeness but I wouldn't expect it to fix this bug specifically.
Because it's running Android 29, Impeller is not used and he preview does not receive a rotation correction. However, when I apply the correction we used in Android >= 29, the preview is correctly rotated
Remember we are talking about the use of ImageReader, not Impeller, and ImageReader is enabled 29+ (mostly, https://github.com/flutter/engine/blob/85ec660291be92419574e6b77e46d8c8c2275671/shell/platform/android/io/flutter/embedding/engine/renderer/FlutterRenderer.java#L216).
Ok I think part of the issue is that we currently assume the preview is correctly transformed automatically when the API <= 29 (see SystemServicesHostApiImpl.java), but https://github.com/flutter/flutter/issues/154241#issuecomment-2372465556 and https://github.com/flutter/flutter/issues/154241#issuecomment-2374433567 have clarified that this check should be API < 29 as a first approximation for devices not using the ImageReader backend (and the method incorporating the deny list in the longer term).
This could be consistent with what is recorded in this issue thread (the only non Android 29 repro reported and seen by me was on a landscape oriented device and it is possible that this is unrelated--I tried fixing https://github.com/flutter/flutter/issues/149177 in the past but my fix could be wrong).
If someone notices otherwise, please let us know. However, I think this is a correction I need to make to get us closer to any solution here.
Although my problem is not exactly the same, it seems to be related.
Using camera: 0.11.0+2.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0 24A335 darwin-arm64, locale en-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✗] 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 2024.1)
[✓] IntelliJ IDEA Community Edition (version 2024.1.1)
[✓] VS Code (version 1.92.2)
[✓] Connected device (3 available)
[✓] Network resources
The recordings were made on a simulator, although it also happens on my Pixel 6.
portrait.webm
landscape.webm
It happens on portrait up and landscape right.
The workaround I found was to reencode the video using ffmpeg:
final result = await FFmpegKit.execute('-i $inputPath $outputPath');
It is not a long term fix because it adds a lot of waiting time, but the output plays as expected:
landscape.webm
I'm not sure if this helps with debugging, but I have found a way to reproduce it reliably. It has to do with the auto-rotate on the device.
Steps:
Open your app that utilizes the camera (orientation does not matter)
Close your app and Open an app that can operate in landscape (I used Whatsapp)
Rotate your phone to landscape and Turn off Auto-Rotate (make sure it locks on landscape)
Open you app
The above steps will reliably reproduce the issue on all devices -> Android (and Huawei -> it's more broken) and IOS.
@Dario-Maselli in your example you expect the video to be locked to landscape in step 4 right?
@reidbaker - Yes, the preview is locked in landscape. For our app specifically, it stretches and distorts to look like those "Fish Eye" filters.
@camsim99 in that case I wonder if what is happening is that we are missing a rotation trigger and dart/java is out of sync and if we need to check orientation in on resume.
The potential fix that @camsim99 did in https://github.com/flutter/packages/pull/7714 worked for us. - @reidbaker
Still having this issue on HAUWEI
[[✓] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22621.4169], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.2)
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.93.1)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!
VOG L29 (mobile) • 192.168.1.111:6666 • android-arm64 • Android 10 (API 29)
camera: ^0.11.0+2
camera is distored and rotated
https://github.com/user-attachments/assets/5d350d06-334d-47c4-87a8-7c1313142b5d
@camsim99 in that case I wonder if what is happening is that we are missing a rotation trigger and dart/java is out of sync and if we need to check orientation in on resume.
This is possible but I'm going to land the API 29 change first since that seems to address most of the issue with most of the reports.
Just landed the fix for API 29 in version 0.6.9, so if there are any outstanding issues with the preview rotation using this version, please let us know!
Thanks @camsim99 .. I'm also facing the exact same issue (like in the video reported by sKY02644).
Details:
OS: Android 9 - API level 28
Example device: Samsung s8+
Thanks @camsim99 worked for us.
@raedabdallah - Add this to your pubspec.yaml:
dependency_overrides:
camera_android_camerax: 0.6.9
Issue still persists on my side with camera_android_camerax: 0.6.9
OS: Android 10 - API level 29
Device: Xiaomi Redmi Note 7
So with camera: 0.11.0+2 even the preview was rotated. I was using the 0.10.6 to avoid preview rotation. But even 0.10.6 is rotated after recording.
camera_android_camerax: 0.6.9 fixes the rotated preview on my device but doesn't solve the rotated video after recording
@emilmammadov can you file a different issue covering rotated playback?
can you file a different issue covering rotated playback?
For those experiencing rotated video preview, please report your reproductions under https://github.com/flutter/flutter/issues/154696. That is a separate issue.
Add this to your pubspec.yaml until the camera package adopts the change:
dependency_overrides:
camera_android_camerax: 0.6.9
@raedabdallah Can you confirm you've tested with this on your API 28 device?
@camsim99 yes the orientation is now correct while recording; however, still wrong rotation in video preview after recording (i.e. playing the video) on some devices. I will report under #154696 as suggested for video player. Thanks @camsim99 and @reidbaker
Exactly. @camsim99 as @mohammad-melhem described. Thanks both @camsim99 and @reidbaker
Unless we start receiving reports otherwise, I believe https://github.com/flutter/packages/pull/7714 has addressed most of the reports (those from devices running API 29).
However, to get fully fix the issue here we will need to account for the deny list @matanlurey mentioned in https://github.com/flutter/flutter/issues/154241#issuecomment-2374553638. At the very least, will leave this issue open to track that work that I believe will need to wait until the next stable release.
At the very least, will leave this issue open to track that work that I believe will need to wait until the next stable release.
Yup! We're cutting that now, so it will be soon (TM)
dependency_overrides:
camera_android_camerax: ^0.6.10
This method works on my RedmiNote7
dependency_overrides: camera_android_camerax: ^0.6.10
This method works on my RedmiNote7
the override does not work on my pixel 5
@NiclasLeichsenring I don't have access to a physical Pixel 5 but I just tried running it on a Pixel 5 with APIs 30, 29, and 28 and saw the correct rotation.
What Android API are your running on? And are there any other repro steps I need to know? Can you also ensure that the newest version of camera_android_camerax is used?
What Android API are your running on?
The Pixel 5 is running on Android 14 (API 34) and I was using the example code from OP with dependency_overrides: camera_android_camerax: 0.6.10 dependencies: camera: 0.11.0+2 using
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-arm64, locale de-DE)
• Flutter version 3.24.3 on channel stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (5 weeks ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
Please note that I am rotating the device in landscape mode before starting the app.
Ah okay this detail helped me repro -- thanks!
I actually see a rotation that's off by 180 degrees when the app is started while the device is in landscape left and 90 degrees when the app is started while the device is in landscape right. This is a different bug than I think most people were seeing here, but I'll track working on this here still.
I think this has to do with the calculation of the correction. I wonder if the initial device orientation that we use does not account for this case.
@camsim99 the behavior reported by NiclasLeichsenring seems related to replies from some of the other participants. Since the thread is getting large, I'm attaching links to those comments for easier access.
Buenaventura-Celine https://github.com/flutter/flutter/issues/154241#issuecomment-2352496980
AndreHaueisen https://github.com/flutter/flutter/issues/154241#issuecomment-2377703700
Dario-Maselli https://github.com/flutter/flutter/issues/154241#issuecomment-2382468257
The preview is still incorrectly rotated because I added a fix for https://github.com/flutter/flutter/issues/149177 a while back that was supposed to have the natural orientation the device (for instance, landscape-oriented tablets vs portrait up phones) be factored into the rotation correction that we calculate, but that value is incorrect; it's just the orientation of the device when the camera is created, not the orientation of the device in its natural state.
I will need to figure out how to correctly handle devices of any natural orienation.
I will need to figure out how to correctly handle devices of any natural orienation.
Hi, do you have new informations about it?
Hi everyone, I'm still actively working on this. I hit a blocker after seeing some unexpected behavior on emulators and naturally landscape-oriented devices like tablets but working with CameraX knowledgable folks to resolve my confusion. I will update when I get a PR out!
@camsim99 Could you maybe summarise what is / isn't expected to be working currently?
The above seems to be a combination of different issues it's a little tricky to understand what the current state is and what was resolved and what was not. The temporary fixes above seem related to the rotation of the recorded video?
From what I can gather - using CameraPreview() on naturally landscape-oriented devices is still rotated in some/most cases? This is at least the behaviour I am seeing still using the Pixel Tablet Emulator in Android Studio.
I'm hoping I can at least answer why this is the case on some devices - and then wait for a fix :)
@elliotrtd thanks for pinging me! I'm still trying to understand what's going on, but I'll list what I know now and update this issue more actively as I learn things.
My understanding is that the behavior of the camera preview rotation is linked to the particular Impeller backend that the device uses. There has been changes recently as to what backend is used which has confused me up until now, but here's what I know now (this info is all of the latest Flutter master and is different on stable at the time of writing):
Impeller Vulkan is used on API < 29. By testing my Pixel 3A and Realme X2 Pro, I see that the camera preview is rotated correctly automatically (this includes the rotation that the plugin itself does to account for device orientation).
Impeller Open GL is used on API < 29. I am having trouble getting a camera preview rendering at all on this backend so I will file an issue and follow up on this shortly.
Skia Open GL is used when --no-enable-impeller is passed. I see the same behavior as Impeller Vulkan here but will do some more in depth testing.
Note that some emulators use an Impeller backend that does not conform to these rules.
My open questions: I have not yet tested tablets, so I will also follow up on that. I also cannot figure why the camera preview is now correct in my testing versus (1) before where the manual correction causing this issue was appearing and (2) when I was testing this up until recently in the last week or so (part of this is because I was testing on stable and not master sometimes, throwing off my results).
@camsim99 - thanks for the update, looks like it has been a pretty long process and always fun when you get different behaviour in testing without any immediately obvious reason ;)
I am assuming that Impeller Vulkan should be >=29 (you wrote both as <29 but Vulkan is newer).
Tablets are where I have the problem (with customers reporting the issue to me as well). As mentioned I am able to reproduce the issue using the Android Emulator Pixel Tablet (API 33) running on my MacBook. For me the preview is rotated 180 degrees using both the Webcam and Virtual Scene, this is consistent with my customers report.
I also tried to compare sensor orientation and device orientation (printing some debug info to their screen) but I can't see any pattern compared to my physical Pixel 7.
I appreciate that there are definitely some differences with the emulators as it definitely doesn't respect rotation in quite the same way.
Please do let me know if there is anything I can additional do to help testing different scenarios.
Interestingly the CamerAwesome package does not have the same issue and seems to use CameraX (not sure if that holds any clues) - but they lock the orientation to portrait which is horrible for my use case.
@elliotrtd thank you for all of this information, it's super helpful!
I am assuming that Impeller Vulkan should be >=29 (you wrote both as <29 but Vulkan is newer).
Yes, thank you; I corrected this.
Tablets are where I have the problem (with customers reporting the issue to me as well). As mentioned I am able to reproduce the issue using the Android Emulator Pixel Tablet (API 33) running on my MacBook. For me the preview is rotated 180 degrees using both the Webcam and Virtual Scene, this is consistent with my customers report.
I also tried to compare sensor orientation and device orientation (printing some debug info to their screen) but I can't see any pattern compared to my physical Pixel 7.
I also have had trouble finding patterns when comparing physical devices and emulators. I've found on emulators that sometimes the sensor orientation is unexpected which may cause an unexpected rotation, e.g. we expect 90 or 270 degrees for front/back cameras, but this doesn't always hold up I've found.
One question: On the tablet you test on, is the preview rotated in 180 degrees in every device orientation?
Please do let me know if there is anything I can additional do to help testing different scenarios.
I will pull together a PR soon removing the rotation correction and I would super appreciate help testing on devices you have if you're open to it since I don't have a tone of variety accessible! I can ping you on it if you/d like.
Interestingly the CamerAwesome package does not have the same issue (not sure if that holds any clues) - but they lock the orientation to portrait which is horrible for my use case.
I'd have to look into it but unless they did the migration, they may not use Impeller.
@camsim99 I can also test for you as well. I've been quietly waiting for fixes/more info on this as we have the problematic code deployed to a few hundred devices and some customers are a little annoyed at the issue. I've put in a work around so that they can rotate the preview image, but the picture that's taken after is now rotated incorrectly. lol
I have a Galaxy Tab that exhibits the issue and someone else in our org has a Lenovo m10 tablet that does it as well.
For reference, our tablet application is locked into landscape mode. We do not allow portrait mode (yet).
@camsim99 could the issue be that the sensor and the app have different rotations and we are assuming that they match?
No, we query the sensor rotation to put in the rotation correction, so it shouldn't be that. I did reach out to someone on the CameraX team specifically to check on the emulator issue, and they mentioned that could throw off the results of that correction, but I need to confirm. I assume it would only cause an issue if the emulator reports one sensor orientation but it is not correct for whatever reason.
No, we query the sensor rotation to put in the rotation correction [...]
This produces wrong results if the Flutter app locks it's orientation, the CameraPreview widget rotation would mismatch the layout.
Happened to me when trying to make a camera with forced landscape orientation.
My app supports all orientations, except for the camera, which is locked in landscape with SystemChrome.setPreferredOrientations (set on init, restored on dispose).
@camsim99 Happy to help where I can.
Yes - the incorrect rotation is the same in every device orientation, on both my emulated tablet and my customers physical devices. Sounds like @thecodemonk has the same device (Samsung Galaxy) that my customer has & reported the issue with.
Made a PR to remove logic we previously added concerning the preview rotation: https://github.com/flutter/packages/pull/8256.
In my testing, this works for the Impeller Vulkan backend and the Skia Open GL backend (add --no-enable-impeller to run). As I mentioned before, Impeller Open GL is hitting https://github.com/flutter/flutter/issues/159851.
If anyone gets different results, please let me know what they are with the backend specified.
@camsim99 I just pulled down your branch for testing. I used the sample app, just in case there was something with my project and the camera preview is rotated incorrectly on my Samsung Galaxy tab still.
The galaxy tab has the front facing camera on the top of the device when the device is held landscape, not portrait. While it is in landscape mode, the preview is showing up portrait mode. When the device is held in portrait mode, the preview shows up landscaped.
The rear camera is also acting this same way.
Is there anything I can do to help troubleshoot this issue more?
@thecodemonk this is helpful thanks! Are you using the latest Flutter master?
I actually did expect my PR only to fix portrait up devices, but I'll look into adding logic for landscape devices, too.
@camsim99 sorry for a little delay in responses..
I am currently using: Flutter (Channel stable, 3.27.0, on macOS 15.1.1 24B2091 darwin-arm64, locale en-US).
I also tried the sample app on my Galaxy S23 Ultra and the results are the same there. Everything is rotated incorrectly. Holding the phone in portrait mode, the preview is sideways. All the listed cameras do the same thing as well, front and back.
I switched to the latest flutter master (this is why there was a delay, I had no idea how to do that haha) and tested on my Galaxy S23 again and it's still the same - rotated incorrectly when starting in portrait mode.
It seems that portrait mode is not right either now, unless I'm missing something. Is there anything you want me to try or do to help?
Thank you for the details @thecodemonk! One more thing (this is also important for future reporters) -- can you check the Flutter logs and see what Impeller backend is used? There should be a message like:
I/flutter (12227): [IMPORTANT:flutter/shell/platform/android/android_context_gl_impeller.cc(79)] Using the Impeller rendering backend (OpenGLES).
@camsim99 [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(60)] Using the Impeller rendering backend (Vulkan).
Sorry for a stupid question as I am not well versed in all this yet --- Is there a way to change between Vulkan and OpenGLES? I've been trying to find a way to test each backend for you..
@camsim99 I just tested the above on my physical Pixel 7 which previously was correctly oriented but now it's wrongly rotated 90 degrees - would suggest withdrawing the PR.
Running latest master channel.
For me this temporary solves the problem (Samsung s10):
dependency_overrides: camera_android_camerax: 0.6.7+2
Sorry for a stupid question as I am not well versed in all this yet --- Is there a way to change between Vulkan and OpenGLES? I've been trying to find a way to test each backend for you..
Not a stupid question at all! It's kinda confusing. To force OpenGLES you can use the following in your manifest:
<meta-data
android:name="io.flutter.embedding.android.ImpellerBackend"
android:value="opengles" />
Vulkan should be the default if it's available. You can use Skia OpenGL by passing the --no-enable-impeller flag to your flutter run call.
@camsim99 I just tested the above on my physical Pixel 7 which previously was correctly oriented but now it's wrongly rotated 90 degrees - would suggest withdrawing the PR.
Running latest master channel.
I/flutter (12772): [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(60)] Using the Impeller rendering backend (Vulkan).
Thanks for letting me know. I see this on the latest master now too 🥲 On API 29+ I've seen consistently this, but the front camera is different, going to investigate, but will push a change to the PR correcting the 90 degree rotation right now.
Would it be feasible to develop a test that would run in Firebase device test lab? The test would display a static source in the camera, then a screenshot is taken, and then take the 4 corners, which could be 4 different colors to test if it's the correct orientation.
This would be ideal and ultimately required to avoid regressions like this. We currently do not have a way to take screenshots on the device and compare them in the way we would need (see https://github.com/flutter/flutter/issues/143299). But we are actively working on this and will push for this to get an integration test similar to this once it can be done.
@camsim99 Using the example app, it seems on my Galaxy Tab, regardless of the backend being used, it's now always rotated incorrectly. I've tried the old skia engine, and both Vulkan and OpenGLES.
Is there anything that I can do to assist or test with this to help out?
@thecodemonk thanks for trying it. I updated my PR to add a 90 degree clockwise rotation, so feel free to test it and see if it works for you and let me know. It works for me in all cases except portrait up, front camera on API 29+, Vulkan so far. I also am limiting my testing to creating the camera in portrait up for now and I'm still not sure if the backend is relevant.
Hi, same issue on my Samsung S20+, flutter 3.27.1, Android 13 (API 33): is there any temporary workaround?
Hi, same issue on my Samsung S20+, portrait up, front camera, flutter 3.27.1, Android 13 (API 33): is there any temporary workaround?
you can downgrade to version camera_android_camerax: 0.6.7+2
Hi, same issue on my Samsung S20+, portrait up, front camera, flutter 3.27.1, Android 13 (API 33): is there any temporary workaround?
you can downgrade to version camera_android_camerax: 0.6.7+2
@minhtritc97 Thank you for your hint, this fixes the rotation issue.
Unfortunately, I have another issue: when start video recording, the image gets horizontally enlarged. Do I need to set any parameter? Following an excerpt of my source code:
...
//initialize front camera (default portrait mode)
final cameras = await availableCameras();
final front = cameras.firstWhere(
(camera) => camera.lensDirection == CameraLensDirection.front);
_cameraController = CameraController(front, ResolutionPreset.max);
await _cameraController.initialize();
...
//start video recording
await _cameraController.prepareForVideoRecording();
await _cameraController.startVideoRecording();
...
| gharchive/issue | 2024-08-28T09:41:50 | 2025-04-01T06:44:11.833374 | {
"authors": [
"AlexV525",
"AndreHaueisen",
"Buenaventura-Celine",
"Dario-Maselli",
"JiyadAhammad",
"NiclasLeichsenring",
"TheManuz",
"alisina-tootisabz",
"camsim99",
"cmbellman",
"darshankawar",
"diver2",
"elliotrtd",
"emilmammadov",
"hosseinhp1378",
"jellynoone",
"jonahwilliams",
"matanlurey",
"minhtritc97",
"mohammad-melhem",
"muriloBeluga",
"oboard",
"praveen-achuthan",
"raedabdallah",
"realtebo",
"reidbaker",
"rymesaint",
"sKY02644",
"sbcarp",
"srappose",
"thecodemonk",
"yeisa231189"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/154241",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
2740175275 | CupertinoSlidingSegmentedControl should support multiple selected segments
Use case
Per Apple's HIG best practices, a segmented control can have a single selection or multiple selected segments. As the API currently stands, CupertinoSlidingSegmentedControl can only support 1 selected segment.
Proposal
Instead of a single groupValue of type T, replicate Material's SegmentedButton API which takes a selected parameter of Set<T>, allowing for multiple selected segments.
Likely related to #43826
The HIG documentation seems a little confusing.
SwiftUI's segmented controls are made by applying the .pickerStyle(.segmented) modifier on a Picker. The selected segment is determined by a selection property on Picker. So by default SwiftUI doesn't support multiple selected segments even when the HIG says so?
If this was indeed implemented, it would probably be for CupertinoSegmentedControl instead of the sliding version. The non-sliding version was replaced with the sliding version in iOS 13, and there was an argument to deprecate it in Flutter and this could be a reason not to do that.
| gharchive/issue | 2024-12-14T22:50:05 | 2025-04-01T06:44:11.843123 | {
"authors": [
"khanhnwin",
"victorsanni"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/160310",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
350790762 | [plugin] firebase_messaging should provide deleteInstanceId() method
Hi all,
We are using the firebase messaging within our Flutter app.
It would be nice if the FirebaseMessaging implementation would expose the deleteInstanceId() method so that it can be used from the Flutter app.
Best regards,
Florian
@fhuonder
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/705. Any further collaboration will be done there.
| gharchive/issue | 2018-08-15T12:27:25 | 2025-04-01T06:44:11.845212 | {
"authors": [
"fhuonder",
"kroikie"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/20627",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
358660021 | Potential Security Issue in Firebase or Firebase Auth Plugin
Hi all,
hope I got something wrong, otherwise this seems to be a security issue in Firebase or the Firebase Auth Plugin. When creating user accounts, in the code I execute:
user = await _auth.createUserWithEmailAndPassword(...);
The function signs in new users to Firebase immediately. It means that someone can create an account with the email address from another person, and this other person won't be informed about it. After creating the account, someone can sign in with this other person's address over and over again via the normal sign in function:
user = await _auth.signInWithEmailAndPassword(...);
IMHO, after creating an account this account should be blocked and a verification mail should be sent first. After verification, the account should be unblocked. It would prevent someone from using other people's mail addresses.
I created a workaround that is still not ideal... new users will only provide their mail addresses in my form. I placed a fake password in the frontend code and force a password reset. Users then reset their passwords and they can use their account from a verified mail address.
I started coding in Flutter one week ago, hope I didn't miss anything.
Thanks for your help.
The FirebaseUser class has an isEmailVerified field on it, and there is also an option to send this email verification seen here.
There is also this blog post about email verification for firebase, which sheds some light on the intended uses.
With these options, you should be able to build a flow that would require a user to validate their email before being able to do anything with your app.
@or1own I believe the information from @KevinTheGray solves the issue.
Closing as working as intended.
Works perfectly, thanks.
| gharchive/issue | 2018-09-10T14:52:35 | 2025-04-01T06:44:11.849739 | {
"authors": [
"KevinTheGray",
"or1own",
"zoechi"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/21645",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
411138988 | Checkbox needs an initial value field and constructor.
In short, there are some cases when I need to have an initial value for a checkbox, say "true", be able to change to the value to "false" and save that value into an object later on using a different callback from a "validate" or "submit" button.
Currently, there are no good ways to do this.
Now a checkbox has constructor:
const Checkbox({
Key key,
@required this.value,
this.tristate = false,
@required this.onChanged,
this.activeColor,
this.checkColor,
this.materialTapTargetSize,
}) : assert(tristate != null),
assert(tristate || value != null),
super(key: key);
/// Whether this checkbox is checked.
///
/// This property must not be null.
final bool value;
/// Called when the value of the checkbox should change.
///
/// The checkbox passes the new value to the callback but does not actually
/// change state until the parent widget rebuilds the checkbox with the new
/// value.
///
/// If this callback is null, the checkbox will be displayed as disabled
/// and will not respond to input gestures.
///
/// When the checkbox is tapped, if [tristate] is false (the default) then
/// the [onChanged] callback will be applied to `!value`. If [tristate] is
/// true this callback cycle from false to true to null.
///
/// The callback provided to [onChanged] should update the state of the parent
/// [StatefulWidget] using the [State.setState] method, so that the parent
/// gets rebuilt; for example:
///
/// ```dart
/// Checkbox(
/// value: _throwShotAway,
/// onChanged: (bool newValue) {
/// setState(() {
/// _throwShotAway = newValue;
/// });
/// },
/// )
/// ```
final ValueChanged<bool> onChanged;
@required this.value
Initialial value
@required this.onChanged,
Change call back.
If you think it's not enough, please elaborate your request.
Please consider asking support questions in one of the other channels listed at http://flutter.io/support .
| gharchive/issue | 2019-02-17T02:25:10 | 2025-04-01T06:44:11.853487 | {
"authors": [
"SocialMammoth",
"kangwang1988",
"zoechi"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/28064",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
411442571 | no versions of path_provider match >0.4.1 <0.5.0 and path_provider 0.4.1 requires the Flutter SDK
name: untitled44
description: A sample command-line application.
# version: 1.0.0
# homepage: https://www.example.com
# author: karrar <email@example.com>
environment:
sdk: '>=2.0.0 <3.0.0'
#dependencies:
# path: ^1.4.1
dependencies:
http: ^0.12.0+1
dev_dependencies:
test: ^1.0.0
path_provider: ^0.4.1
>>>>>>>
Working dir: C:\Users\karrar\IdeaProjects\untitled44
"C:\Program Files\Dart\dart-sdk\bin\pub.bat" get
Resolving dependencies...
Because no versions of path_provider match >0.4.1 <0.5.0 and path_provider 0.4.1 requires the Flutter SDK, path_provider ^0.4.1 is forbidden.
So, because untitled44 depends on path_provider ^0.4.1, version solving failed.
Flutter users should run `flutter packages get` instead of `pub get`.
Process finished with exit code 1
Have you tried flutter packages get?
Please consider asking support questions in one of the other channels listed at http://flutter.io/support .
| gharchive/issue | 2019-02-18T12:01:00 | 2025-04-01T06:44:11.855786 | {
"authors": [
"kangwang1988",
"kararsaadkd",
"zoechi"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/28102",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
416782470 | Video_player plugin Android loop = false, the value of controller.value.postion can be played beyond the value of controller.value.duration will not automatically stop the playe
Steps to Reproduce
Video_player plugin Android loop = false, the value of controller.value.postion can be played beyond the value of controller.value.duration will not automatically stop the playe
Codes
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';
void main() {
runApp(
ChewieDemo(),
);
}
class ChewieDemo extends StatefulWidget {
ChewieDemo({this.title = 'Demo'});
final String title;
@override
State<StatefulWidget> createState() {
return _ChewieDemoState();
}
}
class _ChewieDemoState extends State<ChewieDemo> {
VideoPlayerController _videoPlayerController1;
@override
void initState() {
super.initState();
_videoPlayerController1 = VideoPlayerController.network(
'https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4');
_videoPlayerController1.initialize();
}
@override
void dispose() {
_videoPlayerController1.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
title: widget.title,
home: Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: VideoPlayer(_videoPlayerController1),
),
);
}
}
Logs
bogon:example h3d-nna$ flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.2 18C54, locale zh-Hans-CN)
• Flutter version 1.2.1 at /Users/h3d-nna/Documents/flutter
• Framework revision 8661d8aecd (2 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/h3d-nna/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.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_152-release-1248-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.3
• Dart plugin version 182.5124
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[✓] VS Code (version 1.31.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.24.0
[✓] Connected device (2 available)
• dongxiaoiPhone • e90da41de945b9d8d5320facfb087b4027d0d7a2 • ios • iOS 10.3.3
• iPhone 8 Plus • 7F484401-C0C2-4A08-93D5-0F737E0758F2 • ios • iOS 12.1 (simulator)
• No issues found!
Duplicate of #33187
| gharchive/issue | 2019-03-04T12:38:59 | 2025-04-01T06:44:11.858681 | {
"authors": [
"LebenNNA",
"TahaTesser"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/28833",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
425194208 | I am having issue installing Flutter on Mac. Flutter Doctor fails.
I am trying to use Flutter in Visual Studio Code, ran flutter doctor and got the below error:
[flutter] flutter doctor
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Doctor summary (to see all details, run flutter doctor -v):
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report. Server responded with HTTP status code 400
Crash report written to /private/var/folders/jt/yvk9l5nd343_fyj8vbmw_s500000gn/T/dart-code-cmd-run/flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.
exit code 1
It looks like we're failing to detect that the command line tools are not installed. We should fix this so it does not crash. In the meantime, see
https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a
for a fix
I believe this was fixed in https://github.com/flutter/flutter/pull/38920
| gharchive/issue | 2019-03-26T02:14:37 | 2025-04-01T06:44:11.862636 | {
"authors": [
"christopherfujino",
"ckunda",
"jonahwilliams"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/29952",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
430270932 | Flutter with native iOS FCM plugin does not return from native code on initial run
Steps to Reproduce
A StackOverflow post has been posted here explaining the problem including code snippets and logs when running the application.
TLDR: I need to use the native FCM plugin for Android because I need to design custom vibrations when a notification is delivered. Then I want to use the native iOS plugin as well as I find it silly to implement the native Android plugin and the Flutter FCM package only to use it for the iOS platform. However, when I launch the app for the first time (clean install) on iOS, the token is not delivered. Every time I run it afterwards the token is delivered as expected.
Logs
Run
Due to the log exceeding the maximum character limit I have created a gist for the log (link).
Analyze
Analyzing [APP]...
warning • The parameter 'home' is required • lib/main.dart:48:48 • missing_required_param
warning • The parameter 'onSignedOut' is required • lib/main.dart:48:48 • missing_required_param
warning • The parameter 'webSocketChannel' is required • lib/main.dart:50:38 • missing_required_param
warning • The parameter 'sensorId' is required • lib/main.dart:53:42 • missing_required_param
warning • The parameter 'webSocketChannel' is required • lib/main.dart:53:42 • missing_required_param
warning • The parameter 'onSignedOut' is required • lib/main.dart:55:41 • missing_required_param
warning • The parameter 'documentID' is required • lib/main.dart:58:43 • missing_required_param
warning • The parameter 'documentID' is required • lib/main.dart:59:48 • missing_required_param
warning • The parameter 'name' is required • lib/main.dart:60:45 • missing_required_param
warning • The parameter 'sensorId' is required • lib/main.dart:60:45 • missing_required_param
warning • The parameter 'webSocketChannel' is required • lib/main.dart:60:45 • missing_required_param
info • Cancel instances of dart.async.StreamSubscription • lib/pages/calibrate_sensor.dart:31:22 • cancel_subscriptions
info • This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: ClaimHubPage.fields, ClaimHubPage.onSubmit, ClaimHubPage.fieldWidth, ClaimHubPage.fontSize, ClaimHubPage.isTextObscure, ClaimHubPage.showFieldsAsBox • lib/pages/claim_hub.dart:5:7 • must_be_immutable
info • The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions • lib/pages/claim_hub.dart:102:21 • sdk_version_async_exported_from_core
info • This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: PendingHome.fourDigitCode, PendingHome.crudMethods, PendingHome.auth • lib/pages/create_join_home.dart:8:7 • must_be_immutable
info • The class 'Stream' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions • lib/pages/home_info.dart:15:3 • sdk_version_async_exported_from_core
info • The class 'Stream' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions • lib/pages/join_household.dart:21:3 • sdk_version_async_exported_from_core
info • The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions • lib/pages/join_household_view.dart:122:3 • sdk_version_async_exported_from_core
info • The value of the field '_authStatus' isn't used • lib/pages/profile.dart:25:14 • unused_field
info • The value of the field '_homeStatus' isn't used • lib/pages/profile.dart:26:14 • unused_field
info • Name non-constant identifiers using lowerCamelCase • lib/pages/root_page.dart:154:8 • non_constant_identifier_names
info • The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions • lib/pages/sensor_dashboard_View.dart:131:3 • sdk_version_async_exported_from_core
info • Unused import: 'package:APP/theme.dart' • lib/pages/source_location_view.dart:1:8 • unused_import
info • This function has a return type of 'Future<String>', but doesn't end with a return statement • lib/util/crud_properties.dart:494:3 • missing_return
info • This function has a return type of 'Future<String>', but doesn't end with a return statement • lib/util/crud_properties.dart:512:3 • missing_return
info • Name non-constant identifiers using lowerCamelCase • lib/util/crud_properties.dart:667:16 • non_constant_identifier_names
info • Unused import: 'dart:async' • lib/util/firebase_handler.dart:1:8 • unused_import
info • Unused import: 'package:firebase_core/firebase_core.dart' • lib/util/firebase_handler.dart:2:8 • unused_import
info • Unused import: 'package:cloud_firestore/cloud_firestore.dart' • lib/util/firebase_handler.dart:3:8 • unused_import
info • The value of the field '_auth' isn't used • lib/util/firebase_handler.dart:28:23 • unused_field
info • Unused import: 'package:APP/theme.dart' • lib/widgets/toggle_mute_icon.dart:3:8 • unused_import
info • This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: ToggleMuteIcon.unmuted • lib/widgets/toggle_mute_icon.dart:5:7 • must_be_immutable
Doctor
[✓] Flutter (Channel beta, v1.3.8, on Mac OS X 10.13.6 17G65, locale en-DK)
• Flutter version 1.3.8 at /Users/markflarup/Library/flutter
• Framework revision e5b1ed7a7f (3 weeks ago), 2019-03-06 14:23:37 -0800
• Engine revision f4951df193
• Dart version 2.2.1 (build 2.2.1-dev.0.0 571ea80e11)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/markflarup/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.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_152-release-1248-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.6.1
[✓] Android Studio (version 3.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 33.4.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.5)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 33.4.2
• Dart plugin version 183.5912.23
[✓] Connected device (1 available)
• iPhone7 • 7040ee04b430aab1fca1c0d9e32a93f48ed89d3b • ios • iOS 12.1.2
• No issues found!
Hi, sorry for the delay, I just want to check if you could solve this problem.
Hi, sorry for the delay, I just want to check if you could solve this problem.
No, I wasn't able to solve it. I had tried various options before posting here and haven't really tried any other solutions afterwards.
The project I worked on got shut down so it's not really an issue for me to tackle now.
Thanks for getting back, I close this issue then.
| gharchive/issue | 2019-04-08T06:09:29 | 2025-04-01T06:44:11.869266 | {
"authors": [
"escamoteur",
"markflarup"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/30674",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
433102484 | Is this a typo? assert(transform.determinant != 0.0);
I found this line of code in flutter/lib/src/painting/matrix_utils.dart, line 166, commit: 27b058a41
assert(transform.determinant != 0.0);
I guess it is expected to be:
assert(transform.determinant() != 0.0);
However, if my guess is correct, there is another issue which causes this assertion to fail. Followed are the steps to reproduce
Replace determinant with determinant() as above;
Open project flutter_gallery in Android Studio;
Start running main.dart in Android simulator;
As the application is launched, tap 'Material -> Bottom app bar' to open the bottom app bar demo;
Tap 'None' radio in FAB shape, the Floating Action Button should disappear;
Tap 'Circular' or 'Diamond' radio in FAB shape.
The console output looks as follows
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...
Syncing files to device Android SDK built for x86...
D/EGL_emulation( 7685): eglMakeCurrent: 0xe74852a0: ver 3 0 (tinfo 0xe74832e0)
I/flutter ( 7685): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 7685): The following NoSuchMethodError was thrown during paint():
I/flutter ( 7685): The getter 'left' was called on null.
I/flutter ( 7685): Receiver: null
I/flutter ( 7685): Tried calling: left
I/flutter ( 7685):
I/flutter ( 7685): When the exception was thrown, this was the stack:
I/flutter ( 7685): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:50:5)
I/flutter ( 7685): #1 Rect.overlaps (dart:ui/geometry.dart:771:24)
I/flutter ( 7685): #2 _DiamondNotchedRectangle.getOuterPath (package:flutter_gallery/demo/material/bottom_app_bar_demo.dart:459:15)
I/flutter ( 7685): #3 _BottomAppBarClipper.getClip (package:flutter/src/material/bottom_app_bar.dart:166:18)
I/flutter ( 7685): #4 _RenderCustomClip._updateClip (package:flutter/src/rendering/proxy_box.dart:1212:25)
I/flutter ( 7685): #5 RenderPhysicalShape.paint (package:flutter/src/rendering/proxy_box.dart:1780:7)
I/flutter ( 7685): #6 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2104:7)
I/flutter ( 7685): #7 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter ( 7685): #8 _RenderCustomMultiChildLayoutBox&RenderBox&ContainerRenderObjectMixin&RenderBoxContainerDefaultsMixin.defaultPaint (package:flutter/src/rendering/box.dart:2273:15)
I/flutter ( 7685): #9 RenderCustomMultiChildLayoutBox.paint (package:flutter/src/rendering/custom_layout.dart:361:5)
I/flutter ( 7685): #10 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2104:7)
I/flutter ( 7685): #11 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter ( 7685): #12 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter ( 7685): #13 _RenderInkFeatures.paint (package:flutter/src/material/material.dart:510:11)
I/flutter ( 7685): #14 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2104:7)
I/flutter ( 7685): #15 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter ( 7685): #16 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter ( 7685): #17 PaintingContext.pushLayer (package:flutter/src/rendering/object.dart:370:12)
I/flutter ( 7685): #18 RenderPhysicalModel.paint (package:flutter/src/rendering/proxy_box.dart:1716:15)
I/flutter ( 7685): #19 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2104:7)
I/flutter ( 7685): #20 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter ( 7685): #21 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter ( 7685): #22 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2104:7)
I/flutter ( 7685): #23 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter ( 7685): #24 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter ( 7685): #25 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2104:7)
I/flutter ( 7685): #26 PaintingContext._repaintCompositedChild (package:flutter/src/rendering/object.dart:128:11)
I/flutter ( 7685): #27 PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:96:5)
I/flutter ( 7685): #28 PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:859:29)
I/flutter ( 7685): #29 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:349:19)
I/flutter ( 7685): #30 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:701:13)
I/flutter ( 7685): #31 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:286:5)
I/flutter ( 7685): #32 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1012:15)
I/flutter ( 7685): #33 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:952:9)
I/flutter ( 7685): #34 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:864:5)
I/flutter ( 7685): #38 _invoke (dart:ui/hooks.dart:219:10)
I/flutter ( 7685): #39 _drawFrame (dart:ui/hooks.dart:178:3)
I/flutter ( 7685): (elided 3 frames from package dart:async)
I/flutter ( 7685):
I/flutter ( 7685): The following RenderObject was being processed when the exception was fired:
I/flutter ( 7685): RenderPhysicalShape#9225c relayoutBoundary=up1
I/flutter ( 7685): creator: PhysicalShape ← BottomAppBar ← _DemoBottomAppBar ← MediaQuery ←
I/flutter ( 7685): LayoutId-[<_ScaffoldSlot.bottomNavigationBar>] ← CustomMultiChildLayout ← AnimatedBuilder ←
I/flutter ( 7685): DefaultTextStyle ← AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#52319 ink renderer] ←
I/flutter ( 7685): NotificationListener<LayoutChangedNotification> ← PhysicalModel ← ⋯
I/flutter ( 7685): parentData: offset=Offset(0.0, 635.4); id=_ScaffoldSlot.bottomNavigationBar (can use size)
I/flutter ( 7685): constraints: BoxConstraints(w=411.4, 0.0<=h<=683.4)
I/flutter ( 7685): size: Size(411.4, 48.0)
I/flutter ( 7685): elevation: 8.0
I/flutter ( 7685): color: Color(0xffffffff)
I/flutter ( 7685): shadowColor: Color(0xffffffff)
I/flutter ( 7685): clipper: _BottomAppBarClipper
I/flutter ( 7685): This RenderObject had the following descendants (showing up to depth 5):
I/flutter ( 7685): RenderCustomPaint#22f12 relayoutBoundary=up2
I/flutter ( 7685): _RenderInkFeatures#b82a0 relayoutBoundary=up3
I/flutter ( 7685): RenderPadding#39bef relayoutBoundary=up4
I/flutter ( 7685): RenderFlex#40c20 relayoutBoundary=up5
I/flutter ( 7685): RenderSemanticsGestureHandler#24e16 relayoutBoundary=up6
I/flutter ( 7685): RenderSemanticsGestureHandler#cdda6 relayoutBoundary=up6
I/flutter ( 7685): RenderSemanticsGestureHandler#26a78 relayoutBoundary=up6
I/flutter ( 7685): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 7685): Another exception was thrown: 'package:flutter/src/painting/matrix_utils.dart': Failed assertion: line 166 pos 12: 'transform.determinant() != 0.0': is not true.
I/flutter ( 7685): Another exception was thrown: NoSuchMethodError: The getter 'left' was called on null.
I/flutter ( 7685): Another exception was thrown: 'package:flutter/src/painting/matrix_utils.dart': Failed assertion: line 166 pos 12: 'transform.determinant() != 0.0': is not true.
Application finished.
This is definitely a bug, thank you for finding it!
@jonahwilliams , looking at the PR associated with this bug, may I assume this has been fixed?
Yes, it ended up being cleaned up in a different pr: https://github.com/flutter/flutter/pull/31568
| gharchive/issue | 2019-04-15T05:37:55 | 2025-04-01T06:44:11.876122 | {
"authors": [
"jonahwilliams",
"yczhangsjtu",
"zoeyfan"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/31045",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
457764152 | Android AdMob Plugin Crash Missing Resource
Android crashes on open as of admob plugin ^0.6.1
firebase_admob: ^0.9.0+1 --> CURRENT VERSION
firebase_admob: ^0.6.1 --> BREAKS
firebase_admob: ^0.5.7 --> WORKS
I commented out all actual plugin code and only have the plugin defined in my pubsec.yaml and it crashes. Works fine on iOS
Stack trace:
2019-06-18 21:25:24.096 31490-4806/? I/Icing: IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=AppsCorpus serviceId=SEARCH_CORPORA
2019-06-18 21:25:24.126 19996-20009/? E/s.nexuslaunche: No package ID ff found for ID 0xffffffff.
2019-06-18 21:25:24.128 31490-9848/? I/Icing: Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0
2019-06-18 21:25:24.131 19996-20009/? E/IconLoader: Could not find icon drawable from resource
android.content.res.Resources$NotFoundException: Resource ID #0xffffffff
at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:225)
at android.content.res.Resources.getDrawableForDensity(Resources.java:887)
at android.content.res.Resources.getDrawable(Resources.java:827)
at com.android.systemui.shared.recents.model.IconLoader.createNewIconForTask(SourceFile:118)
at com.android.systemui.shared.recents.model.IconLoader.getAndInvalidateIfModified(SourceFile:94)
at com.android.systemui.shared.recents.model.RecentsTaskLoader.getAndUpdateActivityIcon(SourceFile:325)
at com.android.systemui.shared.recents.model.RecentsTaskLoadPlan.executePlan(SourceFile:188)
at com.android.systemui.shared.recents.model.RecentsTaskLoader.loadTasks(SourceFile:173)
at com.android.quickstep.RecentsModel.onTaskStackChangedBackground(SourceFile:214)
at com.android.systemui.shared.system.TaskStackChangeListeners.onTaskStackChanged(SourceFile:80)
at android.app.ITaskStackListener$Stub.onTransact(ITaskStackListener.java:50)
at android.os.Binder.execTransact(Binder.java:731)
2019-06-18 21:25:24.131 19996-20009/? W/ziparchive: Unable to open '/data/app/com.MY.PACKAGE-e12umTipQfrtv-8jJMNp2w==/base.apk': No such file or directory
2019-06-18 21:25:24.131 19996-20009/? E/s.nexuslaunche: Failed to open APK '/data/app/com.MY.PACKAGE-e12umTipQfrtv-8jJMNp2w==/base.apk' I/O error
2019-06-18 21:25:24.131 19996-20009/? E/ResourcesManager: failed to add asset path /data/app/com.MY.PACKAGE-e12umTipQfrtv-8jJMNp2w==/base.apk
2019-06-18 21:25:24.131 19996-20009/? W/PackageManager: Failure retrieving resources for com.MY.PACKAGE
2019-06-18 21:25:24.149 31490-9848/? I/Icing: Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0
Here's the flutter doctor -v:
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale en-US)
• Flutter version 1.5.4-hotfix.2 at /Users/administrator/Library/Flutter/flutter
• Framework revision 7a4c33425d (7 weeks ago), 2019-04-29 11:05:24 -0700
• Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/administrator/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.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_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.6.1
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] Connected device (1 available)
• Pixel 2 XL • ID • android-arm64 • Android 9 (API 28)
• No issues found!
Hello @caseta !
Did you manage to solve the issue? Does the problem still persist in the latest stable version?
@caseta
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1177. Any further collaboration will be done there.
| gharchive/issue | 2019-06-19T01:29:20 | 2025-04-01T06:44:11.880816 | {
"authors": [
"caseta",
"janmoppel",
"kroikie"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/34689",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
150409993 | Should make TextSpan.height clearer
Right now it's not super clear what our inline box model is.
From an e-mail to flutter-dev:
"height" does two things depending on where you put it, which is why we haven't called it "lineHeight". If you put it on the style at the root of your TextSpan widget (or in a DefaultTextStyle or whatever), then it sets the line height. If you set it on a TextSpan nested inside another, it sets the height of that textspan, which influences the line height but doesn't directly set it (the line height will be the total extent from the highest inner text span to the lowest inner text span).
Closing as the property in question no longer is a part of TextSpan.
| gharchive/issue | 2016-04-22T16:05:12 | 2025-04-01T06:44:11.883222 | {
"authors": [
"Hixie",
"markusaksli-nc"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/3495",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
466516850 | Is this a bug?
Hi i am starting developing in flutter, i am trying to add an icon on a textfield but its not aligned.
class TabProfile extends StatelessWidget{
@override
Widget build(BuildContext context) {
return SingleChildScrollView(
child: Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage("assets/background_startapp.png"),
fit: BoxFit.cover
)
),
child: SafeArea(
child: Column(
children: <Widget>[
Container(height: 180),
Container(
color: Colors.white,
child: TextField(
style: TextStyle(fontSize: 14.0),
decoration: InputDecoration(
//contentPadding: EdgeInsets.only(top: 15), // i have to add this to fix the problem
hintText: 'Email',
prefixIcon: Icon(Icons.mail_outline, size: 20),
),
)
)
]
)
)
)
);
}
}
No this is not a bug, I think you should Stack widget and wrap your icon inside a Position widget. This will work exactly like the position: absolute works in CSS.
No this is not a bug, I think you should Stack widget and wrap your icon inside a Position widget. This will work exactly like the position: absolute works in CSS.
But if you add an OutlineInputBorder or if you use icon(not preffixIcon) then the icon and the text is aligned.
@bchauca Did you find a solution?
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.
| gharchive/issue | 2019-07-10T20:57:33 | 2025-04-01T06:44:11.886793 | {
"authors": [
"BondarenkoStas",
"bchauca",
"iapicca",
"kush3107"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/35912",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
495220503 | text_input.dart': Failed assertion: line 710 pos 12: 'attached': is not true when changing InputDecoration of a previously active Textfield
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building InputDecorator(decoration: InputDecoration(labelText: "عنوان بريد الكتروني", helperText: "", hintMaxLines: "1", errorStyle: "TextStyle(inherit: true, color: MaterialColor(primary value: Color(0xfff44336)), family: AdobeArabicBold, height: 1.0x)", prefixIcon: Icon(IconData(U+0E853), color: Color(0xffffffff)), focusedBorder: UnderlineInputBorder(), enabledBorder: UnderlineInputBorder(), alignLabelWithHint: false), isFocused: false, isEmpty: false, dependencies: [_LocalizationsScope-[GlobalKey#2faa2], _InheritedTheme, Directionality, MediaQuery], state: _InputDecoratorState#ffa1a(tickers: tracking 2 tickers)):
'package:flutter/src/services/text_input.dart': Failed assertion: line 703 pos 12: 'attached': 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=BUG.md
User-created ancestor of the error-causing widget was:
TextFormField file:///D:/AndroidWorkspace/ComoRestuarantApp/como_restaurant/lib/login/login_ui.dart:97:25
When the exception was thrown, this was the stack:
#2 TextInputConnection.setStyle (package:flutter/src/services/text_input.dart:703:12)
#3 EditableTextState.didUpdateWidget (package:flutter/src/widgets/editable_text.dart:1100:29)
#4 StatefulElement.update (package:flutter/src/widgets/framework.dart:4096:58)
#5 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
#6 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5136:14)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
My Code For Form
Widget build(BuildContext context) {
return Scaffold(
resizeToAvoidBottomPadding: false,
body: Stack(
fit: StackFit.expand,
children: <Widget>[
Image(
image: AssetImage(StringConstant.LoginPageBGPath),
fit: BoxFit.cover,
color: Colors.black54,
colorBlendMode: BlendMode.darken,
),
ListView(
shrinkWrap: true,
children: <Widget>[
Directionality(
child: Container(
padding: EdgeInsets.only(top: 30),
child: _buildLanguageWidget(_index),
alignment: Alignment.topCenter,
),
textDirection: TextDirection.ltr,
),
SizedBox(height: 60.0),
Center(
child: Text(AppLocalizations.of(context).lbSignIn,
style: TextStyle(
color: Colors.white,
fontFamily: _index == 0
? "MyriadProSemibold"
: "AdobeArabicBold",
fontSize: 35.0),
strutStyle: StrutStyle(
forceStrutHeight: true,
)),
),
Form(
key: _loginFormKey,
child: Theme(
data: ThemeData(
brightness: Brightness.dark,
primarySwatch: Colors.orange,
inputDecorationTheme: InputDecorationTheme(
labelStyle: TextStyle(
color: Colors.white,
))),
child: Container(
margin: EdgeInsets.only(top: 30.0, right: 30.0, left: 30.0),
child: Column(
children: <Widget>[
TextFormField(
focusNode: _emailNode,
controller: emailController,
cursorColor: Colors.white,
decoration: InputDecoration(
prefixIcon: Icon(
Icons.account_circle,
color: Colors.white,
),
labelText:
AppLocalizations.of(context).emailAddress,
helperText: "",
labelStyle: TextStyle(
color: Colors.white,
height: 1,
fontFamily: _index == 0
? "MyriadProSemibold"
: "AdobeArabicBold",
),
errorStyle: TextStyle(
color: Colors.red,
height: 1,
fontFamily: _index == 0
? "MyriadProSemibold"
: "AdobeArabicBold",
),
hintStyle: TextStyle(
color: Colors.white,
height: 1,
fontFamily: _index == 0
? "MyriadProSemibold"
: "AdobeArabicBold",
),
helperStyle: TextStyle(
color: Colors.white,
height: 1,
fontFamily: _index == 0
? "MyriadProSemibold"
: "AdobeArabicBold",
),
enabledBorder: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.white)),
focusedBorder: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.orange),
),
),
// ignore: missing_return
validator: (value) {
if (value.isEmpty) {
return AppLocalizations.of(context)
.errorEnterMail;
} else if (!value.contains("@")) {
return AppLocalizations.of(context)
.errorInvalidMail;
} else
return "";
},
keyboardType: TextInputType.emailAddress,
textInputAction: TextInputAction.next,
onFieldSubmitted: (value) {
_fieldFocusChange(
context, _emailNode, _passwordNode);
},
),
TextFormField(
focusNode: _passwordNode,
controller: pwdController,
cursorColor: Colors.orange,
decoration: InputDecoration(
helperText: "",
prefixIcon: Icon(
Icons.lock_open,
color: Colors.white,
),
suffixIcon: Icon(
Icons.remove_red_eye,
color: Colors.white,
),
labelText: AppLocalizations.of(context).password,
labelStyle: TextStyle(
color: Colors.white,
height: 1,
fontFamily: _index == 0
? "MyriadProSemibold"
: "AdobeArabicBold",
),
errorStyle: TextStyle(
color: Colors.red,
height: 1,
fontFamily: _index == 0
? "MyriadProSemibold"
: "AdobeArabicBold",
),
hintStyle: TextStyle(
color: Colors.white,
height: 1,
fontFamily: _index == 0
? "MyriadProSemibold"
: "AdobeArabicBold",
),
helperStyle: TextStyle(
color: Colors.white,
height: 1,
fontFamily: _index == 0
? "MyriadProSemibold"
: "AdobeArabicBold",
),
enabledBorder: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.white)),
focusedBorder: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.orange),
)),
// ignore: missing_return
validator: (value) {
if (value.isEmpty) {
return AppLocalizations.of(context).errorEnterPwd;
} else
return "";
},
keyboardType: TextInputType.text,
obscureText: true,
),
Padding(
padding: const EdgeInsets.all(20.0),
),
Builder(
builder: (context) => Center(
child: SizedBox(
width: double.maxFinite,
child: RaisedButton(
color: Colors.orange,
textColor: Colors.white,
child: Text(
AppLocalizations.of(context).login,
style: TextStyle(
fontSize: 17,
),
strutStyle: StrutStyle(
forceStrutHeight: true,
),
),
onPressed: () {
if (_loginFormKey.currentState.validate()) {
showSnakeBar(context);
Navigator.push(
context,
MaterialPageRoute(
builder: (context) =>
MyHomePage()));
}
},
padding: EdgeInsets.all(10.0),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(5.0)),
),
),
),
),
Padding(
padding: EdgeInsets.only(top: 22.0),
),
Text(
AppLocalizations.of(context).forgotPassword,
style: TextStyle(color: Colors.white, fontSize: 16.0),
),
Padding(
padding: EdgeInsets.only(top: 22.0),
),
FlatButton(
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text(AppLocalizations.of(context).lbSignUpStr,
style: TextStyle(
color: Colors.white, fontSize: 16.0),
strutStyle: StrutStyle(
forceStrutHeight: true,
)),
Text(AppLocalizations.of(context).signUp,
style: TextStyle(
color: Colors.orange, fontSize: 16.0),
strutStyle: StrutStyle(
forceStrutHeight: true,
)),
],
),
onPressed: () => Navigator.push(
context,
MaterialPageRoute(
builder: (context) => SignUpPage())))
],
),
),
),
),
],
),
],
),
);
}
Could you please add your output of flutter doctor?
E:\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel master, v1.10.3-pre.46, on Microsoft Windows [Version 10.0.18362.295], locale en-IN)
• Flutter version 1.10.3-pre.46 at E:\flutter
• Framework revision 3331c37804 (2 days ago), 2019-09-16 05:02:41 -0400
• Engine revision 79ecdbf220
• Dart version 2.6.0 (build 2.6.0-dev.0.0 d0052c1b31)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at E:\android\android-sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = E:\android\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)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.
[√] 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)
• Redmi Note 6 Pro • ff4cd888 • android-arm64 • Android 9 (API 28)
! Doctor found issues in 1 category.
Process finished with exit code 0
@escamoteur ``
I have made an example project to show off the error, its not confined to changing the local on the text edit.
when a SetState is modifying the values of the non active TextField when more than one text field has previously been activated.
In the below demo, if you toggle the switch without inserting any values both TextField are fine, if you put a value in one TextField then switch it is also fine, tap into the second field and the error will occur.
in text_input.dart we have:
/// Whether this connection is currently interacting with the text input control. bool get attached => _clientHandler._currentConnection == this;
which naturally resolves to false since we are indeed not interacting with the current text input controller. so when the widget tree invokes the SetState the assert naturally fails.
I don't understand what the assert is trying to achieve here, since you may want to set the state on any instance of a text_input not just the currently active one. updating the state on multiple inputs did perviously work so is this some kind of regression?
` /// Send text styling information.
///
/// This information is used by the Flutter Web Engine to change the style
/// of the hidden native input's content. Hence, the content size will match
/// to the size of the editable widget's content.
void setStyle({
@required String fontFamily,
@required double fontSize,
@required FontWeight fontWeight,
@required TextDirection textDirection,
@required TextAlign textAlign,
}) {
assert(attached);
SystemChannels.textInput.invokeMethod<void>(
'TextInput.setStyle',
<String, dynamic>{
'fontFamily': fontFamily,
'fontSize': fontSize,
'fontWeightIndex': fontWeight?.index,
'textAlignIndex': textAlign.index,
'textDirectionIndex': textDirection.index,
},
);
}`
`import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
Color textCol = Colors.grey;
bool theam = false;
void _switchTheam(state) {
setState(() {
theam = state;
if (!state) {
textCol = Colors.grey;
} else {
textCol = Colors.red;
}
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Builder(
builder: (context) => Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
new TextField(
decoration: InputDecoration(
border: InputBorder.none,
hintText: '',
hintStyle: TextStyle(
color: textCol,
),
labelText: 'Input 1',
labelStyle: TextStyle(
color: textCol,
),
),
textAlign: TextAlign.center,
style: TextStyle(
color: textCol,
),
),
new TextField(
decoration: InputDecoration(
border: InputBorder.none,
hintText: '',
hintStyle: TextStyle(
color: textCol,
),
labelText: 'Input 2',
labelStyle: TextStyle(
color: textCol,
),
),
textAlign: TextAlign.center,
style: TextStyle(
color: textCol,
),
),
new Switch(
value: theam,
onChanged: (state) => _switchTheam(state),
),
],
),
),
);
}
}
`
@benjlin did you test on web or on Android/iOS?
I was a bit confused because in you code snipped above in the comment they talk about flutter web
Ok, forget that latest, I could reproduce on Android on latest master Channel master, v1.10.7-pre.95, on Microsoft Windows
yeah sorry for the lack of clarity there, i was testing with Android on the latest master on macOS, i was trying to point out that it looks like web code changes might have caused this
Any workarounds for this? I'm on 1. Should I downgrade? I have to release my app within this week, and this is the last bug. I've already created a custom widget from the TextField widget.
Would the older version give you other problems? If you release for iOS you will have problems with iOS 13.
I am downloading iOS 11 Simulator runtime for testing, but this issue is also on Android (Tested on physical device, Xiaomi Redmi 6).
Tested and confirmed that this also an issue on iOS 11.1. Please how soon can we expect a fix for this?
@escamoteur @Hixie Any update?
In order to temporarily circumvent this bug I commented this line and generated a local version of Flutter.
In order to temporarily circumvent this bug I commented this line and generated a local version of Flutter.
That's works. Thanks!
In order to temporarily circumvent this bug I commented this line and generated a local version of Flutter.
This could be a potential solution.
@gdomingues How do I generate a local version of Flutter?
@BasedMusa best to fork the flutter repo and clone it to your computer.
In order to temporarily circumvent this bug I commented this line and generated a local version of Flutter.
Yes. Commenting out that line worked for me too!
I have the same problem. Any information when a fix would be ready?
Getting exactly the same error on my side with the latest stable version 1.12.13+hotfix.5 any news ?
Same issue here on 1.12.13+hotfix.5 • channel stable •
Please upvote the first comment, else this issue won't be prioritized accordingly.
The number of comments saying "same issue" and similars probably aren't considered in the prioritization.
Same issue on :
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.13.3-pre.78, on Mac OS X 10.15.1 19B88, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[✓] Connected device (1 available)
我的MaterialApp的local属性是这样设置的 locale:dataProvider.isLocal,但是在切换的时候,语言切换过来了,但是报了这个错误:TextInput 'attached':is not true.下次再切换语言,就直接红屏报错,错误原因:framework: 'child == _child': is not true. 我该咋办呀!
Hi the problem pop ups when I change the style while the element is not selected, is there any other way to make this work without commenting the line?
Maybe the approach that I'm going is wrong
setStyle is setting the style of 'current active' one. the assert is there to make sure the current active one is the one of this editabletext. Comment out the line will create potential issue. for example if you have two textfields: textfield1 and textfield2.
textfield2 is active, and textfield1 change its style while textfield2 stays the same.
The textfield1 will try to setstyle for the 'current active' textinput which is the text input of textfield2. This will currently throw an exception because of the assert.
I am working on a fix, stay tune.
@chunhtai your fix on latest master doesn't seem to fix this, however, removing the mentioned assert definitely fixes it and everything is smooth as it should.
Spent all afternoon around this as I have an animation lerping the font size in a list of multiple form fields and with this, it seems impossible to achieve. However, using a local fix on my repo isn't a solution either for me.
This should be reopened.
@chunhtai It's not happening anymore on master at least for me.
I made a simple example from where I used to have the error
https://gist.github.com/enzobonggio/3c79ba62d3ad02e585a5bbc4ec9f9581
Thanks a lot.
@miguelpruivo
Can you share your reproducible example? The assert is there to make sure things work correctly. Removing it is risky.
In my case, was that sometimes TextFields were added to widget tree and in some cases not. When dependent variable changed causing that some TextFields come and others gone is when this error was raised. My solution was using the widget Visibility so all this widgets always, being visible or not, are added to the widget tree so the error is gone.
Replacing:
if(visible)
TextField(
controller: passwordController1,
obscureText: true,
autofocus: true,
decoration: InputDecoration(
contentPadding: EdgeInsets.fromLTRB(20.0, 15.0, 20.0, 15.0),
hintText: AppTranslations.of(context).text('login_password1'),
border: OutlineInputBorder(borderRadius: BorderRadius.circular(5.0))
),
)
by:
Visible(
visible: visible,
child: TextField( ...
)
(Sorry for my english ...)
@chunhtai my bad, I can confirm that indeed it's working on master HEAD. Thank you.
@chunhtai Thanks a lot, your solution solved my problem
To make it perfectly clear for anyone else who's having this problem as I also did:
What you need to do is to use the source code installation -not the prepackaged bundle-, and check out v1.13.6 or later - not the stable branch. (find a wysiwyg/gui git tool if you're not too comfortable with git) Check out the latest numbered release (currently 1.15.3)
The fix will of course be released to stable at some later point.
@chunhtai Thanks a lot for your fix, But please release the strable flutter v1.13.6 as soon as possible
i had the same issue but then i runned the app on release mode and didnt happen
| gharchive/issue | 2019-09-18T13:17:35 | 2025-04-01T06:44:11.930014 | {
"authors": [
"Ahmedmedhat187",
"BasedMusa",
"CiceroTecchio",
"GyuriMajercsik",
"SunLongbri",
"ajeethhacki",
"benjlin",
"chunhtai",
"enzobonggio",
"escamoteur",
"fredytellor",
"gdomingues",
"hardik9996",
"huextrat",
"koyadovic",
"miguelpruivo",
"votruk",
"yasinarik",
"zigszigsdk"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/40755",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
496044430 | Flutter should warn you on Catalina if you're about to use an unsigned binary
UPDATE: It appears there are situations (https://github.com/flutter/flutter/issues/42302 & https://github.com/flutter/flutter/issues/42714) where Dart is allowed to run but libimobiledevice binaries fail. We should probably add a doctor validator to verify our binaries will actually run.
We have plans to sign binaries for Catalina, but there will be binaries from some commits that are not signed (e.g. commits from before we started signing at all, or currently commits that fall between dev tagged branches and aren't getting signed). We should try to make sure that experience is accounted for.
One option is for the Flutter tool (perhaps in the flutter bash script) to do something like the following:
If we're on Catalina:
If spctl is on the path, use it to check if dart and flutter_tester are signed. If not, print a warning/link on how to override the setting on Catalina (or how to get on a channel that is signed).
If spctl is not available, print a warning that we couldn't find the Xcode commandline tools and a link about how to install them, and a warning that the user may see other warnings about dart or flutter_tester, and a link about how to resolve those.
/cc @christopherfujino @zanderso
/cc @devoncarew @jacob314 @DanTup for input on how this might affect IDEs on Catalina.
We should also think about do we care if the binaries are signed if they've already disabled Gatekeeper?
Is there a way to check that (without sudo)? If so we could just do that first and short-circuit everything else.
I'll investigate that
spctl --status will report if Gatekeeper is enabled or not. We definitely should short circuit if they've disabled it.
/cc @DanTup for input on how this might affect IDEs on Catalina.
I'm not very familiar with this issue - is the problem that running the Dart VM (to run the flutter_tools snapshot) will fail?
For flutter run, as long as the shell script terminates nicely with an error, I think that would show up in the debug console to front of the user (so if it has a good message, it should be easy for them to resolve).
For other invocations of Flutter (like flutter daemon) we might need to make sure these are handled (I suspect VS code would trigger the "flutter daemon has terminated" message, but I'm not certain).
Is there a way to mimic the same behaviour on High Sierra to test? If not, looks like Catalina isn't far off, so once it lands I can upgrade my personal MacBook and test some there.
I believe Gatekeeper is always on these days. Our setup instructions make no mention of if as far as I can tell:
https://flutter.dev/docs/get-started/install/macos
But users get confused by it:
https://twitter.com/koehntopp/status/1387071996001984515
The english version is: “Dart cannot be opened because the developer cannot be verified” “Move to trash?”
https://github.com/flutter/flutter/issues/36714 says this was fixed in Dart, but I definitely hit this when attempting to get my wife set up with Flutter. I'm pretty sure we were installing "stable" as of March 29, 2021 (I can check on her computer if needed).
@eseidelGoogle do you know which binary Gatekeeper is flagging? I checked stable 2.0.5 and it looks like all the macos cache binaries are codesigned and notarized.
In both the above tweet and my wife's experience the binary mentioned in the dialog was titled dart. I don't know if that's the script called Dart or an executable though.
I just ran flutter doctor on my wife's machine and got:
% flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 2.0.3, on macOS 11.2.1 20D74 darwin-x64, locale en-US)
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
[✗] 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/docs/get-started/install/macos#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.
[✗] 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
sudo xcodebuild -runFirstLaunch
✗ 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 see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.55.0)
[✓] Connected device (1 available)
! Doctor found issues in 4 categories.
We never actually got through setup all the way (as is obvious above). When I ran flutter doctor just now I immediately got a gatekeeper popup:
I'm happy to file a separate issue. It's also possible this was only an issue in 2.0.3 and has since been fixed?
In both the above tweet and my wife's experience the binary mentioned in the dialog was titled dart. I don't know if that's the script called Dart or an executable though.
I don't know German, but it looks like it's saying Dart was downloaded via Homebrew Cask? Not sure how that happened (unless you have homebrew dart configured via the IDE plugin...)
I just ran flutter doctor on my wife's machine and got:
% flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 2.0.3, on macOS 11.2.1 20D74 darwin-x64, locale en-US)
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
[✗] 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/docs/get-started/install/macos#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.
[✗] 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
sudo xcodebuild -runFirstLaunch
✗ 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 see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.55.0)
[✓] Connected device (1 available)
! Doctor found issues in 4 categories.
We never actually got through setup all the way (as is obvious above). When I ran flutter doctor just now I immediately got a gatekeeper popup:
I'm happy to file a separate issue. It's also possible this was only an issue in 2.0.3 and has since been fixed?
Yeah, this should be a different issue. Feel free to ping me on it, gen_snapshot from the website is our fault.
Filed https://github.com/flutter/flutter/issues/81326
I think we can close this - Catalina is no longer the most recent version, and AFAIK running binaries on recent versions of macOS that come from GitHub non-stable aren't causing problems.
| gharchive/issue | 2019-09-19T21:53:45 | 2025-04-01T06:44:11.948963 | {
"authors": [
"DanTup",
"christopherfujino",
"dnfield",
"eseidelGoogle"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/40905",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
525816874 | [web] GestureDetector doesn't handle HitTestBehavior
Steps to Reproduce
Create Flutter for Web project
Build simple page with two GestureDetectors (one inside another one) with behavior: HitTestBehavior.translucent:
GestureDetector( behavior: HitTestBehavior.translucent, child: GestureDetector( behavior: HitTestBehavior.translucent, child: Container(color: Colors.red), onTap: () => print('Inner GestureDetector')), onTap: () => print('Outer GestureDetector')),
3. Launch the project and observe console output.
4. HitTestBehavior.translucent is not taken into account and I only receive output from inner widget, instead should receive from both onTap:
Logs
/Users/mike/Documents/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel master, v1.12.5-pre.21, on Mac OS X 10.15.1 19B88, locale en-UA)
• Flutter version 1.12.5-pre.21 at /Users/mike/Documents/flutter
• Framework revision 399aebc4b7 (27 hours ago), 2019-11-19 12:12:56 +0100
• Engine revision ecb32952ff
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
• Android SDK at /Users/mike/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.0
• Java binary at: /Users/mike/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5977832/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 11.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.2.1, Build version 11B500
• CocoaPods version 1.8.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.5)
• Android Studio at /Users/mike/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5977832/Android Studio.app/Contents
• Flutter plugin version 41.0.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (2 available)
• Chrome • chrome • web-javascript • Google Chrome 78.0.3904.97
• Web Server • web-server • web-javascript • Flutter Tools
! Doctor found issues in 1 category.
Process finished with exit code 0
Hi @mikepyts
are you experiencing the same issue with other Flutter versions from different channels?
thank you
@iapicca have tried with master and dev channels, unfortunately on another project, I have to use master channel due to other features, so at least on two channels it has the same behavior for me
@iapicca
Does this happen on Android or iOS as well?
@yjbanov have checked on my iPhone 6:
Thanks for checking! Sounds like a framework issue.
/cc @goderbauer @dkwingsmt
This is working as intended. When you tap, both the inner and outer tap gesture recognizer enter the gesture arena, which can only be won by one detector. Since there is no clear winner here, the first one to enter the arena wins it by definition. That's why you only see the onTap handler for the inner detector fire because it was the first one to enter the arena. More details can be found here: https://flutter.dev/docs/development/ui/advanced/gestures#gesture-disambiguation
In your example, the HitTestBehavior.translucent only determines which gesture detectors can participate in recognizing the gesture (for a different HitTestBehavior the outer detector wouldn't even enter the gesture arena). It does not change the number of recognizers that can win the arena, which is always just one.
If you replace the GestureDetector widgets in your example with Listener widgets (with onPointerDown handlers) you will see that both listener widgets see the onPointerDown event as expected. Unlike GestureDetector widgets, Listener widgets do not participate in the gesture arena and give you the raw pointer events.
@goderbauer thanks, that clarified situation
@goderbauer can you give an example showing how a GestureDetector with the behavior of HittestBehavior.translucent can be used?
And the docstring for translucent behavior needs to be more precise and also describe where it should or shouldn't be used.
The current explanation suggests it can be used anywhere.
Translucent targets both receive events within their bounds and permit targets visually behind them to also receive events.
| gharchive/issue | 2019-11-20T13:51:53 | 2025-04-01T06:44:11.958463 | {
"authors": [
"goderbauer",
"iapicca",
"mikepyts",
"phanirithvij",
"yjbanov"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/45253",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
532598627 | [Proposal]Can I include RouteSettings parameter in showGeneralDialog
Current implement is
Future<T> showGeneralDialog<T>({
@required BuildContext context,
@required RoutePageBuilder pageBuilder,
bool barrierDismissible,
String barrierLabel,
Color barrierColor,
Duration transitionDuration,
RouteTransitionsBuilder transitionBuilder,
}) {
assert(pageBuilder != null);
assert(!barrierDismissible || barrierLabel != null);
return Navigator.of(context, rootNavigator: true).push<T>(_DialogRoute<T>(
pageBuilder: pageBuilder,
barrierDismissible: barrierDismissible,
barrierLabel: barrierLabel,
barrierColor: barrierColor,
transitionDuration: transitionDuration,
transitionBuilder: transitionBuilder,
));
}
I would like to include RouteSettings, so that the NavigatorObserver can observer route changes better by RouteSettings.
The change can be
Future<T> showGeneralDialog<T>({
@required BuildContext context,
@required RoutePageBuilder pageBuilder,
bool barrierDismissible,
String barrierLabel,
Color barrierColor,
Duration transitionDuration,
RouteTransitionsBuilder transitionBuilder,
}) {
assert(pageBuilder != null);
assert(!barrierDismissible || barrierLabel != null);
return Navigator.of(context, rootNavigator: true).push<T>(_DialogRoute<T>(
pageBuilder: pageBuilder,
barrierDismissible: barrierDismissible,
barrierLabel: barrierLabel,
barrierColor: barrierColor,
transitionDuration: transitionDuration,
transitionBuilder: transitionBuilder,
settings: RouteSettings(name: 'GeneralDialog'), //<<---- change here
));
}
or
Future<T> showGeneralDialog<T>({
@required BuildContext context,
@required RoutePageBuilder pageBuilder,
bool barrierDismissible,
String barrierLabel,
Color barrierColor,
Duration transitionDuration,
RouteTransitionsBuilder transitionBuilder,
RouteSettings: settings, //<<---- change here
}) {
assert(pageBuilder != null);
assert(!barrierDismissible || barrierLabel != null);
return Navigator.of(context, rootNavigator: true).push<T>(_DialogRoute<T>(
pageBuilder: pageBuilder,
barrierDismissible: barrierDismissible,
barrierLabel: barrierLabel,
barrierColor: barrierColor,
transitionDuration: transitionDuration,
transitionBuilder: transitionBuilder,
settings: settings, //<<---- change here
));
}
Is this change ok, if ok, which one would be better?
You can do this now.
| gharchive/issue | 2019-12-04T10:43:23 | 2025-04-01T06:44:11.962228 | {
"authors": [
"goderbauer",
"jerryzhoujw"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/46071",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
546406513 | Flutter run web application says app is undefined
1- flutter run -d chrome
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following JSNoSuchMethodError was thrown building MyApp(dirty):
TypeError: Cannot read property 'app' of undefined
The relevant error-causing widget was:
MyApp org-dartlang-app:///packages/flutter_instagram/main.dart:8:23
When the exception was thrown, this was the stack:
package:firebase/src/top_level.dart 77:35 app$
package:firebase_auth_web/firebase_auth_web.dart 19:30 [_getAuth]
package:firebase_auth_web/firebase_auth_web.dart 196:32 onAuthStateChanged
package:firebase_auth/src/firebase_auth.dart 24:71 get onAuthStateChanged
package:flutter_instagram/main.dart 13:39 [_getScreenId]
package:flutter_instagram/main.dart 28:13 build
package:flutter/src/widgets/framework.dart 4291:28 build
package:flutter/src/widgets/framework.dart 4223:15 performRebuild
package:flutter/src/widgets/framework.dart 3947:5 rebuild
package:flutter/src/widgets/framework.dart 4206:5 [_firstBuild]
package:flutter/src/widgets/framework.dart 4201:5 mount
package:flutter/src/widgets/framework.dart 3194:13 inflateWidget
package:flutter/src/widgets/framework.dart 2988:12 updateChild
package:flutter/src/widgets/binding.dart 1028:16 [_rebuild]
package:flutter/src/widgets/binding.dart 999:5 mount
package:flutter/src/widgets/binding.dart 942:16 <fn>
package:flutter/src/widgets/framework.dart 2412:19 buildScope
package:flutter/src/widgets/binding.dart 941:12 attachToRenderTree
package:flutter/src/widgets/binding.dart 818:24 attachRootWidget
package:flutter/src/widgets/binding.dart 804:7 <fn>
package:dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 50:19 internalCallback
flutter run -d chrome --verbose
[ +13 ms] executing: [/home/bhaskar/flutter/] git -c log.showSignature=false log -n
1 --pretty=format:%H
[ +21 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[ ] 18cd7a3601bcffb36fdf2f679f763b5e827c2e8e
[ ] executing: [/home/bhaskar/flutter/] git describe --match v*.*.*
--first-parent --long --tags
[ +5 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v1.12.13+hotfix.6-0-g18cd7a360
[ +5 ms] executing: [/home/bhaskar/flutter/] git rev-parse --abbrev-ref --symbolic
@{u}
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] executing: [/home/bhaskar/flutter/] git ls-remote --get-url origin
[ +3 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +29 ms] executing: [/home/bhaskar/flutter/] git rev-parse --abbrev-ref HEAD
[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ +62 ms] executing: /home/bhaskar/Android/Sdk/platform-tools/adb devices -l
[ +5 ms] Exit code 0 from: /home/bhaskar/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
bf4a07f77d15 device usb:1-5 product:riva model:Redmi_5A
device:riva transport_id:1
[ +16 ms] Artifact Instance of 'AndroidMavenArtifacts' 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.
[ +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.
[ +14 ms] Found plugin cloud_firestore at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.0+1/
[ +5 ms] Found plugin firebase_analytics at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-5.0.9/
[ +1 ms] Found plugin firebase_auth at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.3/
[ +1 ms] Found plugin firebase_auth_web at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.1+1/
[ +1 ms] Found plugin firebase_core at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.3+1/
[ +1 ms] Found plugin firebase_core_web at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1/
[ +13 ms] Found plugin url_launcher at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.1/
[ ] Found plugin url_launcher_macos at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+2/
[ +1 ms] Found plugin url_launcher_web at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.0+2/
[ +16 ms] Found plugin cloud_firestore at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.0+1/
[ +2 ms] Found plugin firebase_analytics at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-5.0.9/
[ ] Found plugin firebase_auth at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.3/
[ +1 ms] Found plugin firebase_auth_web at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.1+1/
[ ] Found plugin firebase_core at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.3+1/
[ +1 ms] Found plugin firebase_core_web at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1/
[ +12 ms] Found plugin url_launcher at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.1/
[ ] Found plugin url_launcher_macos at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+2/
[ +1 ms] Found plugin url_launcher_web at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.0+2/
[ +25 ms] Generating
/home/bhaskar/Documents/learn/flutter/flutter_instagram/android/app/src/main/java/io/
flutter/plugins/GeneratedPluginRegistrant.java
[ +105 ms] Launching lib/main.dart on Chrome in debug mode...
[ ] Building application for the web...
[ +71 ms] Found plugin cloud_firestore at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.0+1/
[ +2 ms] Found plugin firebase_analytics at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-5.0.9/
[ ] Found plugin firebase_auth at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.3/
[ ] Found plugin firebase_auth_web at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.1+1/
[ ] Found plugin firebase_core at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.3+1/
[ +1 ms] Found plugin firebase_core_web at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1/
[ +7 ms] Found plugin url_launcher at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.1/
[ ] Found plugin url_launcher_macos at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+2/
[ ] Found plugin url_launcher_web at
/home/bhaskar/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.0+2/
[+5826 ms] Starting daemon...
[ +88 ms] Initializing inputs
[ +6 ms] Reading cached asset graph...
[ +129 ms] Reading cached asset graph completed, took 126ms
[ +119 ms] Checking for updates since last build...
[ +330 ms] Checking for updates since last build completed, took 330ms
[ +5 ms] Initializing inputs
[ +1 ms] Reading cached asset graph...
[ ] Reading cached asset graph completed, took 126ms
[ ] Checking for updates since last build...
[ ] Checking for updates since last build completed, took 330ms
[ +84 ms] Serving DevTools at http://127.0.0.1:36997
[ +495 ms] About to build [web]...
[ +4 ms] Running build...
[ +118 ms] Running build completed, took 57ms
[ ] Caching finalized dependency graph...
[ +4 ms] Caching finalized dependency graph completed, took 80ms
[ +4 ms] Succeeded after 143ms with 0 outputs (0 actions)
[ +7 ms] Building application for the web... (completed in 7.3s)
[ ] Attempting to connect to browser instance..
[+1867 ms] Debug service listening on ws://127.0.0.1:40717/wsSkWTkdNOk=
[ +302 ms] Failed to load asset at path:
packages/build_web_compilers/src/dev_compiler/dart_sdk.js.
Status code: 404
Headers:
{
"date": "Tue, 07 Jan 2020 17:11:52 GMT",
"content-length": "9",
"x-frame-options": "SAMEORIGIN",
"content-type": "text/plain; charset=utf-8",
"x-xss-protection": "1; mode=block",
"x-content-type-options": "nosniff",
"server": "dart:io with Shelf",
"via": "1.1 shelf_proxy"
}
Content:
Not Found}
[ +22 ms] Attempting to connect to browser instance.. (completed in 2.2s)
[ +1 ms] Warning: Flutter's support for web development is not stable yet and
hasn't
[ ] been thoroughly tested in production environments.
[ ] For more information see https://flutter.dev/web
[ +1 ms] 🔥 To hot restart changes while running, press "r". To hot restart (and
refresh the
browser), press "R".
[ +1 ms] For a more detailed help message, press "h". To quit, press "q".
[ +5 ms] Debug service listening on ws://127.0.0.1:40717/wsSkWTkdNOk=
[ +789 ms] ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY
╞═══════════════════════════════════════════════════════════
[ +3 ms] The following JSNoSuchMethodError was thrown building MyApp(dirty):
[ ] TypeError: Cannot read property 'app' of undefined
[ +1 ms] The relevant error-causing widget was:
[ ] MyApp org-dartlang-app:///packages/flutter_instagram/main.dart:8:23
[ ] When the exception was thrown, this was the stack:
[ ] package:firebase/src/top_level.dart 77:35
app$
[ ] package:firebase_auth_web/firebase_auth_web.dart 19:30
[_getAuth]
[ +2 ms] package:firebase_auth_web/firebase_auth_web.dart 196:32
onAuthStateChanged
[ ] package:firebase_auth/src/firebase_auth.dart 24:71
get
onAuthStateChanged
[ ] package:flutter_instagram/main.dart 13:39
[_getScreenId]
[ ] package:flutter_instagram/main.dart 28:13
build
[ ] package:flutter/src/widgets/framework.dart 4291:28
build
[ ] package:flutter/src/widgets/framework.dart 4223:15
performRebuild
[ ] package:flutter/src/widgets/framework.dart 3947:5
rebuild
[ ] package:flutter/src/widgets/framework.dart 4206:5
[_firstBuild]
[ ] package:flutter/src/widgets/framework.dart 4201:5
mount
[ ] package:flutter/src/widgets/framework.dart 3194:13
inflateWidget
[ ] package:flutter/src/widgets/framework.dart 2988:12
updateChild
[ ] package:flutter/src/widgets/binding.dart 1028:16
[_rebuild]
[ ] package:flutter/src/widgets/binding.dart 999:5
mount
[ ] package:flutter/src/widgets/binding.dart 942:16
<fn>
[ ] package:flutter/src/widgets/framework.dart 2412:19
buildScope
[ ] package:flutter/src/widgets/binding.dart 941:12
attachToRenderTree
[ ] package:flutter/src/widgets/binding.dart 818:24
attachRootWidget
[ ] package:flutter/src/widgets/binding.dart 804:7
<fn>
[ ] package:dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart
50:19
internalCallback
[ ]
flutter doctor
[✓] Flutter (Channel beta, v1.12.13+hotfix.6, on Linux, locale en_GB.UTF-8)
• Flutter version 1.12.13+hotfix.6 at /home/bhaskar/flutter
• Framework revision 18cd7a3601 (4 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/bhaskar/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /home/bhaskar/Android/Sdk
• Java binary at: /home/bhaskar/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/bhaskar/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (3 available)
• Redmi 5A • bf4a07f77d15 • android-arm64 • Android 8.1.0 (API 27)
• Chrome • chrome • web-javascript • Google Chrome 79.0.3945.88
• Web Server • web-server • web-javascript • Flutter Tools
! Doctor found issues in 1 category.
MyApp org-dartlang-app:///packages/flutter_instagram/main.dart:8:23
This is the code where this error is coming from, without it we won't be able to help
@bhaskar-nair2
I hope you've solved the issue.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, minimal reproducible sample code (if related), logs and the output of 'flutter doctor -v' please.
| gharchive/issue | 2020-01-07T17:18:39 | 2025-04-01T06:44:11.970058 | {
"authors": [
"VladyslavBondarenko",
"bhaskar-nair2",
"jonahwilliams"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/48313",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
549702767 | Enable Observatory timeline on Fuchsia
https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=44063.
The destination of timeline/trace events coming from either Dart code or the Dart VM is selected at start up with the VM flag --timeline-recorder. The value "systrace" will forward events to Fuchsia's system tracing. The values "ring" (remove oldest event when full), "startup" (drop new events after full), and "endless" (grow without bound) will keep the events in the VM itself, where they can later be accessed with the VM service through Observatory or other tools. The VM does not provide a way to simultaneously keep events in its own buffer and forward them to the system tracing.
Unconditionally enabling --timeline-recorder=systrace on Fuchsia should be quite cheap, because the Dart VM will bail out quickly when generating events if the Fuchsia tracing system indicates that a trace category is not enabled.
Closed upstream.
| gharchive/issue | 2020-01-14T17:08:44 | 2025-04-01T06:44:11.973522 | {
"authors": [
"kf6gpe",
"rmacnak-google"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/48819",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
562659879 | Dark mode on web
Dark mode on web would be really useful.
Querying it using MediaQuery.of(context).platformBrightness could use code like this:
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
// dark mode
}
The web does support dart mode though
See https://github.com/flutter/engine/pull/12335
@jld3103
Closing the issue
if you disagree please write in the comments and I will reopen it.
Thank you
Ah I see. Thanks
It works like expected, but sometimes it doesn't work and the app uses the light theme. I'll try to find a pattern
| gharchive/issue | 2020-02-10T16:01:39 | 2025-04-01T06:44:11.976495 | {
"authors": [
"VladyslavBondarenko",
"jld3103",
"jonahwilliams"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/50471",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
574982380 | add screenshot capability to e2e integration tests
add screenshot capability to e2e web integration tests.
These screenshots should be easy to trigger from the widget tests, but should be taken on the platform (by the browser's driver).
Discussed this offline, but we'd want this available for all platforms - that said, if we start with web first that's fine.
Since I also added this issue to TODO for mobile screenshot capability, I'm renaming it and changing the milestone. PR #2904 adds the capability for web.
@dnfield I merged the web PR. I'm leaving this issue open for the mobile part.
@nturgut are screenshots for mobile being actively worked on? Any idea as to when this feature would be ready?
@nturgut are screenshots for mobile being actively worked on? Any idea as to when this feature would be ready?
I'm joining to @smkhalsa question :)
I'm joining to @smkhalsa question :)
@dnfield It would be nice to be available for mobile as the only library used for the driver is outdated
https://pub.dev/packages/screenshots
@dnfield It would be nice to be available for mobile as the only library used for the driver is outdated
https://pub.dev/packages/screenshots
Any updates on this or maybe a timeline for when this will be available? Screenshots are such a hassle so this would have so great to have.
I don't know about for web, but maybe on other platforms, it's already possible on one of the flutter channels, with https://api.flutter.dev/flutter/flutter_driver/FlutterDriver/screenshot.html.
I think I saw it working on flutter channel dev, I don't recall if it doesn't work on flutter channel stable.
@zakton5 what is your current workaround please? is it the outdatd plugin that looks snazzy but has a lot of dependencies and relative complexity/rampup?
@dnfield @nturgut @kf6gpe @darshankawar @amorenew any updates please?
any further information on screenshot capabilities?
Looks to me like screenshots are now supported on android? https://github.com/flutter/flutter/pull/84472 Is there some master issue tracking platform specific implementations? 🤔️
For Android it's actually working but you need to call the method binding.convertFlutterSurfaceToImage(); before creating the actual screenshot (more info here, remember to delete the .ensureInitialized string).
Although, there should be a "reverse" method in order to continue with the e2e test, if you need for instance an intermediate screenshot, otherwise you get "Surface already converted to an image".
Besides, this can be applied only to the flutter drive command, but not to the gradlew approach if I'm not mistaken.
Thanks for your answer!
Ive already seen the link before but it turns out that the function convertFlutterSurfaceToImage() is not implemented for me. Even though I got the latest version of integration_test. It is really odd. I even cant find it in the doc of IntegrationTestWigdetsFlutterBinding here.
Any idea on that?
I think you need to checkout the dev branch from the flutter repo, it's not
yet released as neither stable nor beta
Il mer 11 ago 2021, 12:14 mathtasatlime @.***> ha
scritto:
Thanks for your answer!
Ive already seen the link before but it turns out that the function
convertFlutterSurfaceToImage() is not implemented for me. Even though I got
the latest version of integration_test. It is really odd. I even cant find
it in the doc of IntegrationTestWigdetsFlutterBinding here
https://api.flutter.dev/flutter/package-integration_test_integration_test/IntegrationTestWidgetsFlutterBinding-class.html
.
Any idea on that?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/51890#issuecomment-896696708,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AITH4USNAM6Z7EI2VISJHVDT4JEOZANCNFSM4LAUL5DA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.
any news about this, if I try to run this on my android emulator:
/══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ I/flutter ( 6240): The following UnimplementedError was thrown running a test: I/flutter ( 6240): Screenshots are not implemented on this platform I/flutter ( 6240): I/flutter ( 6240): When the exception was thrown, this was the stack: I/flutter ( 6240): #0 IOCallbackManager.takeScreenshot (package:integration_test/_callback_io.dart:59:5) I/flutter ( 6240): #1 IntegrationTestWidgetsFlutterBinding.takeScreenshot (package:integration_test/integration_test.dart:165:27)
https://github.com/flutter/flutter/blob/stable/packages/integration_test/lib/integration_test.dart
If I can see well, they added it to the stable channel, I will give it a try to see if it actually works as expected.
@radikris have you tried it already? Is it working as expected?
@NickKibish integration_test native plugin is not being correctly registered unless running tests via XCTest, like when running via flutter drive or flutter test #91668
@NickKibish did you resolve your issue? I'm facing the same thing.
@BouweCeunen some kind of that.
As @tritao mentioned in #91668, you can slightly modify IntegrationTestPlugin.m and that fixed issue on iOS for me.
So currently I keep 'modified' copy of flatter (master channel) just to run Integration tests and take screenshots.
Need this screenshot functionality badly for mobile (android)
await binding.convertFlutterSurfaceToImage();
await binding.takeScreenshot('screenshot');
I'm getting PlatformException(Could not copy the pixels, FlutterView is null, null, null) in android.
Hi,
I want to add to this the need to be able to store screenshot without having to use a custom driver. Now I can get screenshots only if I invoke the tests with flutter drive using this driver code:
import 'dart:io';
import 'package:integration_test/integration_test_driver_extended.dart';
Future<void> main() async {
try {
await integrationDriver(
onScreenshot: (screenshotName, screenshotBytes) async {
final File image = await File('screenshots/$screenshotName.png')
.create(recursive: true);
image.writeAsBytesSync(screenshotBytes);
return true;
},
);
} catch (e) {
print('Error occured taking screenshot: $e');
}
}
and I get nothing if I use `flutter test´. Not a big issue when running locally but we want to generate screenshots as part of a Firebase Test Lab run and that is currently not possible since we cannot (or at least I didn't find a way) use a custom drivers there.
Any update on this as this bug is the only thing preventing me from using the newer test command of flutter and instead rely on driver tests/
Can this be marked as priority 1(P1)?
Is there any update on this? Would love to take screenshot while running flutter test instead of flutter drive Thanks
@ckxddd0324 although not official you can refer to this comment to do it today in unit testing and integration testing. I might have a github example somewhere too.
re: this post, as of 2024-01 things have changed on the integrationDriver, as driver needs to be passed in now.
I've modified a solution I found on SO that finally works, it has been a trudge trying to find this, this would be a good example to have in integration_test/
The SO was based on example from flutter integration_test with driver:
https://github.com/flutter/flutter/tree/master/packages/integration_test/example
Update the driver to handle onScreenshot and save it to disk (or upload to s3, push to API, or whatever...)
In your test file, use the integration test binding to take a screenshot.
run flutter drive against the device you want the screenshot to be taken.
// test_driver/foo_test.dart
import 'dart:io';
import 'package:flutter_driver/flutter_driver.dart';
import 'package:integration_test/integration_test_driver_extended.dart';
Future<void> main() async {
final FlutterDriver driver = await FlutterDriver.connect();
await integrationDriver(
driver: driver,
onScreenshot: (String screenshotName, List<int> screenshotBytes) async {
final File image =
await File(screenshotName).create(recursive: true);
image.writeAsBytesSync(screenshotBytes);
return true;
},
);
}
// integration_test/bar_test.dart
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:you_app/main.dart';
void main() {
final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized()
as IntegrationTestWidgetsFlutterBinding;
testWidgets('screenshot', (WidgetTester tester) async {
await tester.pumpWidget(const MyApp());
await tester.pumpAndSettle();
await binding.convertFlutterSurfaceToImage();
await tester.pumpAndSettle();
await binding.takeScreenshot('screenshots/screenshot.png');
}
}
// then run
flutter drive --driver=test_driver/foo_test.dart --target integration_test/bar_test.dart --device_id <emulator_id>
With this base, it seems possible to write an integration test to navigate your app and generate the screenshots you'll need for app stores.
Shouldn't be an issue make a script to hanlde this for all devices required by the app stores.
@ckxddd0324 although not official you can refer to this comment to do it today in unit testing and integration testing. I might have a github example somewhere too. It will print a base64 string of the screenshot that you can then convert.
Useful in unit testing to find what overflows.
Hello @cedvdb do you have an example? I have tried that, it seems not working for me.
ave in integration_test/
The SO was based on example from flutter integration_test with driver: https://github.com/flutter/flutter/tree/master/packages/integration_test/example
Update the driver to handle onScreenshot and save it to disk (or upload to s3, push to API, or whatever...)
In your test file, use the integration test binding to take a screenshot.
run flutter drive against the device you want the screenshot to be taken.
// test_driver/foo_test.dart
import 'dart:io';
import 'package:flutter_driver/flutter_driver.dart';
import 'package:integration_test/integration_test_driver_extended.dart';
Future<void> main() async {
final FlutterDriver driver = await FlutterDriver.connect();
await integrationDriver(
driver: driver,
onScreenshot: (String screenshotName, List<int> screenshotBytes) async {
final File image =
await File(screenshotName).create(recursive: true);
image.writeAsBytesSync(screenshotBytes);
return true;
},
);
}
// integration_test/bar_test.dart
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:you_app/main.dart';
void main() {
final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized()
as IntegrationTestWidgetsFlutterBinding;
testWidgets('screenshot', (WidgetTester tester) async {
await tester.pumpWidget(const MyApp());
await tester.pumpAndSettle();
await binding.convertFlutterSurfaceToImage();
await tester.pumpAndSettle();
await binding.takeScreenshot('screenshots/screenshot.png');
}
}
// then run
flutter drive --driver=test_driver/foo_test.dart --target integration_test/bar_test.dart --device_id <emulator_id>
With this base, it seems possible to write an integration test to navigate your app and generate the screenshots you'll need for app stores.
Shouldn't be an issue make a script to hanlde this for all devices required by the app stores.
I can't migrate to the new integration test package because I need to take screenshots, so I'm stuck using the old flutter driver. My code looks like this, I'm wondering how I can perform async work to initialize my app using the old package. Could someone help?
Any updates?
+1
I put the snippet I wrote above in a small packages to take screenshots during unit tests https://pub.dev/packages/test_screenshot/versions/0.0.3
| gharchive/issue | 2020-03-03T22:06:42 | 2025-04-01T06:44:12.007976 | {
"authors": [
"BouweCeunen",
"HubertArciszewski95",
"KevinGong2013",
"MichalDanielDobrzanski",
"NickKibish",
"Nirajn2311",
"ShahrearBinAmin",
"a-wallen",
"amorenew",
"bradyt",
"cedvdb",
"ckxddd0324",
"dnfield",
"hpoul",
"kradi26",
"lhimo",
"mathtasatlime",
"neiljaywarner",
"nturgut",
"ousvat",
"radikris",
"robertof-wolt",
"smkhalsa",
"sonjz",
"zakton5"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/51890",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
578052478 | Padding inside Table
Use case
There's no way to add spacing between TableRows. You can't just wrap TableRows with Padding because it will lead to additional padding to the top and bottom of Table.
Proposal
It'd be great if you'll add a rowSpacing property to the Table class.
I guess this issue should be closed now as a result of discussion in #63322.
@goderbauer
can we close this issue?
| gharchive/issue | 2020-03-09T16:59:15 | 2025-04-01T06:44:12.011257 | {
"authors": [
"Abhishek01039",
"chinmoy12c",
"egprojects"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/52248",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
615323383 | Unhandled Exception: Invalid argument(s) in iPhone
pubspec.yaml
version: 2.1.60+20160
Info.plist
<key>CFBundleShortVersionString</key>
<string>2.1.60</string>
<key>CFBundleVersion</key>
<string>20160</string>
iPhone get the below error.
Future<void> _initPackageInfo() async {
final PackageInfo info = await PackageInfo.fromPlatform();
setState(() {
_packageInfo = info;
});
print('App name: ' + _packageInfo.appName); <- error
print('Package name: ' + _packageInfo.packageName);
print('App version: ' + _packageInfo.version);
print('Build number: ' + _packageInfo.buildNumber);
}
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: Invalid argument(s)
#0 _StringBase.+ (dart:core-patch/string_patch.dart:262:57)
#1 _LoginScreenState._initPackageInfo (package:flutterapp/screens/scr_login.dart:128:28)
Hi @wann2
can you please provide your flutter doctor -v ,
your flutter run --verbose
and your full pubspec.yaml
or if possible a reproducible minimal code sample.
Thank you
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.
| gharchive/issue | 2020-05-10T05:53:21 | 2025-04-01T06:44:12.014759 | {
"authors": [
"TahaTesser",
"iapicca",
"wann2"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/56815",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
632616316 | Empty space on PopupMenuButton
please provide the option to remove this empty space at the beginning and end of PopupMenuButton
Widget _offsetPopup() => PopupMenuButton(
itemBuilder: (context) => [
PopupMenuItem(
value: 1,
child: Text(
'Delete',
style: TextStyle(color: Colors.black),
),
),
],
elevation: 7,
padding: EdgeInsets.symmetric(horizontal: 0),
child: Container(
height: 20,
width: 20,
child: Icon(Icons.more_vert),
),
offset: Offset(0, 40),
onSelected: (result) {
// confirmDeletePerson();
},
);
Custom padding options are needed
Closing as duplicate of https://github.com/flutter/flutter/issues/57110
@TahaTesser hello! So there no way to rid of this except modifying popupMenuButton?
Looks like there is not option. @TahaTesser. Can this be re open, looks like it is a common request.
@kinton @edwin-alvarez
https://github.com/flutter/flutter/issues/57110 this issue already raised it, need for custom padding. There is no other option as far as i know
| gharchive/issue | 2020-06-06T17:39:55 | 2025-04-01T06:44:12.020125 | {
"authors": [
"TahaTesser",
"edwin-alvarez",
"kinton"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/58873",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
647619472 | Firestore Throw Handle Exception Error crash
Hello, this is my first time creating an issue on GitHub, so please let me know if I'm doing this correctly or even posting this in the correct place.
My app keeps crashing after submitting a comment. I believe the crash is occurring when Firebase goes to retrieve the comment data to display it. This only happens when trying to submit a comment. It doesn't happen when I post a photo or like any post. So I can't figure out why I'm only having a Firestore issue there.
Here's my Flutter configuration:
(base) Indigos-MacBook-Pro:buddies_gram indigoguerra$ flutter doctor -v
[✓] Flutter (Channel stable, v1.17.4, on Mac OS X 10.15 19A603, locale en-US)
• Flutter version 1.17.4 at /Users/indigoguerra/Documents/flutter
• Framework revision 1ad9baa8b9 (12 days ago), 2020-06-17 14:41:16 -0700
• Engine revision ee76268252
• Dart version 2.8.4
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/indigoguerra/Library/Android/sdk
• Platform android-29, build-tools 28.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_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.1, Build version 11A1027
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 43.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.45.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.11.0
[✓] Connected device (2 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
• iPhone 11 Pro Max • B133739C-30C8-4C46-A545-7E94D7BAB5A4 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
• No issues found!
Here's my pubspec.yaml dependencies:
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cloud_firestore: ^0.13.7
image: ^2.0.7
animator: 0.1.4
image_picker: ^0.6.0+2
google_sign_in: ^4.0.1+1
timeago: 2.0.17
cached_network_image:
firebase_auth: ^0.16.1
geolocator: 5.0.1
uuid: ^2.0.0
cupertino_icons: ^0.1.2
path_provider: ^0.5.0+1
firebase_messaging: ^4.0.0+1
firebase_storage: ^3.1.6
flutter_image_compress: ^0.6.8
image_cropper: ^1.2.2
flutter_svg:
This is the error I get:
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23baa1ee __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff50864b20 objc_exception_throw + 48
2 Runner 0x00000001067317b5 _ZN8firebase9firestore4util16ObjcThrowHandlerENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 581
3 Runner 0x0000000106730cf3 _ZN8firebase9firestore4util5ThrowENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 67
4 Runner <…>
This is the function that saves the comment:
saveComment(){
commentsReference.document(postId).collection("comments").add({
"username": currentUser.username,
"comment": commentTextEditingController.text,
"timestamp": DateTime.now(),
"url": currentUser.url,
"userId": currentUser.id,
});
bool isNotPostOwner = postOwnerId != currentUser.id;
if(isNotPostOwner) {
activityFeedReference.document(postOwnerId).collection("feedItems").add({
"type": "comment",
"commentDate": timestamp,
"postId": postId,
"userId": currentUser.id,
"username": currentUser.username,
"userProfileImg": currentUser.url,
"url": postImageUrl,
});
}
commentTextEditingController.clear();
}
Can someone please help me resolve this issue?
Please run the app using 'flutter run --verbose' and paste the full error messag.
Here it is:
(base) Indigos-MacBook-Pro:buddies_gram indigoguerra$ flutter run --verbose
[ +24 ms] executing: [/Users/indigoguerra/Documents/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +58 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 1ad9baa8b99a2897c20f9e6e54d3b9b359ade314
[ ] executing: [/Users/indigoguerra/Documents/flutter/] git tag --contains HEAD
[ +427 ms] Exit code 0 from: git tag --contains HEAD
[ +3 ms] 1.17.4
[ +16 ms] executing: [/Users/indigoguerra/Documents/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +19 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [/Users/indigoguerra/Documents/flutter/] git ls-remote --get-url origin
[ +14 ms] Exit code 0 from: git ls-remote --get-url origin
[ +1 ms] https://github.com/flutter/flutter.git
[ +125 ms] executing: [/Users/indigoguerra/Documents/flutter/] git rev-parse --abbrev-ref HEAD
[ +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +36 ms] Artifact Instance of 'AndroidMavenArtifacts' 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.
[ +3 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.
[ +27 ms] executing: /Users/indigoguerra/Library/Android/sdk/platform-tools/adb devices -l
[ +14 ms] executing: /usr/bin/xcode-select --print-path
[ +18 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[ +1 ms] /Applications/Xcode.app/Contents/Developer
[ +2 ms] executing: /usr/bin/xcodebuild -version
[+1171 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[ ] Xcode 11.1
Build version 11A1027
[ +2 ms] executing: xcrun --find xcdevice
[ +11 ms] Exit code 0 from: xcrun --find xcdevice
[ ] /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice
[ ] executing: xcrun xcdevice list --timeout 2
[ +4 ms] /usr/bin/xcrun simctl list --json devices
[ ] executing: /usr/bin/xcrun simctl list --json devices
[ +49 ms] List of devices attached
emulator-5554 device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:5
[ +226 ms] {
"devices" : {
"com.apple.CoreSimulator.SimRuntime.tvOS-12-0" : [
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple TV",
"udid" : "4A5741F0-18A2-48A4-9070-2ADE13657366",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple TV 4K",
"udid" : "FB826D0D-5612-45D9-8CB5-15458F22586D",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple TV 4K (at 1080p)",
"udid" : "1F92315C-D697-4F53-A9F1-B0CF58B1F9AA",
"availabilityError" : "runtime profile not found"
}
],
"com.apple.CoreSimulator.SimRuntime.iOS-12-0" : [
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 5s",
"udid" : "CB32B6FF-0B1F-4DF3-AF8E-55F0A4EBC607",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 6 Plus",
"udid" : "EFBF387D-4315-46CF-9E30-75FE73A2588E",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 6",
"udid" : "272925C7-BF88-4EA7-BAD1-0915CCEAC397",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 6s",
"udid" : "843CAA8A-32EF-44DB-8E2B-D27C67FC8483",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 6s Plus",
"udid" : "895E9D24-17B6-4674-94E9-8BC6E96E72DB",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone SE",
"udid" : "1E96AE0A-BCA6-4A0C-9005-39C0EEA2C49F",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 7",
"udid" : "52B9BDF5-E2BD-4F58-81BF-5CA31718C0E7",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 7 Plus",
"udid" : "3D5F9E76-4D02-483D-AB02-D13B4B26A0F1",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 8",
"udid" : "7CF0B313-F99F-46AB-9959-0BCB2DEC36D7",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 8 Plus",
"udid" : "8754D808-45A8-4182-86C8-8E207E64DEA1",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone X",
"udid" : "A9E60997-68EC-4D37-9183-68B4CD987DCE",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone XS",
"udid" : "9DC7486F-5EC5-4A4E-A0C9-981C1953F3A9",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone XS Max",
"udid" : "A0EEE240-3415-41A4-BB09-F9865A0FC9E5",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone XR",
"udid" : "CE6B3CF1-7035-41D5-95DA-F8A7625AB889",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Air",
"udid" : "6C9781B6-B304-4497-B6A1-24DB5B16D217",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Air 2",
"udid" : "3816A808-8CE3-492B-AC35-1A9510C054C0",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (9.7-inch)",
"udid" : "0AC37221-6FEC-4DC7-B988-3F44674F9219",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (12.9-inch)",
"udid" : "CFD34533-53C5-4E6F-9798-E3541E480929",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad (5th generation)",
"udid" : "8471420B-F841-4C90-90F7-3D3CADE0EC28",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (12.9-inch) (2nd generation)",
"udid" : "9A7BCAF8-5F5C-4B27-8217-044D114444A9",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (10.5-inch)",
"udid" : "971AE5E5-F505-4365-9FF8-7FB1709E7CD0",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad (6th generation)",
"udid" : "E961D86B-C846-411C-A9AE-EC9E306A0BF4",
"availabilityError" : "runtime profile not found"
}
],
"com.apple.CoreSimulator.SimRuntime.tvOS-12-1" : [
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple TV",
"udid" : "D6E1C8FE-438C-4568-84B3-2F63B7827D1E",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple TV 4K",
"udid" : "7BFE675F-B07E-4DE0-8F7B-82E52AD1A82A",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple TV 4K (at 1080p)",
"udid" : "A541DBA3-D6AC-40DD-815C-57FB1134B009",
"availabilityError" : "runtime profile not found"
}
],
"com.apple.CoreSimulator.SimRuntime.iOS-13-1" : [
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPhone 8",
"udid" : "64AC3245-08E3-46BA-AFC7-B27F36BABCD8"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPhone 8 Plus",
"udid" : "EBE35040-49E3-4350-BF62-3364F4E05F52"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPhone 11",
"udid" : "031298A9-59F6-4D43-A5EB-7B735F2FAF06"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPhone 11 Pro",
"udid" : "1892D88E-DCFD-4DD9-B49A-F1C91EA35199"
},
{
"state" : "Booted",
"isAvailable" : true,
"name" : "iPhone 11 Pro Max",
"udid" : "B133739C-30C8-4C46-A545-7E94D7BAB5A4"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPad Pro (9.7-inch)",
"udid" : "F40493EA-E07F-4B33-B693-8B788130F0D1"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPad Pro (11-inch)",
"udid" : "62C24AAD-E061-4D85-B0ED-800A115805DE"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPad Pro (12.9-inch) (3rd generation)",
"udid" : "7CC96BE1-2CC5-4A71-8E61-4EBA5D4CDF1C"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPad Air (3rd generation)",
"udid" : "11D3055D-B197-4966-8CD0-EACE823A33CD"
}
],
"com.apple.CoreSimulator.SimRuntime.watchOS-6-0" : [
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "Apple Watch Series 4 - 40mm",
"udid" : "E5AA8C9F-C275-433C-9B48-5FB798F051D0"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "Apple Watch Series 4 - 44mm",
"udid" : "216C4FBA-A492-475B-9BE7-C9D497373FF1"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "Apple Watch Series 5 - 40mm",
"udid" : "C7AF4209-FFD4-47BE-BA17-C4687AA92191"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "Apple Watch Series 5 - 44mm",
"udid" : "4B4F47E5-9431-47DE-BA88-3B56316DCA6E"
}
],
"com.apple.CoreSimulator.SimRuntime.tvOS-13-0" : [
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "Apple TV",
"udid" : "E82BF5B2-4D8A-452C-BDDE-F3486EC3AE21"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "Apple TV 4K",
"udid" : "148CD638-4B40-4BF5-BEDE-F9001D585791"
},
{
"state" : "Shutdown",
"isAvailable" : true,
"name" : "Apple TV 4K (at 1080p)",
"udid" : "689C6DD6-F151-41FD-A739-2C297F190FD1"
}
],
"com.apple.CoreSimulator.SimRuntime.watchOS-5-1" : [
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 2 - 38mm",
"udid" : "C219B8AD-4BBD-418D-825D-1BC02455E583",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 2 - 42mm",
"udid" : "232924E2-8420-4839-B701-F4E3EE1D8DD4",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 3 - 38mm",
"udid" : "E2C9ADBC-5712-479F-A15F-205EAC616568",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 3 - 42mm",
"udid" : "125B3F7B-757E-4306-8ABB-2D25B9C04D1A",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 4 - 40mm",
"udid" : "D71F92D0-AA72-465C-A373-FCE34E9BC464",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 4 - 44mm",
"udid" : "57BB5159-99A2-4BAA-8606-5D9E5C9B5F7E",
"availabilityError" : "runtime profile not found"
}
],
"com.apple.CoreSimulator.SimRuntime.iOS-12-1" : [
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 5s",
"udid" : "A9DFFD63-8C19-4992-B0B4-3ED5083E733F",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 6 Plus",
"udid" : "95D0F6ED-213A-4321-85AD-8857DFA1C67C",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 6",
"udid" : "C1E2C703-00DD-4C77-9B72-E989DE080EA6",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 6s",
"udid" : "42A923A5-CB73-43E6-84EB-63A63C85A4D0",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 6s Plus",
"udid" : "F120DA89-84B5-4819-8925-712BEEC68CB3",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone SE",
"udid" : "90357D33-2500-40C9-82F1-133E5CDBE4B5",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 7",
"udid" : "923A85FC-7D80-4240-9269-1BA55347B0AB",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 7 Plus",
"udid" : "DEB97D16-1F30-43AE-9E55-FEC20230114F",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 8",
"udid" : "70F33722-252F-4C2D-9DF5-613443EE7CF3",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone 8 Plus",
"udid" : "E2835FFA-AA41-4FD7-8463-4759173075A1",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone X",
"udid" : "43B87F9E-9D25-4DAD-9E61-0EA1C8849940",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone XS",
"udid" : "4C26533F-97D6-41BA-B433-BB82DCD8AC8D",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone XS Max",
"udid" : "F0BDAD2E-07F4-4AE3-AD11-0ADB0E39F9D0",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPhone XR",
"udid" : "00CE5CAC-1729-46EC-BBAB-6ABD1A60FBC4",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Air",
"udid" : "6BCE6498-DF5B-4DCA-9041-8910AD2D8FB4",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Air 2",
"udid" : "C21BC8F2-3211-4ECC-805E-71582B939BD1",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (9.7-inch)",
"udid" : "2DA5213E-5D35-4BC0-9B66-8732F643AC4A",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (12.9-inch)",
"udid" : "27B07E78-C80C-41AA-85D2-F7DA8558F54C",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad (5th generation)",
"udid" : "0357ECE3-3951-417D-97A1-FF361BA2663E",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (12.9-inch) (2nd generation)",
"udid" : "DC4BAB3A-3F88-4E43-983A-3F90DC8E1D99",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (10.5-inch)",
"udid" : "4B4A9856-22B5-4C30-A071-FBEB941E33E4",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad (6th generation)",
"udid" : "441CCE33-F032-42D8-9E58-05E9578A733F",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (11-inch)",
"udid" : "332E61A8-9991-4AB2-B960-6BAC8EFA5C59",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "iPad Pro (12.9-inch) (3rd generation)",
"udid" : "B3877DF8-B343-4795-A6E5-07423B6F11A0",
"availabilityError" : "runtime profile not found"
}
],
"com.apple.CoreSimulator.SimRuntime.watchOS-5-0" : [
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 2 - 38mm",
"udid" : "74CBDCC4-D856-4E45-A9C0-F00E9208E25C",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 2 - 42mm",
"udid" : "E69FFFCA-9C7A-4099-968C-56649376DB2B",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 3 - 38mm",
"udid" : "E69AC8A5-9943-4470-ACF0-8331F06E5FFA",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 3 - 42mm",
"udid" : "F1B46429-17DE-4EB0-A546-A77483B85C1B",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 4 - 40mm",
"udid" : "5F14E181-A76D-4A4C-A6E6-7B2FDEFC48AE",
"availabilityError" : "runtime profile not found"
},
{
"state" : "Shutdown",
"isAvailable" : false,
"name" : "Apple Watch Series 4 - 44mm",
"udid" : "DA390BAD-C1D0-4C55-B6F5-DADE39E7741A",
"availabilityError" : "runtime profile not found"
}
]
}
}
[+3412 ms] [
{
"simulator" : true,
"operatingSystemVersion" : "13.1 (17A844)",
"available" : true,
"platform" : "com.apple.platform.iphonesimulator",
"modelCode" : "iPhone10,5",
"identifier" : "EBE35040-49E3-4350-BF62-3364F4E05F52",
"architecture" : "x86_64",
"modelName" : "iPhone 8 Plus",
"name" : "iPhone 8 Plus"
},
{
"simulator" : true,
"operatingSystemVersion" : "6.0 (17R575)",
"available" : true,
"platform" : "com.apple.platform.watchsimulator",
"modelCode" : "Watch5,4",
"identifier" : "4B4F47E5-9431-47DE-BA88-3B56316DCA6E",
"architecture" : "i386",
"modelName" : "Apple Watch Series 5 - 44mm",
"name" : "Apple Watch Series 5 - 44mm"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.0 (17J585)",
"available" : true,
"platform" : "com.apple.platform.appletvsimulator",
"modelCode" : "AppleTV6,2",
"identifier" : "689C6DD6-F151-41FD-A739-2C297F190FD1",
"architecture" : "x86_64",
"modelName" : "Apple TV 4K (at 1080p)",
"name" : "Apple TV 4K (at 1080p)"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.0 (17J585)",
"available" : true,
"platform" : "com.apple.platform.appletvsimulator",
"modelCode" : "AppleTV5,3",
"identifier" : "E82BF5B2-4D8A-452C-BDDE-F3486EC3AE21",
"architecture" : "x86_64",
"modelName" : "Apple TV",
"name" : "Apple TV"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.1 (17A844)",
"available" : true,
"platform" : "com.apple.platform.iphonesimulator",
"modelCode" : "iPad8,1",
"identifier" : "62C24AAD-E061-4D85-B0ED-800A115805DE",
"architecture" : "x86_64",
"modelName" : "iPad Pro (11-inch)",
"name" : "iPad Pro (11-inch)"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.1 (17A844)",
"available" : true,
"platform" : "com.apple.platform.iphonesimulator",
"modelCode" : "iPhone12,1",
"identifier" : "031298A9-59F6-4D43-A5EB-7B735F2FAF06",
"architecture" : "x86_64",
"modelName" : "iPhone 11",
"name" : "iPhone 11"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.1 (17A844)",
"available" : true,
"platform" : "com.apple.platform.iphonesimulator",
"modelCode" : "iPhone10,4",
"identifier" : "64AC3245-08E3-46BA-AFC7-B27F36BABCD8",
"architecture" : "x86_64",
"modelName" : "iPhone 8",
"name" : "iPhone 8"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.1 (17A844)",
"available" : true,
"platform" : "com.apple.platform.iphonesimulator",
"modelCode" : "iPad8,5",
"identifier" : "7CC96BE1-2CC5-4A71-8E61-4EBA5D4CDF1C",
"architecture" : "x86_64",
"modelName" : "iPad Pro (12.9-inch) (3rd generation)",
"name" : "iPad Pro (12.9-inch) (3rd generation)"
},
{
"simulator" : true,
"operatingSystemVersion" : "6.0 (17R575)",
"available" : true,
"platform" : "com.apple.platform.watchsimulator",
"modelCode" : "Watch4,4",
"identifier" : "216C4FBA-A492-475B-9BE7-C9D497373FF1",
"architecture" : "i386",
"modelName" : "Apple Watch Series 4 - 44mm",
"name" : "Apple Watch Series 4 - 44mm"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.1 (17A844)",
"available" : true,
"platform" : "com.apple.platform.iphonesimulator",
"modelCode" : "iPad6,4",
"identifier" : "F40493EA-E07F-4B33-B693-8B788130F0D1",
"architecture" : "x86_64",
"modelName" : "iPad Pro (9.7-inch)",
"name" : "iPad Pro (9.7-inch)"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.1 (17A844)",
"available" : true,
"platform" : "com.apple.platform.iphonesimulator",
"modelCode" : "iPad11,3",
"identifier" : "11D3055D-B197-4966-8CD0-EACE823A33CD",
"architecture" : "x86_64",
"modelName" : "iPad Air (3rd generation)",
"name" : "iPad Air (3rd generation)"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.0 (17J585)",
"available" : true,
"platform" : "com.apple.platform.appletvsimulator",
"modelCode" : "AppleTV6,2",
"identifier" : "148CD638-4B40-4BF5-BEDE-F9001D585791",
"architecture" : "x86_64",
"modelName" : "Apple TV 4K",
"name" : "Apple TV 4K"
},
{
"simulator" : true,
"operatingSystemVersion" : "6.0 (17R575)",
"available" : true,
"platform" : "com.apple.platform.watchsimulator",
"modelCode" : "Watch4,3",
"identifier" : "E5AA8C9F-C275-433C-9B48-5FB798F051D0",
"architecture" : "i386",
"modelName" : "Apple Watch Series 4 - 40mm",
"name" : "Apple Watch Series 4 - 40mm"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.1 (17A844)",
"available" : true,
"platform" : "com.apple.platform.iphonesimulator",
"modelCode" : "iPhone12,5",
"identifier" : "B133739C-30C8-4C46-A545-7E94D7BAB5A4",
"architecture" : "x86_64",
"modelName" : "iPhone 11 Pro Max",
"name" : "iPhone 11 Pro Max"
},
{
"simulator" : true,
"operatingSystemVersion" : "13.1 (17A844)",
"available" : true,
"platform" : "com.apple.platform.iphonesimulator",
"modelCode" : "iPhone12,3",
"identifier" : "1892D88E-DCFD-4DD9-B49A-F1C91EA35199",
"architecture" : "x86_64",
"modelName" : "iPhone 11 Pro",
"name" : "iPhone 11 Pro"
},
{
"simulator" : true,
"operatingSystemVersion" : "6.0 (17R575)",
"available" : true,
"platform" : "com.apple.platform.watchsimulator",
"modelCode" : "Watch5,3",
"identifier" : "C7AF4209-FFD4-47BE-BA17-C4687AA92191",
"architecture" : "i386",
"modelName" : "Apple Watch Series 5 - 40mm",
"name" : "Apple Watch Series 5 - 40mm"
}
]
[ +176 ms] /Users/indigoguerra/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[ +75 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +2 ms] Artifact Instance of 'FlutterWebSdk' 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.
[ +67 ms] More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.
[ +7 ms] ro.hardware = ranchu
[ +7 ms] Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
[ +1 ms] iPhone 11 Pro Max • B133739C-30C8-4C46-A545-7E94D7BAB5A4 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-1
(simulator)
[ +26 ms] "flutter run" took 5,362ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1 RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:336:7)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:703:11)
<asynchronous suspension>
#3 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:620:33)
<asynchronous suspension>
#4 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart)
#5 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#6 _rootRun (dart:async/zone.dart:1184:13)
#7 _CustomZone.run (dart:async/zone.dart:1077:19)
#8 _runZoned (dart:async/zone.dart:1619:10)
#9 runZoned (dart:async/zone.dart:1539:10)
#10 AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:610:20)
#12 CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:21)
<asynchronous suspension>
#14 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart)
#15 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#16 _rootRun (dart:async/zone.dart:1184:13)
#17 _CustomZone.run (dart:async/zone.dart:1077:19)
#18 _runZoned (dart:async/zone.dart:1619:10)
#19 runZoned (dart:async/zone.dart:1539:10)
#20 AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#21 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:288:19)
#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:231:18)
#26 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
#27 _rootRun (dart:async/zone.dart:1184:13)
#28 _CustomZone.run (dart:async/zone.dart:1077:19)
#29 _runZoned (dart:async/zone.dart:1619:10)
#30 runZonedGuarded (dart:async/zone.dart:1608:12)
#31 runZoned (dart:async/zone.dart:1536:12)
#32 run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#33 run.<anonymous closure> (package:flutter_tools/runner.dart)
#34 runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart:64:18)
<asynchronous suspension>
#35 runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart)
#36 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#37 _rootRun (dart:async/zone.dart:1184:13)
#38 _CustomZone.run (dart:async/zone.dart:1077:19)
#39 _runZoned (dart:async/zone.dart:1619:10)
#40 runZoned (dart:async/zone.dart:1539:10)
#41 AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#42 runInContext (package:flutter_tools/src/context_runner.dart:67:24)
#43 run (package:flutter_tools/runner.dart:48:10)
#44 main (package:flutter_tools/executable.dart:69:9)
#45 main (file:///Users/indigoguerra/Documents/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#46 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#47 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
More than one device connected; please specify a device with the '-d ' flag, or use '-d all' to act on all devices.
[ +7 ms] ro.hardware = ranchu
[ +7 ms] Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
[ +1 ms] iPhone 11 Pro Max • B133739C-30C8-4C46-A545-7E94D7BAB5A4 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-1
(simulator)
You have connected more than one device. please specify a device with the '-d ' flag, or use '-d all' to act on all devices.
Sorry about that. Here's what I got after running it:
[+4595 ms] [DEVICE LOG] 2020-06-29 16:39:05.223414-0400 localhost Runner[49162]: (CoreFoundation) *** Terminating app due to uncaught
exception 'FIRInvalidArgumentException', reason: 'Invalid path
(feed/https://firebasestorage.googleapis.com/v0/b/social-network-app-35702.appspot.com/o/Post%20Pictures%2Fpost_49eb7af7-1955-474d-b138-db710e5
a2f47.jpg?alt=media&token=5849de46-f3af-49f1-b455-2115525c0e81/feedItems/hC7ihhScfh8xCDA6ktxg). Paths must not contain // in them.'
[ ] [DEVICE LOG] *** First throw call stack:
[ ] [DEVICE LOG] (
[ ] [DEVICE LOG] 0 CoreFoundation 0x00007fff23baa1ee __exceptionPreprocess + 350
[ ] [DEVICE LOG] 1 libobjc.A.dylib 0x00007fff50864b20 objc_exception_throw + 48
[ ] [DEVICE LOG] 2 Runner 0x000000010c9917b5
_ZN8firebase9firestore4util16ObjcThrowHandlerENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE +
581
[ ] [DEVICE LOG] 3 Runner 0x000000010c990cf3
_ZN8firebase9firestore4util5ThrowENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 67
[ ] [DEVICE LOG] 4 Runner <…>
[ +12 ms] *** First throw call stack:
[ ] (
[ ] 0 CoreFoundation 0x00007fff23baa1ee __exceptionPreprocess + 350
[ ] 1 libobjc.A.dylib 0x00007fff50864b20 objc_exception_throw + 48
[ ] 2 Runner 0x000000010c9917b5
_ZN8firebase9firestore4util16ObjcThrowHandlerENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE +
581
[ ] 3 Runner 0x000000010c990cf3
_ZN8firebase9firestore4util5ThrowENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 67
[ ] 4 Runner <…>
[ +3 ms] Service protocol connection closed.
[ +1 ms] Lost connection to device.
[ +5 ms] DevFS: Deleting filesystem on the device
(file:///Users/indigoguerra/Library/Developer/CoreSimulator/Devices/B133739C-30C8-4C46-A545-7E94D7BAB5A4/data/Containers/Data/Application/E8C4B
8FF-2E3A-4B3E-87BA-2335E5442232/tmp/buddies_gramRohHBb/buddies_gram/)
[ +2 ms] Sending to VM service: _deleteDevFS({fsName: buddies_gram})
[ +262 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[ +4 ms] "flutter run" took 113,523ms.
I figured it out. It was completely my fault.
I had
CommentsPageState createState() => CommentsPageState(postId: postId, postOwnerId: postImageUrl, postImageUrl: postImageUrl);
Instead of
CommentsPageState createState() => CommentsPageState(postId: postId, postOwnerId: postOwnerId, postImageUrl: postImageUrl);
So it was getting the postImageUrl link instead of the postOwnerId. Thanks for the help. I'll be closing this issue.
| gharchive/issue | 2020-06-29T19:44:16 | 2025-04-01T06:44:12.054458 | {
"authors": [
"IndigoG",
"thatsenam"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/60544",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
181007864 | Run as a release on Ubuntu 16.04 / libstdc++.so.6 reported missing
After creating a helloworld project, tried to run the app on Android as a release on Ubuntu. Launching in debug mode worked fine, but when I tried to run as a release, I got an error that 'libstdc++.so.6' is missing.
1) Launching with missing library
raju@titan:~/coding/flutter/helloworld$ flutter run --release --full-restart
Building APK in release mode (android-arm-release)...
Dart snapshot generator failed with exit code 127
/home/raju/dev/flutter/bin/cache/artifacts/engine/android-arm-release/linux-x64/gen_snapshot: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Failed to build AOT snapshot
2) Installing the missing package
raju@titan:~/coding/flutter/helloworld$ sudo apt-get install lib32stdc++6
[sudo] password for raju:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
lib32stdc++6
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/404 kB of archives.
After this operation, 1,901 kB of additional disk space will be used.
Selecting previously unselected package lib32stdc++6.
(Reading database ... 253193 files and directories currently installed.)
Preparing to unpack .../lib32stdc++6_5.4.0-6ubuntu1~16.04.2_amd64.deb ...
Unpacking lib32stdc++6 (5.4.0-6ubuntu1~16.04.2) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up lib32stdc++6 (5.4.0-6ubuntu1~16.04.2) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
3) Running as release again
raju@titan:~/coding/flutter/helloworld$ flutter run --release --full-restart
Building APK in release mode (android-arm-release)...
Warning: signing the APK using the debug keystore.
Built build/app.apk (8.1MB).
Running lib/main.dart on SM N920S...
--------- beginning of main
Application running.
Solution
The flutter doctor tool could check if the library has been installed, or it could be added to the list of required tools here: https://flutter.io/setup/#system-requirements
Steps to reproduce: System setup and tool installation performed
Install Ubuntu 16.04 using this image
http://releases.ubuntu.com/16.04/ubuntu-16.04-desktop-amd64.iso
Install Flutter following these instructions
https://flutter.io/setup/#get-the-flutter-sdk
sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
sudo apt-get update
sudo apt-get install dart
Install Dart SDK for Atom
https://www.dartlang.org/install/linux
Install Oracle Java and Android Studio with SDK
a) Java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt install oracle-java8-installer
sudo apt install oracle-java8-set-default
b) Android Studio
Downloaded deb from website
Installed Android Nougat SDK
Install Atom
Downloaded deb file from atom.io
Installed deb
a) Dart & Flutter for Atom
apm install flutter
apm install dartlang
flutter doctor output now
raju@ubuntu:~/coding$ flutter doctor
[✓] Flutter (on Linux, channel master)
• Flutter at /home/raju/dev/flutter
• Framework revision 9f673ad445 (5 hours ago), 2016-10-04 08:20:24
• Engine revision 27d012a790
• Tools Dart version 1.20.0-dev.5.0
[✓] Android toolchain - develop for Android devices (Android SDK 24.0.3)
• Android SDK at /home/raju/Android/Sdk
• Platform android-24, build-tools 24.0.3
• Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
[✓] Atom - a lightweight development environment for Flutter
• flutter plugin version 0.2.6
• dartlang plugin version 0.6.40
[✓] Connected devices
• SM N920S • 05157df5d93b793d • android-arm
Create new app
flutter create helloworld
cd helloworld
flutter run
@danrubel should we update flutter doctor to check if sky_snapshot can run without errors? Not sure what the best resolution here is. This seems like a linux-specific flutter setup issue, which could either be solved by documentation or tooling, unsure.
/cc @chinmaygarde
Fortunately, we just switched to using the Fuchsia buildtools. They provide a libcxx and libcxxabi that we can statically link into gen_snapshot. However, this only works for x64 targets right now. gen_snapshot is i386 because it needs to generate armv7 code. I had filed https://fuchsia.atlassian.net/browse/TO-61 to track the issue related to making libcxx available to us on i386 as well. Now that I know there are actual issues with users not having the .so on their system already, I will raise the priority on the same.
A workaround for this issue could be to ensure something like apt-get install libstdc++6 has already been done on Linux hosts (am on Mac right now so that is from memory).
sudo apt-get install lib32stdc++6 was the command I had to use on 16.04 64bit.
https://github.com/flutter/flutter/issues/6040 was another report of this.
I think https://github.com/flutter/flutter/issues/4916 is another report of this. :/ This is probably something flutter doctor should try to catch, given that we've had 3 reports now. FYI @danrubel
I had the same issue. Debian Sid amd64
https://github.com/flutter/flutter/issues/6040 was another report of this. So I guess that's 4 reports of this mis-configuration on linux? (That's shockingly high if true.)
This would be an easy check to add to flutter doctor. We should just do it.
Probably belongs in:
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/android/android_workflow.dart
since we don't have a linux-specific setup file at the moment.
#8059 looks very similar, but not maybe identical. Clearly there are a bunch of packages flutter doctor should check for on linux which are not installed by default (at least not on 64-bit installs). In #8059 @abarth noted that the Android toolchain requires ability to execute 32-bit binaries for instance.
Moving to milestone 2; this looks like a very common issue on linux boxes.
if some body facing this problem
✗ Downloaded executables cannot execute on host (see https://github.com/flutter/flutter/issues/6207 for more information)
This is that information -> sudo apt-get install lib32stdc++6
helped on ubuntu 14.04
On Arch Linux the fix is to enable multilib and install gcc-libs-multilib, which replaces gcc-libs.
How to solve this on MacOS
[-] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha)
• Flutter at /Users/tx/flutter
• Framework revision b156a0f054 (3 weeks ago), 2017-08-11 22:01:40 -0700
• Engine revision fef7d827d6
• Tools Dart version 1.25.0-dev.9.0
✗ Downloaded executables cannot execute on host (see https://github.com/flutter/flutter/issues/6207 for more information)
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
• Android SDK at /usr/local/opt/android-sdk
• Platform android-25, build-tools 25.0.2
• ANDROID_HOME = /usr/local/opt/android-sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version openjdk version "1.8.0_112-release"
[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.3, Build version 8E3004b
• ios-deploy 1.9.1
• CocoaPods version 1.3.1
[✓] Android Studio (version 2.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version openjdk version "1.8.0_112-release"
[✓] Connected devices
• None
I wasn't aware this error was possible on Mac OS X. :) @cbracken would know.
On Fedora, dnf install libstdc++.i686
@txthinking can you provide details of the error you're seeing on macOS in a new bug? The specific issue in this case is Linux-specific since it relates to the absence of ELF .so shared objects -- macOS uses Mach-O .dylibs.
Took a quick look at gen_snapshot on macOS, and at least in today's builds, they link to /usr/lib/libc++.1.dylib, which should ship with the base macOS install since Apple switched to Clang, which was OS X 10.7 (IIRC).
@cbracken Here is the new issue #12582
installing lib32stdc++6 fixed for Debian 9 as well.
If someone is interested in changing the flutter doctor command to print a more specific message (or installation instructions) I expect such PRs would be welcome: https://github.com/flutter/flutter/blob/26102c9120ebc01b5c5e48c42a01da9f3e849daf/packages/flutter_tools/lib/src/doctor.dart#L249 is the code in question.
Getting this now in Windows when running "flutter doctor -v"
[!] Flutter (Channel master, v0.1.7, on Microsoft Windows [Version 10.0.16299.248], locale en-US)
• Flutter version 0.1.7 at G:\Projects\flutter
• Framework revision 3b84503403 (21 hours ago), 2018-02-26 20:11:11 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
X Downloaded executables cannot execute on host (see https://github.com/flutter/flutter/issues/6207 for more information)
@tvpmkc I ran into this issue and it was my antivirus blocking \flutter\bin\cache\artifacts\engine\android-arm-profile\windows-x64\gen_snapshot.exe. Delete the cache folder in \flutter\bin and then run flutter doctor. Check for the exe in the above location, if it’s not there then check your antivirus settings. Hope this helps!
In #15004 I've added instructions for Debian/Ubuntu/Mint/Fedora/Arch to the doctor error message.
@jaworanski Spot on. That was the issue. Anti virus was quarantining the exe automatically. It's working now. Thank you!
Great to hear -- glad this got you unblocked!
Just for other Solus user, this fixed it for me:
sudo eopkg it libgcc-32bit libstdc++-32bit
Solution for Fedora 26/27
sudo dnf install libstdc++.i686
~ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel beta, v0.1.5, on Linux, locale en_US.utf8)
✗ Downloaded executables cannot execute on host (see https://github.com/flutter/flutter/issues/6207 for more information)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] Android Studio (version 3.0)
[✓] Connected devices (1 available)
! Doctor found issues in 1 category.
for SOLUS 3.99
Getting error in Debian (Kali linux) when running flutter doctor,
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel beta, v0.1.5, on Linux, locale en_IN)
✗ Downloaded executables cannot execute on host (see https://github.com/flutter/flutter/issues/6207 for more information)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] Android Studio (version 3.0)
[!] IntelliJ IDEA Ultimate Edition (version 2017.3)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] Connected devices
! No devices available
@Sprunjer said Installing lib32stdc++6 fixed it for Debian 9 as well.
but when running sudo apt get install lib32stdc++6, it is trying to remove multiple packages.. i doubt it might create problems to other s/w in system.
$ sudo apt-get install lib32stdc++6
[sudo] password for jwx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
hashcat-data libasan3 libboost-atomic1.62.0 libboost-chrono1.62.0
libboost-program-options1.62.0 libboost-serialization1.62.0
libboost-test1.62.0 libboost-timer1.62.0 libc-dev-bin libcgal12
libclang-common-3.8-dev libclang1-3.8 libevent-2.0-5 libffi-dev
libfreerdp-cache1.1 libfreerdp-client1.1 libfreerdp-codec1.1
libfreerdp-common1.1.0 libfreerdp-core1.1 libfreerdp-crypto1.1
libfreerdp-gdi1.1 libfreerdp-locale1.1 libfreerdp-primitives1.1
libfreerdp-utils1.1 libgcc-6-dev libgom-1.0-common libllvm3.8 libobjc-6-dev
libobjc4 libsfcgal1 libtinfo-dev libtxc-dxtn-s2tc libwinpr-crt0.1
libwinpr-crypto0.1 libwinpr-dsparse0.1 libwinpr-environment0.1
libwinpr-file0.1 libwinpr-handle0.1 libwinpr-heap0.1 libwinpr-input0.1
libwinpr-interlocked0.1 libwinpr-library0.1 libwinpr-path0.1
libwinpr-pool0.1 libwinpr-registry0.1 libwinpr-rpc0.1 libwinpr-sspi0.1
libwinpr-synch0.1 libwinpr-sysinfo0.1 libwinpr-thread0.1 libwinpr-utils0.1
linux-libc-dev llvm-3.8 llvm-3.8-dev llvm-3.8-runtime python-all python-bson
python-bson-ext python-dbus python-gridfs python-keyring python-keyrings.alt
python-pip python-pip-whl python-pymongo python-pymongo-ext
python-secretstorage python-wheel
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
cpp-7 gcc-7 gcc-7-base gcc-8-base lib32gcc1 libasan4 libatomic1 libc-bin
libc-dev-bin libc6 libc6-dbg libc6-i386 libcc1-0 libcilkrts5 libexpat1
libgcc-7-dev libgcc1 libgfortran4 libgomp1 libgtksourceview2.0-0
libgtksourceview2.0-common libitm1 liblsan0 libmpc3 libmpfr6 libmpx2
libobjc4 libquadmath0 libstdc++6 libtsan0 libubsan0 locales
python-gtksourceview2
Suggested packages:
gcc-7-locales gcc-7-multilib gcc-7-doc libgcc1-dbg libgomp1-dbg libitm1-dbg
libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg
libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc
libgtksourceview2.0-dev
Recommended packages:
libc6-dev
The following packages will be REMOVED:
bluelog build-essential clang clang-3.8 g++ g++-7 glusterfs-common golismero
hashcat kali-linux-full libacl1-dev libattr1-dev libbluetooth-dev libc6-dev
libexpat1-dev libpocl1 libpocl1-common libpython-all-dev libpython-dev
libpython2.7-dev libstdc++-6-dev libstdc++-7-dev pocl-opencl-icd
python-all-dev python-dev python2.7-dev
The following NEW packages will be installed:
gcc-8-base lib32gcc1 lib32stdc++6 libc6-i386 libgtksourceview2.0-0
libgtksourceview2.0-common libmpfr6 python-gtksourceview2
The following packages will be upgraded:
cpp-7 gcc-7 gcc-7-base libasan4 libatomic1 libc-bin libc-dev-bin libc6
libc6-dbg libcc1-0 libcilkrts5 libexpat1 libgcc-7-dev libgcc1 libgfortran4
libgomp1 libitm1 liblsan0 libmpc3 libmpx2 libobjc4 libquadmath0 libstdc++6
libtsan0 libubsan0 locales
26 upgraded, 8 newly installed, 26 to remove and 216 not upgraded.
Need to get 40.9 MB of archives.
After this operation, 298 MB disk space will be freed.
Do you want to continue? [Y/n]
--> My system is 64bit.
--> OS installed : $ uname -a
Linux mypc 4.13.0-kali1-amd64 #1 SMP Debian 4.13.10-1kali2 (2017-11-08) x86_64 GNU/Linux
(kali linux 2017.3)
it seems android-arm-*/linux-x64 contains 32bit executables (as emulator/lib64/libstdc++ from android sdk which i just deleted to use the system installed ones). i just did a
cd flutter/bin/cache/artifacts/engine
cp android-arm64-profile/linux-x64/gen_snapshot android-arm-profile/linux-x64/gen_snapshot
cp android-arm64-release/linux-x64/gen_snapshot android-arm-release/linux-x64/gen_snapshot
as a workaround. after that flutter doctor is fine and i can build & run the sample app on my android phone.
would be good to know why 32bit is on a 64bit system and why it is tried to be loaded.
On Fedora 27 I tried
dnf install libstdc++.i686
But already installed on my system...
With https://github.com/flutter/flutter/issues/6207#issuecomment-373100050 comment that's work !
Ubuntu 16.04 with all updates:
# apt-get update
# apt-get upgrade
# apt-get install lib32stdc++6
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lib32stdc++6 : Depends: gcc-8-base (= 8-20180414-1ubuntu2) but 8-20180424-0ubuntu1~16.04.1 is to be installed
Depends: lib32gcc1 (>= 1:4.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
How do I fix this on centos7? Installing libstdc++ ist not working.
[root@9f4595cf5fe7 /]# yum -y -q install libstdc++
Package libstdc++-4.8.5-28.el7_5.1.x86_64 already installed and latest version
[root@9f4595cf5fe7 /]# flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel unknown, v0.5.7, on Linux, locale en_US)
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
On Debian/Ubuntu/Mint: sudo apt-get install lib32stdc++6
On Fedora: dnf install libstdc++.i686
On Arch: pacman -S lib32-libstdc++5
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✗] Android Studio (not installed)
[!] Connected devices
! No devices available
! Doctor found issues in 3 categories.
With this workaround posted earlier I can build on centos7: https://github.com/flutter/flutter/issues/6207#issuecomment-373100050
After reading the above answer, I couldn't find a way for MacOS to successfully run the flutter doctor command. Has anyone succeeded? this is error info:
[!] Flutter (Channel beta, v0.6.0, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
• Flutter version 0.6.0 at /Users/yimutian/flutter
• Framework revision 9299c02cf7 (3 weeks ago), 2018-08-16 00:35:12 +0200
• Engine revision e3687f70c7
• Dart version 2.1.0-dev.0.0.flutter-be6309690f
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
[!] Android toolchain - develop for Android devices (Android SDK 28.0.0)
• Android SDK at /Users/yimutian/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
Looking forward to your help!
@JakeRed your error looks unrelated to this bug, which is Linux-specific. Apologies for the confusing error message. It seems as though your Flutter install is somehow corrupt. Can you try the following from a terminal window and see if it helps?
rm -rf ~/flutter/bin/cache
flutter doctor --verbose
Based on your locale, in case you're in China, it may be useful to follow our instructions for using Flutter in China.
@cbracken Thank you for your answer, Your answer has solved my problem.
I am in China, but I use VPN.
sudo dnf install libstdc++.i686
....
Error: Transaction check error: file /usr/share/gcc-8/python/libstdcxx/v6/__pycache__/printers.cpython-37.opt-1.pyc from install of libstdc++-8.2.1-5.fc29.i686 conflicts with file from package libstdc++-8.2.1-4.fc29.x86_64 file /usr/share/gcc-8/python/libstdcxx/v6/__pycache__/printers.cpython-37.pyc from install of libstdc++-8.2.1-5.fc29.i686 conflicts with file from package libstdc++-8.2.1-4.fc29.x86_64 file /usr/share/gcc-8/python/libstdcxx/v6/printers.py from install of libstdc++-8.2.1-5.fc29.i686 conflicts with file from package libstdc++-8.2.1-4.fc29.x86_64
I have some Apache Kafka Client, Docker, Go, stuff installed and i need it.
I'm on Windows 10 1903 and this still seems to be an issue.
To resolve this partially, I installed the Dart SDK with Chocolatey and replaced the Dart SDK in the Flutter SDK directory with a junction to the Chocolatey Dart SDK directory (happens to be C:\tools\dart-sdk in my case).
I guess a manual install of the Dart SDK would work too, but this was a simple solution in my opinion.
Even though pub upgrade now works, it fails to build "the flutter" tool still.
I'm facing the same issue as janispritzkau
@janispritzkau @MaterialTime I solve the same problem from Solus documentation.
Just install the Prerequisites in the documentation.
@lafriakh What documentation? Could you provide a link?
@lafriakh What documentation? Could you provide a link?
You can find it here: https://getsol.us/articles/software/building-android/en/
@lafriakh What documentation? Could you provide a link?
You can find it here: https://getsol.us/articles/software/building-android/en/
Thanks, that's fixed the issue.
After reading the above answer, I couldn't find a way for MacOS to successfully run the flutter doctor command. Has anyone succeeded? this is error info:
[!] Flutter (Channel beta, v0.6.0, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
• Flutter version 0.6.0 at /Users/yimutian/flutter
• Framework revision 9299c02cf7 (3 weeks ago), 2018-08-16 00:35:12 +0200
• Engine revision e3687f70c7
• Dart version 2.1.0-dev.0.0.flutter-be6309690f
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
[!] Android toolchain - develop for Android devices (Android SDK 28.0.0)
• Android SDK at /Users/yimutian/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
Looking forward to your help!
I have the same problem,Have you solved it yet?
I am experiencing this issue on the new macOS 10.15 Beta. Just thought I would give a heads up.
Getting the same warning on macOS 10.15.
I can run the app in Android and iOS emulator, build ios app but can't build apk. This is the log I get after running flutter build apk:
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
## command
flutter build aot --suppress-analytics --quiet --target lib/main.dart --output-dir /Users/francisco/Developer/marvel_comics/build/app/intermediates/flutter/release/android-arm --target-platform android-arm --release
## exception
ProcessException: ProcessException: Bad CPU type in executable
Command: /Users/francisco/Developer/flutter/bin/cache/artifacts/engine/android-arm-release/darwin-x64/gen_snapshot --causal_async_stacks --deterministic --snapshot_kind=app-aot-blobs --vm_snapshot_data=/Users/francisco/Developer/marvel_comics/build/app/intermediates/flutter/release/android-arm/vm_snapshot_data --isolate_snapshot_data=/Users/francisco/Developer/marvel_comics/build/app/intermediates/flutter/release/android-arm/isolate_snapshot_data --vm_snapshot_instructions=/Users/francisco/Developer/marvel_comics/build/app/intermediates/flutter/release/android-arm/vm_snapshot_instr --isolate_snapshot_instructions=/Users/francisco/Developer/marvel_comics/build/app/intermediates/flutter/release/android-arm/isolate_snapshot_instr --no-sim-use-hardfp --no-use-integer-division /Users/francisco/Developer/marvel_comics/build/app/intermediates/flutter/release/android-arm/app.dill
#0 runCommandAndStreamOutput (package:flutter_tools/src/base/process.dart:142:27)
<asynchronous suspension>
#1 GenSnapshot.run (package:flutter_tools/src/base/build.dart:65:12)
#2 AOTSnapshotter.build.<anonymous closure> (package:flutter_tools/src/base/build.dart:197:97)
#3 AOTSnapshotter._timedStep (package:flutter_tools/src/base/build.dart:328:33)
<asynchronous suspension>
#4 AOTSnapshotter.build (package:flutter_tools/src/base/build.dart:197:43)
<asynchronous suspension>
#5 BuildAotCommand.runCommand (package:flutter_tools/src/commands/build_aot.dart:149:56)
<asynchronous suspension>
#6 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:488:18)
<asynchronous suspension>
#7 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:424:33)
<asynchronous suspension>
#8 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#9 _rootRun (dart:async/zone.dart:1124:13)
#10 _CustomZone.run (dart:async/zone.dart:1021:19)
#11 _runZoned (dart:async/zone.dart:1516:10)
#12 runZoned (dart:async/zone.dart:1463:12)
#13 AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#14 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:415:20)
#15 CommandRunner.runCommand (package:args/command_runner.dart:196:27)
<asynchronous suspension>
#16 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:396:21)
<asynchronous suspension>
#17 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#18 _rootRun (dart:async/zone.dart:1124:13)
#19 _CustomZone.run (dart:async/zone.dart:1021:19)
#20 _runZoned (dart:async/zone.dart:1516:10)
#21 runZoned (dart:async/zone.dart:1463:12)
#22 AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#23 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
<asynchronous suspension>
#24 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:111:29)
#25 new Future.sync (dart:async/future.dart:224:31)
#26 CommandRunner.run (package:args/command_runner.dart:111:11)
#27 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#28 run.<anonymous closure> (package:flutter_tools/runner.dart:60:20)
<asynchronous suspension>
#29 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#30 _rootRun (dart:async/zone.dart:1124:13)
#31 _CustomZone.run (dart:async/zone.dart:1021:19)
#32 _runZoned (dart:async/zone.dart:1516:10)
#33 runZoned (dart:async/zone.dart:1463:12)
#34 AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#35 runInContext (package:flutter_tools/src/context_runner.dart:54:24)
<asynchronous suspension>
#36 run (package:flutter_tools/runner.dart:51:10)
#37 main (package:flutter_tools/executable.dart:62:9)
<asynchronous suspension>
#38 main (file:///Users/francisco/Developer/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#39 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:298:32)
#40 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)
flutter doctor
[!] Flutter (Channel dev, v1.7.0, on Mac OS X 10.15 19A471t, locale es-ES)
• Flutter version 1.7.0 at /Users/francisco/Developer/flutter
• Framework revision f36a35d20a (4 days ago), 2019-05-31 15:27:56 -0400
• Engine revision a32df2c928
• Dart version 2.3.2 (build 2.3.2-dev.0.0 445a23a9bc)
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/francisco/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.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_152-release-1343-b01)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.0, Build version 11M336w
• CocoaPods version 1.7.1
[✓] iOS tools - develop for iOS devices
• ios-deploy 1.9.4
[!] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[✓] VS Code (version 1.34.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.1.0
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
If someone is visiting this issue when flutter doctor fails on a MacOS 10.15, please refer to:
https://github.com/flutter/flutter/issues/22598
For opensuse, use sudo zypper install libstdc++6-32bit to deal.
any update with this issue on mac os 10.15?
@AndreaMiotto : See 2 comments above yours. Mac 10.15 is #22598.
The following packages have unmet dependencies:
lib32stdc++6 : Depends: gcc-9-base (= 9-20190402-1ubuntu1) but 9.1.0-2ubuntu2~19.04 is to be installed
Depends: lib32gcc1 (>= 1:4.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
on Ubuntu 19.04
| gharchive/issue | 2016-10-04T21:19:50 | 2025-04-01T06:44:12.128172 | {
"authors": [
"0x68",
"Amarog",
"AndreaMiotto",
"BradHoffman96",
"JakeRed",
"MaterialTime",
"MrSlayers",
"Sprunjer",
"abarth",
"benbucksch",
"cbracken",
"chinmaygarde",
"emdete",
"eseidelGoogle",
"ethael",
"funkybaboon",
"herawais",
"jaworanski",
"jlelse",
"kangwang1988",
"lafriakh",
"metaa",
"mit-mit",
"mohasu1992",
"oswee",
"perlatus",
"porjo",
"qiyaozu",
"raju-bitter",
"sunbinnnnn",
"tvpmkc",
"txthinking",
"uncleGena",
"xascis"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/6207",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
685210932 | Problem in installing build apk on devices
Problem with flutter build apk
Tried and working scenarios:::
flutter run --profile [working]
flutter run --release [working]
Problem--
fluter build apk --release
installed the apk on device and the app freezes on splash screen or not working when screen changed.
Tried every possible solutions available.
Kindly help!!
I am unable to launch the application with this problem, debug build profile builds are working but when I build an apk and tried to install in the device it's not working.
flutter --version
**Flutter 1.22.0-1.0.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision ce40de69b7 (5 days ago) • 2020-08-20 07:31:50 -0700
Engine • revision 81027ab0cc
Tools • Dart 2.10.0 (build 2.10.0-45.0.dev)
**
flutter doctor -v
[√] Flutter (Channel dev, 1.22.0-1.0.pre, on Microsoft Windows [Version 10.0.19041.450], locale en-IN)
• Flutter version 1.22.0-1.0.pre at C:\flutter
• Framework revision ce40de69b7 (5 days ago), 2020-08-20 07:31:50 -0700
• Engine revision 81027ab0cc
• Dart version 2.10.0 (build 2.10.0-45.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\kanah\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 48.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] IntelliJ IDEA Ultimate Edition (version 2018.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.3
• Flutter plugin version 35.3.1
• Dart plugin version 183.5901
[√] VS Code (version 1.48.0)
• VS Code at C:\Users\kanah\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.13.2
[√] Connected device (4 available)
• Mi A2 (mobile) • e8eacc41 • android-arm64 • Android 10 (API 29)
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web) • chrome • web-javascript • Google Chrome 84.0.4147.135
• Edge (web) • edge • web-javascript • Microsoft Edge 84.0.522.63
Possible duplicate of #64414
Is the boilerplate code (generated by flutter with command flutter create bug) working?
@sidrao2006 Thanks for the reply!!
result of flutter create bug
Creating project bug...
bug.gitignore (created)
bug.idea\libraries\Dart_SDK.xml (created)
bug.idea\libraries\KotlinJavaRuntime.xml (created)
bug.idea\modules.xml (created)
bug.idea\runConfigurations\main_dart.xml (created)
bug.idea\workspace.xml (created)
bug.metadata (created)
bug\android\app\build.gradle (created)
bug\android\app\src\main\kotlin\com\example\bug\MainActivity.kt (created)
bug\android\build.gradle (created)
bug\android\bug_android.iml (created)
bug\android.gitignore (created)
bug\android\app\src\debug\AndroidManifest.xml (created)
bug\android\app\src\main\AndroidManifest.xml (created)
bug\android\app\src\main\res\drawable\launch_background.xml (created)
bug\android\app\src\main\res\mipmap-hdpi\ic_launcher.png (created)
bug\android\app\src\main\res\mipmap-mdpi\ic_launcher.png (created)
bug\android\app\src\main\res\mipmap-xhdpi\ic_launcher.png (created)
bug\android\app\src\main\res\mipmap-xxhdpi\ic_launcher.png (created)
bug\android\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png (created)
bug\android\app\src\main\res\values\styles.xml (created)
bug\android\app\src\profile\AndroidManifest.xml (created)
bug\android\gradle\wrapper\gradle-wrapper.properties (created)
bug\android\gradle.properties (created)
bug\android\settings.gradle (created)
bug\ios\Runner\AppDelegate.swift (created)
bug\ios\Runner\Runner-Bridging-Header.h (created)
bug\ios\Runner.xcodeproj\project.pbxproj (created)
bug\ios\Runner.xcodeproj\xcshareddata\xcschemes\Runner.xcscheme (created)
bug\ios.gitignore (created)
bug\ios\Flutter\AppFrameworkInfo.plist (created)
bug\ios\Flutter\Debug.xcconfig (created)
bug\ios\Flutter\Release.xcconfig (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Contents.json (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-1024x1024@1x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-20x20@1x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-20x20@2x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-20x20@3x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-29x29@1x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-29x29@2x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-29x29@3x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-40x40@1x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-40x40@2x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-40x40@3x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-60x60@2x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-60x60@3x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-76x76@1x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-76x76@2x.png (created)
bug\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-83.5x83.5@2x.png (created)
bug\ios\Runner\Assets.xcassets\LaunchImage.imageset\Contents.json (created)
bug\ios\Runner\Assets.xcassets\LaunchImage.imageset\LaunchImage.png (created)
bug\ios\Runner\Assets.xcassets\LaunchImage.imageset\LaunchImage@2x.png (created)
bug\ios\Runner\Assets.xcassets\LaunchImage.imageset\LaunchImage@3x.png (created)
bug\ios\Runner\Assets.xcassets\LaunchImage.imageset\README.md (created)
bug\ios\Runner\Base.lproj\LaunchScreen.storyboard (created)
bug\ios\Runner\Base.lproj\Main.storyboard (created)
bug\ios\Runner\Info.plist (created)
bug\ios\Runner.xcodeproj\project.xcworkspace\contents.xcworkspacedata (created)
bug\ios\Runner.xcodeproj\project.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist (created)
bug\ios\Runner.xcodeproj\project.xcworkspace\xcshareddata\WorkspaceSettings.xcsettings (created)
bug\ios\Runner.xcworkspace\contents.xcworkspacedata (created)
bug\ios\Runner.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist (created)
bug\ios\Runner.xcworkspace\xcshareddata\WorkspaceSettings.xcsettings (created)
bug\lib\main.dart (created)
bug\bug.iml (created)
bug\pubspec.yaml (created)
bug\README.md (created)
bug\test\widget_test.dart (created)
bug\web\favicon.png (created)
bug\web\icons\Icon-192.png (created)
bug\web\icons\Icon-512.png (created)
bug\web\index.html (created)
bug\web\manifest.json (created)
Running "flutter pub get" in bug... 3.0s
Wrote 76 files.
All done!
[√] Flutter: is fully installed. (Channel dev, 1.22.0-1.0.pre, on Microsoft Windows [Version 10.0.19041.450], locale en-IN)
[√] Android toolchain - develop for Android devices: is fully installed. (Android SDK version 29.0.3)
[√] Chrome - develop for the web: is fully installed.
[√] Android Studio: is fully installed. (version 4.0)
[√] IntelliJ IDEA Ultimate Edition: is fully installed. (version 2018.3)
[√] VS Code: is fully installed. (version 1.48.0)
[√] Connected device: is fully installed. (4 available)
In order to run your application, type:
$ cd bug
$ flutter run
then executed flutter run
the app is working but don't know about the build apk
Hey @kanahaiya-varshney , please try to build the apk as well
Also, which grade version are you using? Did you change it?
flutter build apk --release --> apk build --> install on device -->installed --> app not working
for gradle version 4.0.1
Duplicate of #64510
Hey @kanahaiya-varshney , I found an open issue which is similar to this one at #64510
Please refer to it and comment there.
Please close this issue
@sidrao2006 app is installing in the device but unable to run. I will close this issue. Is there any solution? for this to work
@kanahaiya-varshney , I am sorry but I don't know any solution for this. Please follow up on that issue to know more.
Thank you
Hi @kanahaiya-varshney
Can you please try flutter run --release -v if there is an issue?
Thanks
@Abhishek01039 no issue found the app works fine when running with this command.
but still when building an apk and then installing the problem remains same.
@sidrao2006 Thanks for the help!!
Hi @kanahaiya-varshney
Looks like you've modified flutter create bug project with different gradle right?
I cannot reproduce the issue with flutter create bug without changing gradle
flutter doctor -v
[✓] Flutter (Channel dev, 1.22.0-1.0.pre, on Linux, locale en_US.UTF-8)
• Flutter version 1.22.0-1.0.pre at /home/taha/Code/flutter
• Framework revision ce40de69b7 (5 days ago), 2020-08-20 07:31:50 -0700
• Engine revision 81027ab0cc
• Dart version 2.10.0 (build 2.10.0-45.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at //home/taha/Code/sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = //home/taha/Code/sdk
• Java binary at: /home/taha/Code/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Linux toolchain - develop for Linux desktop
• clang version 10.0.0-4ubuntu1
• cmake version 3.16.3
• ninja version 1.10.0
• pkg-config version 0.29.1
[✓] Android Studio (version 4.0)
• Android Studio at /home/taha/Code/android-studio
• Flutter plugin version 48.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.48.1)
• VS Code at /usr/share/code
• Flutter extension version 3.13.2
[✓] Connected device (1 available)
• Linux (desktop) • linux • linux-x64 • Linux
• No issues found!
Can you please provide your build.gradle from android->build.gradle, your flutter run --release --verbose
Does the issue reproduce without modifying Gradle with flutter create mybug
Thank you
@TahaTesser , isn't this the same issue as #64510 ?
Hello @TahaTesser I don't think I have modified the the gradle.
build.gradle-----------------------------
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.3'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
@TahaTesser I don't think the issue is same
apk is building in my case but freezing or does not doing anything.
all other debug methods are working
@TahaTesser Here is the result for flutter run --release --verbose
[ +319 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +112 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] ce40de69b7b4f89c66d19c8dbd3bd86ae30f1bc6
[ +1 ms] executing: [C:\flutter/] git tag --points-at HEAD
[ +118 ms] Exit code 0 from: git tag --points-at HEAD
[ ] 1.22.0-1.0.pre
[ +21 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +68 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/dev
[ ] executing: [C:\flutter/] git ls-remote --get-url origin
[ +58 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +131 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ +56 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] dev
[ +92 ms] Artifact Instance of 'AndroidMavenArtifacts' 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.
[ +5 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.
[ +43 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +82 ms] List of devices attached
e8eacc41 device product:jasmine model:Mi_A2 device:jasmine_sprout transport_id:7
[ +13 ms] C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell getprop
[ +79 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +7 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +5 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.
[ +254 ms] Found plugin file_picker at C:\flutter.pub-cache\hosted\pub.dartlang.org\file_picker-1.13.3
[ +19 ms] Found plugin firebase_auth at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.16.1
[ +8 ms] Found plugin firebase_auth_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.3+1
[ +5 ms] Found plugin firebase_core at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.5
[ +6 ms] Found plugin firebase_core_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2
[ +3 ms] Found plugin flutter_plugin_android_lifecycle at C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8
[ +2 ms] Found plugin flutter_share at C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_share-1.0.2+1
[ +4 ms] Found plugin fluttertoast at C:\flutter.pub-cache\hosted\pub.dartlang.org\fluttertoast-7.0.2
[ +6 ms] Found plugin google_sign_in at C:\flutter.pub-cache\hosted\pub.dartlang.org\google_sign_in-4.5.3
[ +6 ms] Found plugin google_sign_in_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\google_sign_in_web-0.9.1+1
[ +9 ms] Found plugin image_cropper at C:\flutter.pub-cache\hosted\pub.dartlang.org\image_cropper-1.3.0
[ +3 ms] Found plugin image_picker at C:\flutter.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+6
[ +15 ms] Found plugin path_provider at C:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider-1.6.14
[ +3 ms] Found plugin path_provider_linux at C:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2
[ +3 ms] Found plugin path_provider_macos at C:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3
[ +7 ms] Found plugin permission_handler at C:\flutter.pub-cache\hosted\pub.dartlang.org\permission_handler-5.0.1+1
[ +16 ms] Found plugin shared_preferences at C:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences-0.5.10
[ +2 ms] Found plugin shared_preferences_linux at C:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+2
[ +2 ms] Found plugin shared_preferences_macos at C:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+10
[ +4 ms] Found plugin shared_preferences_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7
[ +3 ms] Found plugin sqflite at C:\flutter.pub-cache\hosted\pub.dartlang.org\sqflite-1.3.1+1
[ +428 ms] Found plugin file_picker at C:\flutter.pub-cache\hosted\pub.dartlang.org\file_picker-1.13.3
[ +5 ms] Found plugin firebase_auth at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.16.1
[ +3 ms] Found plugin firebase_auth_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.3+1
[ +2 ms] Found plugin firebase_core at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.5
[ +3 ms] Found plugin firebase_core_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2
[ +2 ms] Found plugin flutter_plugin_android_lifecycle at C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8
[ +2 ms] Found plugin flutter_share at C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_share-1.0.2+1
[ +2 ms] Found plugin fluttertoast at C:\flutter.pub-cache\hosted\pub.dartlang.org\fluttertoast-7.0.2
[ +4 ms] Found plugin google_sign_in at C:\flutter.pub-cache\hosted\pub.dartlang.org\google_sign_in-4.5.3
[ +3 ms] Found plugin google_sign_in_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\google_sign_in_web-0.9.1+1
[ +6 ms] Found plugin image_cropper at C:\flutter.pub-cache\hosted\pub.dartlang.org\image_cropper-1.3.0
[ +2 ms] Found plugin image_picker at C:\flutter.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+6
[ +10 ms] Found plugin path_provider at C:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider-1.6.14
[ +2 ms] Found plugin path_provider_linux at C:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2
[ +2 ms] Found plugin path_provider_macos at C:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3
[ +5 ms] Found plugin permission_handler at C:\flutter.pub-cache\hosted\pub.dartlang.org\permission_handler-5.0.1+1
[ +12 ms] Found plugin shared_preferences at C:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences-0.5.10
[ +2 ms] Found plugin shared_preferences_linux at C:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+2
[ +1 ms] Found plugin shared_preferences_macos at C:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+10
[ +3 ms] Found plugin shared_preferences_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7
[ +3 ms] Found plugin sqflite at C:\flutter.pub-cache\hosted\pub.dartlang.org\sqflite-1.3.1+1
[ +50 ms] Generating F:\techkets_scan_docs\techkets_scan_docs\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +55 ms] ro.hardware = qcom
[ +119 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree F:\techkets_scan_docs\techkets_scan_docs\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +29 ms] Exit code 0 from: C:\Users\kanah\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree F:\techkets_scan_docs\techkets_scan_docs\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ ] 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)0x1d
A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
A: package="com.techkets_scan_docs" (Raw: "com.techkets_scan_docs")
A: platformBuildVersionCode=(type 0x10)0x1d
A: platformBuildVersionName=(type 0x10)0xa
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=15)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
E: uses-permission (line=17)
A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
E: uses-permission (line=18)
A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
E: uses-permission (line=19)
A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
E: uses-permission (line=20)
A: android:name(0x01010003)="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" (Raw: "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE")
E: application (line=22)
A: android:label(0x01010001)="techkets_scan_docs" (Raw: "techkets_scan_docs")
A: android:icon(0x01010002)=@0x7f0c0000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0e0109
A: android:name(0x01010003)="com.yalantis.ucrop.UCropActivity" (Raw: "com.yalantis.ucrop.UCropActivity")
A: android:screenOrientation(0x0101001e)=(type 0x10)0x1
E: activity (line=32)
A: android:theme(0x01010000)=@0x7f0e00a1
A: android:name(0x01010003)="com.techkets_scan_docs.MainActivity" (Raw: "com.techkets_scan_docs.MainActivity")
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)=@0x7f0e00a2
E: meta-data (line=56)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f060074
E: intent-filter (line=60)
E: action (line=61)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=63)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=70)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: provider (line=74)
A: android:name(0x01010003)="androidx.core.content.FileProvider" (Raw: "androidx.core.content.FileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.techkets_scan_docs.provider" (Raw: "com.techkets_scan_docs.provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=79)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f100001
E: provider (line=83)
A: android:name(0x01010003)="io.flutter.plugins.imagepicker.ImagePickerFileProvider" (Raw: "io.flutter.plugins.imagepicker.ImagePickerFileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.techkets_scan_docs.flutter.image_provider" (Raw: "com.techkets_scan_docs.flutter.image_provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=88)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f100000
E: service (line=93)
A: android:name(0x01010003)="com.google.firebase.components.ComponentDiscoveryService" (Raw: "com.google.firebase.components.ComponentDiscoveryService")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
E: meta-data (line=97)
A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFirebaseAppRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=100)
A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebaseAppRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=103)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=106)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=109)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: activity (line=114)
A: android:theme(0x01010000)=@0x01030010
A: android:name(0x01010003)="com.google.firebase.auth.internal.FederatedSignInActivity" (Raw: "com.google.firebase.auth.internal.FederatedSignInActivity")
A: android:permission(0x01010006)="com.google.firebase.auth.api.gms.permission.LAUNCH_FEDERATED_SIGN_IN" (Raw: "com.google.firebase.auth.api.gms.permission.LAUNCH_FEDERATED_SIGN_IN")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
A: android:launchMode(0x0101001d)=(type 0x10)0x2
E: receiver (line=122)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementReceiver" (Raw: "com.google.android.gms.measurement.AppMeasurementReceiver")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: service (line=128)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementService" (Raw: "com.google.android.gms.measurement.AppMeasurementService")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: service (line=132)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementJobService" (Raw: "com.google.android.gms.measurement.AppMeasurementJobService")
A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: activity (line=138)
A: android:theme(0x01010000)=@0x01030010
A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.internal.SignInHubActivity" (Raw: "com.google.android.gms.auth.api.signin.internal.SignInHubActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
E: service (line=147)
A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.RevocationBoundService" (Raw: "com.google.android.gms.auth.api.signin.RevocationBoundService")
A: android:permission(0x01010006)="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION" (Raw: "com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
E: provider (line=152)
A: android:name(0x01010003)="com.google.firebase.provider.FirebaseInitProvider" (Raw: "com.google.firebase.provider.FirebaseInitProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.techkets_scan_docs.firebaseinitprovider" (Raw: "com.techkets_scan_docs.firebaseinitprovider")
A: android:initOrder(0x0101001a)=(type 0x10)0x64
E: activity (line=158)
A: android:theme(0x01010000)=@0x01030010
A: android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity" (Raw: "com.google.android.gms.common.api.GoogleApiActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
E: meta-data (line=163)
A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
A: android:value(0x01010024)=@0x7f080004
[ +13 ms] Launching lib\main.dart on Mi A2 in release mode...
[ +9 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell -x logcat -v time -t 1
[ +63 ms] Exit code 0 from: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell -x logcat -v time -t 1
[ ] --------- beginning of main
08-25 15:23:21.580 E/SELinux ( 595): avc: denied { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1543 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
[ +2 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell -x logcat -v time -t 1
[ +66 ms] Exit code 0 from: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell -x logcat -v time -t 1
[ ] --------- beginning of main
08-25 15:23:21.580 E/SELinux ( 595): avc: denied { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1543 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
[ +36 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +80 ms] Android Debug Bridge version 1.0.41
Version 30.0.3-6597393
Installed as C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +4 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +42 ms] Building APK
[ +36 ms] Running Gradle task 'assembleRelease'...
[ +3 ms] gradle.properties already sets android.enableR8
[ +6 ms] Using gradle from F:\techkets_scan_docs\techkets_scan_docs\android\gradlew.bat.
[ +1 ms] F:\techkets_scan_docs\techkets_scan_docs\android\gradlew.bat mode: 33279 rwxrwxrwx.
[ +16 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +181 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[ +10 ms] executing: [F:\techkets_scan_docs\techkets_scan_docs\android/] F:\techkets_scan_docs\techkets_scan_docs\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=F:\techkets_scan_docs\techkets_scan_docs\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleRelease
[+3261 ms] > Configure project :app
[+6572 ms] > Task :app:compileFlutterBuildRelease
[ ] [ +360 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +106 ms] [ +121 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ +1 ms] ce40de69b7b4f89c66d19c8dbd3bd86ae30f1bc6
[ ] [ +1 ms] executing: [C:\flutter/] git tag --points-at HEAD
[ +91 ms] [ +143 ms] Exit code 0 from: git tag --points-at HEAD
[ ] [ ] 1.22.0-1.0.pre
[ +91 ms] [ +24 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ +66 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/dev
[ ] [ ] executing: [C:\flutter/] git ls-remote --get-url origin
[ +110 ms] [ +59 ms] Exit code 0 from: git ls-remote --get-url origin
[ +1 ms] [ ] https://github.com/flutter/flutter.git
[ +89 ms] [ +150 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ +109 ms] [ +66 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] dev
[ +94 ms] [ +90 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ ] [ +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] [ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ +9 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.
[ ] [ +33 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ ] Artifact Instance of 'AndroidMavenArtifacts' 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 '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 '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.
[ ] [ ] 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.
[ +1 ms] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ +278 ms] [ +206 ms] Initializing file store
[ +202 ms] [ +240 ms] Done initializing file store
[ +307 ms] [ +374 ms] Skipping target: gen_localizations
[+4398 ms] [+4293 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged}
[ +93 ms] [ +169 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product/ --target=flutter -Ddart.developer.causal_async_stacks=false -Ddart.vm.profile=false -Ddart.vm.product=true --bytecode-options=source-positions --aot --tfa --packages F:\techkets_scan_docs\techkets_scan_docs.packages --output-dill F:\techkets_scan_docs\techkets_scan_docs.dart_tool\flutter_build\78887f9e68a482603dd6c46a0e48e7aa\app.dill --depfile F:\techkets_scan_docs\techkets_scan_docs.dart_tool\flutter_build\78887f9e68a482603dd6c46a0e48e7aa\kernel_snapshot.d package:techkets_scan_docs/main.dart
[+53899 ms] [+53901 ms] kernel_snapshot: Complete
[ +909 ms] [ +898 ms] invalidated build due to missing files: F:\techkets_scan_docs\techkets_scan_docs\DOES_NOT_EXIST_RERUN_FOR_WILDCARD552344539
[ +689 ms] [ +631 ms] aot_android_asset_bundle: Starting due to {InvalidatedReason.inputChanged, InvalidatedReason.inputMissing}
[ +706 ms] [ +751 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[ +93 ms] [ +92 ms] aot_android_asset_bundle: Complete
[ +203 ms] [ +239 ms] android_aot_release_android-arm64: Starting due to {InvalidatedReason.inputChanged}
[ +95 ms] [ +17 ms] executing: C:\flutter\bin\cache\artifacts\engine\android-arm64-release\windows-x64\gen_snapshot --deterministic --snapshot_kind=app-aot-elf --elf=F:\techkets_scan_docs\techkets_scan_docs.dart_tool\flutter_build\78887f9e68a482603dd6c46a0e48e7aa\arm64-v8a\app.so --strip --no-causal-async-stacks --lazy-async-stacks F:\techkets_scan_docs\techkets_scan_docs.dart_tool\flutter_build\78887f9e68a482603dd6c46a0e48e7aa\app.dill
[+33306 ms] [+33339 ms] android_aot_release_android-arm64: Complete
[ +405 ms] [ +451 ms] android_aot_bundle_release_android-arm64: Starting due to {InvalidatedReason.inputChanged}
[ +95 ms] [ +80 ms] android_aot_bundle_release_android-arm64: Complete
[ +296 ms] [ +242 ms] Persisting file store
[ ] [ +58 ms] Done persisting file store
[ +93 ms] [ +44 ms] build succeeded.
[ +106 ms] [ +65 ms] "flutter assemble" took 96,169ms.
[ ] [ +11 ms] ensureAnalyticsSent: 1ms
[ ] [ +3 ms] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[+1703 ms] > Task :app:packLibsflutterBuildRelease
[ +1 ms] > Task :app:preBuild UP-TO-DATE
[ +1 ms] > Task :app:preReleaseBuild UP-TO-DATE
[ ] > Task :file_picker:preBuild UP-TO-DATE
[ +1 ms] > Task :file_picker:preReleaseBuild UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:preBuild UP-TO-DATE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:preReleaseBuild UP-TO-DATE
[ ] > Task :firebase_auth:preBuild UP-TO-DATE
[ ] > Task :firebase_auth:preReleaseBuild UP-TO-DATE
[ +86 ms] > Task :firebase_core:preBuild UP-TO-DATE
[ ] > Task :firebase_core:preReleaseBuild UP-TO-DATE
[ ] > Task :flutter_share:preBuild UP-TO-DATE
[ ] > Task :flutter_share:preReleaseBuild UP-TO-DATE
[ ] > Task :fluttertoast:preBuild UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileReleaseAidl NO-SOURCE
[ ] > Task :file_picker:compileReleaseAidl NO-SOURCE
[ ] > Task :firebase_core:compileReleaseAidl NO-SOURCE
[ ] > Task :firebase_auth:compileReleaseAidl NO-SOURCE
[ ] > Task :flutter_share:compileReleaseAidl NO-SOURCE
[ ] > Task :fluttertoast:preReleaseBuild UP-TO-DATE
[ ] > Task :fluttertoast:compileReleaseAidl NO-SOURCE
[ ] > Task :google_sign_in:preBuild UP-TO-DATE
[ ] > Task :google_sign_in:preReleaseBuild UP-TO-DATE
[ +108 ms] > Task :image_cropper:preBuild UP-TO-DATE
[ ] > Task :image_cropper:preReleaseBuild UP-TO-DATE
[ +1 ms] > Task :image_picker:preBuild UP-TO-DATE
[ ] > Task :image_picker:preReleaseBuild UP-TO-DATE
[ ] > Task :image_picker:compileReleaseAidl NO-SOURCE
[ +1 ms] > Task :path_provider:preBuild UP-TO-DATE
[ ] > Task :path_provider:preReleaseBuild UP-TO-DATE
[ ] > Task :path_provider:compileReleaseAidl NO-SOURCE
[ ] > Task :permission_handler:preBuild UP-TO-DATE
[ ] > Task :permission_handler:preReleaseBuild UP-TO-DATE
[ ] > Task :permission_handler:compileReleaseAidl NO-SOURCE
[ ] > Task :shared_preferences:preBuild UP-TO-DATE
[ ] > Task :shared_preferences:preReleaseBuild UP-TO-DATE
[ +1 ms] > Task :shared_preferences:compileReleaseAidl NO-SOURCE
[ ] > Task :sqflite:preBuild UP-TO-DATE
[ ] > Task :sqflite:preReleaseBuild UP-TO-DATE
[ ] > Task :sqflite:compileReleaseAidl NO-SOURCE
[ ] > Task :google_sign_in:compileReleaseAidl NO-SOURCE
[ +1 ms] > Task :file_picker:packageReleaseRenderscript NO-SOURCE
[ ] > Task :image_cropper:compileReleaseAidl NO-SOURCE
[ ] > Task :app:compileReleaseAidl NO-SOURCE
[ ] > Task :firebase_auth:packageReleaseRenderscript NO-SOURCE
[ ] > Task :firebase_core:packageReleaseRenderscript NO-SOURCE
[ ] > Task :flutter_plugin_android_lifecycle:packageReleaseRenderscript NO-SOURCE
[ ] > Task :flutter_share:packageReleaseRenderscript NO-SOURCE
[ ] > Task :fluttertoast:packageReleaseRenderscript NO-SOURCE
[ ] > Task :google_sign_in:packageReleaseRenderscript NO-SOURCE
[ ] > Task :image_cropper:packageReleaseRenderscript NO-SOURCE
[ ] > Task :image_picker:packageReleaseRenderscript NO-SOURCE
[ ] > Task :path_provider:packageReleaseRenderscript NO-SOURCE
[ ] > Task :permission_handler:packageReleaseRenderscript NO-SOURCE
[ ] > Task :shared_preferences:packageReleaseRenderscript NO-SOURCE
[ ] > Task :sqflite:packageReleaseRenderscript NO-SOURCE
[ ] > Task :app:compileReleaseRenderscript NO-SOURCE
[ ] > Task :app:checkReleaseManifest UP-TO-DATE
[ ] > Task :app:generateReleaseBuildConfig UP-TO-DATE
[ +62 ms] > Task :app:cleanMergeReleaseAssets
[ ] > Task :app:mergeReleaseShaders UP-TO-DATE
[ ] > Task :app:compileReleaseShaders UP-TO-DATE
[ ] > Task :app:generateReleaseAssets UP-TO-DATE
[ ] > Task :file_picker:mergeReleaseShaders UP-TO-DATE
[ ] > Task :file_picker:compileReleaseShaders UP-TO-DATE
[ +1 ms] > Task :file_picker:generateReleaseAssets UP-TO-DATE
[ ] > Task :file_picker:packageReleaseAssets UP-TO-DATE
[ +90 ms] > Task :firebase_auth:mergeReleaseShaders UP-TO-DATE
[ ] > Task :firebase_auth:compileReleaseShaders UP-TO-DATE
[ ] > Task :firebase_auth:generateReleaseAssets UP-TO-DATE
[ ] > Task :firebase_auth:packageReleaseAssets UP-TO-DATE
[ ] > Task :firebase_core:mergeReleaseShaders UP-TO-DATE
[ ] > Task :firebase_core:compileReleaseShaders UP-TO-DATE
[ ] > Task :firebase_core:generateReleaseAssets UP-TO-DATE
[ ] > Task :firebase_core:packageReleaseAssets UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseShaders UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileReleaseShaders UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:generateReleaseAssets UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:packageReleaseAssets UP-TO-DATE
[ ] > Task :flutter_share:mergeReleaseShaders UP-TO-DATE
[ ] > Task :flutter_share:compileReleaseShaders UP-TO-DATE
[ ] > Task :flutter_share:generateReleaseAssets UP-TO-DATE
[ ] > Task :flutter_share:packageReleaseAssets UP-TO-DATE
[ ] > Task :fluttertoast:mergeReleaseShaders UP-TO-DATE
[ ] > Task :fluttertoast:compileReleaseShaders UP-TO-DATE
[ ] > Task :fluttertoast:generateReleaseAssets UP-TO-DATE
[ ] > Task :fluttertoast:packageReleaseAssets UP-TO-DATE
[ ] > Task :google_sign_in:mergeReleaseShaders UP-TO-DATE
[ ] > Task :google_sign_in:compileReleaseShaders UP-TO-DATE
[ ] > Task :google_sign_in:generateReleaseAssets UP-TO-DATE
[ ] > Task :google_sign_in:packageReleaseAssets UP-TO-DATE
[ ] > Task :image_cropper:mergeReleaseShaders UP-TO-DATE
[ ] > Task :image_cropper:compileReleaseShaders UP-TO-DATE
[ ] > Task :image_cropper:generateReleaseAssets UP-TO-DATE
[ ] > Task :image_cropper:packageReleaseAssets UP-TO-DATE
[ ] > Task :image_picker:mergeReleaseShaders UP-TO-DATE
[ ] > Task :image_picker:compileReleaseShaders UP-TO-DATE
[ ] > Task :image_picker:generateReleaseAssets UP-TO-DATE
[ ] > Task :image_picker:packageReleaseAssets UP-TO-DATE
[ +97 ms] > Task :path_provider:mergeReleaseShaders UP-TO-DATE
[ +1 ms] > Task :path_provider:compileReleaseShaders UP-TO-DATE
[ ] > Task :path_provider:generateReleaseAssets UP-TO-DATE
[ ] > Task :path_provider:packageReleaseAssets UP-TO-DATE
[ ] > Task :permission_handler:mergeReleaseShaders UP-TO-DATE
[ ] > Task :permission_handler:compileReleaseShaders UP-TO-DATE
[ +1 ms] > Task :permission_handler:generateReleaseAssets UP-TO-DATE
[ ] > Task :permission_handler:packageReleaseAssets UP-TO-DATE
[ ] > Task :shared_preferences:mergeReleaseShaders UP-TO-DATE
[ ] > Task :shared_preferences:compileReleaseShaders UP-TO-DATE
[ +1 ms] > Task :shared_preferences:generateReleaseAssets UP-TO-DATE
[ ] > Task :shared_preferences:packageReleaseAssets UP-TO-DATE
[ ] > Task :sqflite:mergeReleaseShaders UP-TO-DATE
[ ] > Task :sqflite:compileReleaseShaders UP-TO-DATE
[ ] > Task :sqflite:generateReleaseAssets UP-TO-DATE
[ +1 ms] > Task :sqflite:packageReleaseAssets UP-TO-DATE
[ ] > Task :app:mergeReleaseAssets
[ +86 ms] > Task :app:copyFlutterAssetsRelease
[ +1 ms] > Task :app:mainApkListPersistenceRelease UP-TO-DATE
[ +100 ms] > Task :app:generateReleaseResValues UP-TO-DATE
[ +1 ms] > Task :app:generateReleaseResources UP-TO-DATE
[ +1 ms] > Task :app:processReleaseGoogleServices UP-TO-DATE
[ +1 ms] > Task :file_picker:generateReleaseResValues UP-TO-DATE
[ +1 ms] > Task :file_picker:compileReleaseRenderscript NO-SOURCE
[ +1 ms] > Task :file_picker:generateReleaseResources UP-TO-DATE
[ ] > Task :file_picker:packageReleaseResources UP-TO-DATE
[ ] > Task :firebase_auth:generateReleaseResValues UP-TO-DATE
[ ] > Task :firebase_auth:compileReleaseRenderscript NO-SOURCE
[ ] > Task :firebase_auth:generateReleaseResources UP-TO-DATE
[ ] > Task :firebase_auth:packageReleaseResources UP-TO-DATE
[ +2 ms] > Task :firebase_core:generateReleaseResValues UP-TO-DATE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:generateReleaseResValues UP-TO-DATE
[ +76 ms] > Task :firebase_core:compileReleaseRenderscript NO-SOURCE
[ +1 ms] > Task :firebase_core:generateReleaseResources UP-TO-DATE
[ +1 ms] > Task :firebase_core:packageReleaseResources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileReleaseRenderscript NO-SOURCE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:generateReleaseResources UP-TO-DATE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:packageReleaseResources UP-TO-DATE
[ ] > Task :flutter_share:generateReleaseResValues UP-TO-DATE
[ ] > Task :flutter_share:compileReleaseRenderscript NO-SOURCE
[ ] > Task :flutter_share:generateReleaseResources UP-TO-DATE
[ ] > Task :flutter_share:packageReleaseResources UP-TO-DATE
[ ] > Task :fluttertoast:generateReleaseResValues UP-TO-DATE
[ ] > Task :fluttertoast:compileReleaseRenderscript NO-SOURCE
[ ] > Task :fluttertoast:generateReleaseResources UP-TO-DATE
[ +95 ms] > Task :fluttertoast:packageReleaseResources UP-TO-DATE
[ +1 ms] > Task :google_sign_in:generateReleaseResValues UP-TO-DATE
[ ] > Task :google_sign_in:compileReleaseRenderscript NO-SOURCE
[ +1 ms] > Task :google_sign_in:generateReleaseResources UP-TO-DATE
[ ] > Task :google_sign_in:packageReleaseResources UP-TO-DATE
[ ] > Task :image_cropper:generateReleaseResValues UP-TO-DATE
[ ] > Task :image_cropper:compileReleaseRenderscript NO-SOURCE
[ ] > Task :image_cropper:generateReleaseResources UP-TO-DATE
[ ] > Task :image_cropper:packageReleaseResources UP-TO-DATE
[ ] > Task :image_picker:generateReleaseResValues UP-TO-DATE
[ ] > Task :image_picker:compileReleaseRenderscript NO-SOURCE
[ ] > Task :image_picker:generateReleaseResources UP-TO-DATE
[ ] > Task :image_picker:packageReleaseResources UP-TO-DATE
[ ] > Task :path_provider:generateReleaseResValues UP-TO-DATE
[ ] > Task :path_provider:compileReleaseRenderscript NO-SOURCE
[ ] > Task :path_provider:generateReleaseResources UP-TO-DATE
[ +82 ms] > Task :path_provider:packageReleaseResources UP-TO-DATE
[ +1 ms] > Task :permission_handler:generateReleaseResValues UP-TO-DATE
[ +2 ms] > Task :permission_handler:compileReleaseRenderscript NO-SOURCE
[ +1 ms] > Task :permission_handler:generateReleaseResources UP-TO-DATE
[ +1 ms] > Task :permission_handler:packageReleaseResources UP-TO-DATE
[ +1 ms] > Task :shared_preferences:generateReleaseResValues UP-TO-DATE
[ +1 ms] > Task :shared_preferences:compileReleaseRenderscript NO-SOURCE
[ +1 ms] > Task :shared_preferences:generateReleaseResources UP-TO-DATE
[ ] > Task :shared_preferences:packageReleaseResources UP-TO-DATE
[ +1 ms] > Task :sqflite:generateReleaseResValues UP-TO-DATE
[ +1 ms] > Task :sqflite:compileReleaseRenderscript NO-SOURCE
[ +1 ms] > Task :sqflite:generateReleaseResources UP-TO-DATE
[ +1 ms] > Task :sqflite:packageReleaseResources UP-TO-DATE
[ +184 ms] > Task :app:mergeReleaseResources UP-TO-DATE
[ +1 ms] > Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
[ +1 ms] > Task :file_picker:checkReleaseManifest UP-TO-DATE
[ +1 ms] > Task :file_picker:processReleaseManifest UP-TO-DATE
[ +1 ms] > Task :firebase_auth:checkReleaseManifest UP-TO-DATE
[ +87 ms] > Task :firebase_auth:processReleaseManifest UP-TO-DATE
[ ] > Task :firebase_core:checkReleaseManifest UP-TO-DATE
[ ] > Task :firebase_core:processReleaseManifest UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:checkReleaseManifest UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:processReleaseManifest UP-TO-DATE
[ ] > Task :flutter_share:checkReleaseManifest UP-TO-DATE
[ ] > Task :flutter_share:processReleaseManifest UP-TO-DATE
[ ] > Task :fluttertoast:checkReleaseManifest UP-TO-DATE
[ ] > Task :fluttertoast:processReleaseManifest UP-TO-DATE
[ ] > Task :google_sign_in:checkReleaseManifest UP-TO-DATE
[ ] > Task :google_sign_in:processReleaseManifest UP-TO-DATE
[ ] > Task :image_cropper:checkReleaseManifest UP-TO-DATE
[ ] > Task :image_cropper:processReleaseManifest UP-TO-DATE
[ ] > Task :image_picker:checkReleaseManifest UP-TO-DATE
[ +102 ms] > Task :image_picker:processReleaseManifest UP-TO-DATE
[ ] > Task :path_provider:checkReleaseManifest UP-TO-DATE
[ ] > Task :path_provider:processReleaseManifest UP-TO-DATE
[ ] > Task :permission_handler:checkReleaseManifest UP-TO-DATE
[ ] > Task :permission_handler:processReleaseManifest UP-TO-DATE
[ ] > Task :shared_preferences:checkReleaseManifest UP-TO-DATE
[ ] > Task :shared_preferences:processReleaseManifest UP-TO-DATE
[ ] > Task :sqflite:checkReleaseManifest UP-TO-DATE
[ ] > Task :sqflite:processReleaseManifest UP-TO-DATE
[ ] > Task :app:processReleaseManifest UP-TO-DATE
[ ] > Task :file_picker:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:generateReleaseRFile UP-TO-DATE
[ ] > Task :file_picker:generateReleaseRFile UP-TO-DATE
[ +2 ms] > Task :firebase_auth:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :firebase_core:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :firebase_core:generateReleaseRFile UP-TO-DATE
[ ] > Task :firebase_auth:generateReleaseRFile UP-TO-DATE
[ +83 ms] > Task :flutter_share:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :flutter_share:generateReleaseRFile UP-TO-DATE
[ ] > Task :fluttertoast:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :google_sign_in:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :fluttertoast:generateReleaseRFile UP-TO-DATE
[ ] > Task :google_sign_in:generateReleaseRFile UP-TO-DATE
[ ] > Task :image_cropper:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :image_cropper:generateReleaseRFile UP-TO-DATE
[ ] > Task :image_picker:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :image_picker:generateReleaseRFile UP-TO-DATE
[ ] > Task :path_provider:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :path_provider:generateReleaseRFile UP-TO-DATE
[ ] > Task :permission_handler:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :permission_handler:generateReleaseRFile UP-TO-DATE
[ ] > Task :shared_preferences:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :shared_preferences:generateReleaseRFile UP-TO-DATE
[ ] > Task :sqflite:parseReleaseLibraryResources UP-TO-DATE
[ ] > Task :sqflite:generateReleaseRFile UP-TO-DATE
[ +199 ms] > Task :app:processReleaseResources UP-TO-DATE
[ ] > Task :file_picker:generateReleaseBuildConfig UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:generateReleaseBuildConfig UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:javaPreCompileRelease UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:bundleLibCompileRelease UP-TO-DATE
[ ] > Task :file_picker:javaPreCompileRelease UP-TO-DATE
[ ] > Task :file_picker:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :file_picker:bundleLibCompileRelease UP-TO-DATE
[ ] > Task :firebase_auth:generateReleaseBuildConfig UP-TO-DATE
[ ] > Task :firebase_core:generateReleaseBuildConfig UP-TO-DATE
[ ] > Task :flutter_share:generateReleaseBuildConfig UP-TO-DATE
[ +89 ms] > Task :firebase_core:javaPreCompileRelease UP-TO-DATE
[ +1 ms] > Task :firebase_core:compileReleaseJavaWithJavac UP-TO-DATE
[ +1 ms] > Task :firebase_core:bundleLibCompileRelease UP-TO-DATE
[ ] > Task :firebase_auth:javaPreCompileRelease UP-TO-DATE
[ ] > Task :firebase_auth:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :firebase_auth:bundleLibCompileRelease UP-TO-DATE
[ ] > Task :flutter_share:javaPreCompileRelease UP-TO-DATE
[ ] > Task :flutter_share:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :flutter_share:bundleLibCompileRelease UP-TO-DATE
[ ] > Task :fluttertoast:generateReleaseBuildConfig UP-TO-DATE
[ +86 ms] > Task :fluttertoast:compileReleaseKotlin UP-TO-DATE
[ +1 ms] > Task :fluttertoast:javaPreCompileRelease UP-TO-DATE
[ ] > Task :fluttertoast:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :fluttertoast:bundleLibCompileRelease UP-TO-DATE
[ ] > Task :google_sign_in:generateReleaseBuildConfig UP-TO-DATE
[ +1 ms] > Task :google_sign_in:javaPreCompileRelease UP-TO-DATE
[ +101 ms] > Task :google_sign_in:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :google_sign_in:bundleLibCompileRelease UP-TO-DATE
[ ] > Task :image_cropper:generateReleaseBuildConfig UP-TO-DATE
[ +1 ms] > Task :image_picker:generateReleaseBuildConfig UP-TO-DATE
[ ] > Task :image_cropper:javaPreCompileRelease UP-TO-DATE
[ ] > Task :image_cropper:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :image_cropper:bundleLibCompileRelease UP-TO-DATE
[ ] > Task :image_picker:javaPreCompileRelease UP-TO-DATE
[ ] > Task :image_picker:compileReleaseJavaWithJavac UP-TO-DATE
[ +87 ms] > Task :image_picker:bundleLibCompileRelease UP-TO-DATE
[ +1 ms] > Task :path_provider:generateReleaseBuildConfig UP-TO-DATE
[ +1 ms] > Task :path_provider:javaPreCompileRelease UP-TO-DATE
[ +1 ms] > Task :path_provider:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :path_provider:bundleLibCompileRelease UP-TO-DATE
[ +1 ms] > Task :permission_handler:generateReleaseBuildConfig UP-TO-DATE
[ ] > Task :permission_handler:javaPreCompileRelease UP-TO-DATE
[ +1 ms] > Task :permission_handler:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :permission_handler:bundleLibCompileRelease UP-TO-DATE
[ ] > Task :shared_preferences:generateReleaseBuildConfig UP-TO-DATE
[ ] > Task :shared_preferences:javaPreCompileRelease UP-TO-DATE
[ +84 ms] > Task :shared_preferences:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :shared_preferences:bundleLibCompileRelease UP-TO-DATE
[ +1 ms] > Task :sqflite:generateReleaseBuildConfig UP-TO-DATE
[ +1 ms] > Task :fluttertoast:processReleaseJavaRes NO-SOURCE
[ ] > Task :sqflite:javaPreCompileRelease UP-TO-DATE
[ ] > Task :sqflite:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :sqflite:bundleLibCompileRelease UP-TO-DATE
[+3497 ms] > Task :app:compileReleaseKotlin
[ ] > Task :fluttertoast:bundleLibResRelease UP-TO-DATE
[ ] > Task :fluttertoast:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :fluttertoast:createFullJarRelease UP-TO-DATE
[ ] > Task :file_picker:processReleaseJavaRes NO-SOURCE
[ ] > Task :file_picker:bundleLibResRelease UP-TO-DATE
[ ] > Task :file_picker:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :file_picker:createFullJarRelease UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:processReleaseJavaRes NO-SOURCE
[ ] > Task :flutter_plugin_android_lifecycle:bundleLibResRelease UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:createFullJarRelease UP-TO-DATE
[ +292 ms] > Task :app:javaPreCompileRelease
[ +310 ms] > Task :app:compileReleaseJavaWithJavac UP-TO-DATE
[ ] > Task :app:compileReleaseSources UP-TO-DATE
[ ] > Task :flutter_share:processReleaseJavaRes NO-SOURCE
[ ] > Task :flutter_share:bundleLibResRelease UP-TO-DATE
[ ] > Task :flutter_share:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :flutter_share:createFullJarRelease UP-TO-DATE
[ ] > Task :permission_handler:processReleaseJavaRes NO-SOURCE
[ ] > Task :permission_handler:bundleLibResRelease UP-TO-DATE
[ ] > Task :permission_handler:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :permission_handler:createFullJarRelease UP-TO-DATE
[ ] > Task :image_picker:processReleaseJavaRes NO-SOURCE
[ ] > Task :image_picker:bundleLibResRelease UP-TO-DATE
[ ] > Task :image_picker:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :image_picker:createFullJarRelease UP-TO-DATE
[ ] > Task :google_sign_in:processReleaseJavaRes NO-SOURCE
[ ] > Task :google_sign_in:bundleLibResRelease UP-TO-DATE
[ ] > Task :google_sign_in:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :google_sign_in:createFullJarRelease UP-TO-DATE
[ ] > Task :sqflite:processReleaseJavaRes NO-SOURCE
[ ] > Task :sqflite:bundleLibResRelease UP-TO-DATE
[ ] > Task :sqflite:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :sqflite:createFullJarRelease UP-TO-DATE
[ +82 ms] > Task :path_provider:processReleaseJavaRes NO-SOURCE
[ ] > Task :path_provider:bundleLibResRelease UP-TO-DATE
[ ] > Task :path_provider:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :path_provider:createFullJarRelease UP-TO-DATE
[ ] > Task :image_cropper:processReleaseJavaRes NO-SOURCE
[ ] > Task :image_cropper:bundleLibResRelease UP-TO-DATE
[ ] > Task :image_cropper:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :image_cropper:createFullJarRelease UP-TO-DATE
[ ] > Task :shared_preferences:processReleaseJavaRes NO-SOURCE
[ ] > Task :shared_preferences:bundleLibResRelease UP-TO-DATE
[ ] > Task :shared_preferences:bundleLibRuntimeRelease UP-TO-DATE
[ +1 ms] > Task :shared_preferences:createFullJarRelease UP-TO-DATE
[ ] > Task :firebase_auth:processReleaseJavaRes NO-SOURCE
[ ] > Task :firebase_auth:bundleLibResRelease UP-TO-DATE
[ ] > Task :firebase_auth:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :firebase_auth:createFullJarRelease UP-TO-DATE
[ ] > Task :firebase_core:processReleaseJavaRes NO-SOURCE
[ ] > Task :firebase_core:bundleLibResRelease UP-TO-DATE
[ ] > Task :firebase_core:bundleLibRuntimeRelease UP-TO-DATE
[ ] > Task :firebase_core:createFullJarRelease UP-TO-DATE
[ +97 ms] > Task :app:checkReleaseDuplicateClasses
[+2493 ms] > Task :app:transformClassesWithDexBuilderForRelease
[ +1 ms] > Task :app:desugarReleaseFileDependencies
[ ] > Task :app:mergeExtDexRelease UP-TO-DATE
[ +1 ms] > Task :app:mergeDexRelease UP-TO-DATE
[ +1 ms] > Task :app:processReleaseJavaRes NO-SOURCE
[ ] > Task :app:validateSigningRelease UP-TO-DATE
[ +88 ms] > Task :app:signingConfigWriterRelease UP-TO-DATE
[ +1 ms] > Task :app:mergeReleaseJniLibFolders UP-TO-DATE
[ +1 ms] > Task :file_picker:mergeReleaseJniLibFolders UP-TO-DATE
[ +104 ms] > Task :file_picker:mergeReleaseNativeLibs UP-TO-DATE
[ +1 ms] > Task :file_picker:stripReleaseDebugSymbols UP-TO-DATE
[ ] > Task :file_picker:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ +1 ms] > Task :firebase_auth:mergeReleaseJniLibFolders UP-TO-DATE
[ ] > Task :firebase_auth:mergeReleaseNativeLibs UP-TO-DATE
[ ] > Task :firebase_auth:stripReleaseDebugSymbols UP-TO-DATE
[ ] > Task :firebase_auth:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ ] > Task :firebase_core:mergeReleaseJniLibFolders UP-TO-DATE
[ ] > Task :firebase_core:mergeReleaseNativeLibs UP-TO-DATE
[ ] > Task :firebase_core:stripReleaseDebugSymbols UP-TO-DATE
[ ] > Task :firebase_core:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseJniLibFolders UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseNativeLibs UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:stripReleaseDebugSymbols UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ ] > Task :flutter_share:mergeReleaseJniLibFolders UP-TO-DATE
[ +81 ms] > Task :flutter_share:mergeReleaseNativeLibs UP-TO-DATE
[ +1 ms] > Task :flutter_share:stripReleaseDebugSymbols UP-TO-DATE
[ +1 ms] > Task :flutter_share:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ +1 ms] > Task :fluttertoast:mergeReleaseJniLibFolders UP-TO-DATE
[ ] > Task :fluttertoast:mergeReleaseNativeLibs UP-TO-DATE
[ +1 ms] > Task :fluttertoast:stripReleaseDebugSymbols UP-TO-DATE
[ ] > Task :fluttertoast:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ ] > Task :google_sign_in:mergeReleaseJniLibFolders UP-TO-DATE
[ ] > Task :google_sign_in:mergeReleaseNativeLibs UP-TO-DATE
[ ] > Task :google_sign_in:stripReleaseDebugSymbols UP-TO-DATE
[ ] > Task :google_sign_in:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ ] > Task :image_cropper:mergeReleaseJniLibFolders UP-TO-DATE
[ ] > Task :image_cropper:mergeReleaseNativeLibs UP-TO-DATE
[ ] > Task :image_cropper:stripReleaseDebugSymbols UP-TO-DATE
[ ] > Task :image_cropper:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ ] > Task :image_picker:mergeReleaseJniLibFolders UP-TO-DATE
[ ] > Task :image_picker:mergeReleaseNativeLibs UP-TO-DATE
[ ] > Task :image_picker:stripReleaseDebugSymbols UP-TO-DATE
[ ] > Task :image_picker:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ +97 ms] > Task :path_provider:mergeReleaseJniLibFolders UP-TO-DATE
[ +1 ms] > Task :path_provider:mergeReleaseNativeLibs UP-TO-DATE
[ +1 ms] > Task :path_provider:stripReleaseDebugSymbols UP-TO-DATE
[ +1 ms] > Task :path_provider:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ +1 ms] > Task :permission_handler:mergeReleaseJniLibFolders UP-TO-DATE
[ +1 ms] > Task :permission_handler:mergeReleaseNativeLibs UP-TO-DATE
[ +1 ms] > Task :permission_handler:stripReleaseDebugSymbols UP-TO-DATE
[ +1 ms] > Task :permission_handler:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ ] > Task :shared_preferences:mergeReleaseJniLibFolders UP-TO-DATE
[ ] > Task :shared_preferences:mergeReleaseNativeLibs UP-TO-DATE
[ ] > Task :shared_preferences:stripReleaseDebugSymbols UP-TO-DATE
[ +1 ms] > Task :shared_preferences:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ +1 ms] > Task :sqflite:mergeReleaseJniLibFolders UP-TO-DATE
[ ] > Task :sqflite:mergeReleaseNativeLibs UP-TO-DATE
[ ] > Task :sqflite:stripReleaseDebugSymbols UP-TO-DATE
[ ] > Task :sqflite:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
[ +77 ms] > Task :file_picker:extractReleaseAnnotations UP-TO-DATE
[ +1 ms] > Task :file_picker:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ +1 ms] > Task :file_picker:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :file_picker:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :file_picker:mergeReleaseJavaResource UP-TO-DATE
[ ] > Task :file_picker:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ ] > Task :file_picker:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ ] > Task :file_picker:bundleReleaseAar UP-TO-DATE
[ +1 ms] > Task :file_picker:compileReleaseSources UP-TO-DATE
[ +1 ms] > Task :firebase_auth:extractReleaseAnnotations UP-TO-DATE
[ +83 ms] > Task :file_picker:mergeReleaseResources UP-TO-DATE
[ +1 ms] > Task :file_picker:verifyReleaseResources UP-TO-DATE
[ ] > Task :file_picker:assembleRelease UP-TO-DATE
[ ] > Task :firebase_auth:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ +106 ms] > Task :firebase_auth:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :firebase_auth:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :firebase_auth:mergeReleaseJavaResource UP-TO-DATE
[ +1 ms] > Task :firebase_auth:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ ] > Task :firebase_auth:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ +1 ms] > Task :firebase_auth:bundleReleaseAar UP-TO-DATE
[ ] > Task :firebase_auth:compileReleaseSources UP-TO-DATE
[ ] > Task :firebase_core:extractReleaseAnnotations UP-TO-DATE
[ ] > Task :firebase_auth:mergeReleaseResources UP-TO-DATE
[ +84 ms] > Task :firebase_auth:verifyReleaseResources UP-TO-DATE
[ ] > Task :firebase_auth:assembleRelease UP-TO-DATE
[ ] > Task :firebase_core:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ ] > Task :firebase_core:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ ] > Task :firebase_core:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :firebase_core:mergeReleaseJavaResource UP-TO-DATE
[ ] > Task :firebase_core:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ ] > Task :firebase_core:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ ] > Task :firebase_core:bundleReleaseAar UP-TO-DATE
[ ] > Task :firebase_core:compileReleaseSources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:extractReleaseAnnotations UP-TO-DATE
[ +100 ms] > Task :firebase_core:mergeReleaseResources UP-TO-DATE
[ +1 ms] > Task :firebase_core:verifyReleaseResources UP-TO-DATE
[ ] > Task :firebase_core:assembleRelease UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:mergeReleaseJavaResource UP-TO-DATE
[ +85 ms] > Task :flutter_plugin_android_lifecycle:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:bundleReleaseAar UP-TO-DATE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:compileReleaseSources UP-TO-DATE
[ ] > Task :flutter_share:extractReleaseAnnotations UP-TO-DATE
[ +199 ms] > Task :flutter_plugin_android_lifecycle:mergeReleaseResources UP-TO-DATE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:verifyReleaseResources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:assembleRelease UP-TO-DATE
[ +90 ms] > Task :flutter_share:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ +1 ms] > Task :flutter_share:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ ] > Task :flutter_share:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :flutter_share:mergeReleaseJavaResource UP-TO-DATE
[ ] > Task :flutter_share:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ ] > Task :flutter_share:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ ] > Task :flutter_share:bundleReleaseAar UP-TO-DATE
[ ] > Task :flutter_share:compileReleaseSources UP-TO-DATE
[ ] > Task :fluttertoast:extractReleaseAnnotations UP-TO-DATE
[ +303 ms] > Task :flutter_share:mergeReleaseResources UP-TO-DATE
[ +92 ms] > Task :flutter_share:verifyReleaseResources UP-TO-DATE
[ ] > Task :flutter_share:assembleRelease UP-TO-DATE
[ ] > Task :fluttertoast:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ ] > Task :fluttertoast:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ ] > Task :fluttertoast:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :fluttertoast:mergeReleaseJavaResource UP-TO-DATE
[ ] > Task :fluttertoast:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ ] > Task :fluttertoast:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ ] > Task :fluttertoast:bundleReleaseAar UP-TO-DATE
[ ] > Task :fluttertoast:compileReleaseSources UP-TO-DATE
[ ] > Task :google_sign_in:extractReleaseAnnotations UP-TO-DATE
[ +195 ms] > Task :fluttertoast:mergeReleaseResources UP-TO-DATE
[ +1 ms] > Task :fluttertoast:verifyReleaseResources UP-TO-DATE
[ +1 ms] > Task :fluttertoast:assembleRelease UP-TO-DATE
[ +1 ms] > Task :google_sign_in:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ ] > Task :google_sign_in:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ ] > Task :google_sign_in:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :google_sign_in:mergeReleaseJavaResource UP-TO-DATE
[ ] > Task :google_sign_in:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ ] > Task :google_sign_in:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ ] > Task :google_sign_in:bundleReleaseAar UP-TO-DATE
[ +1 ms] > Task :google_sign_in:compileReleaseSources UP-TO-DATE
[ +95 ms] > Task :image_cropper:extractReleaseAnnotations UP-TO-DATE
[ +188 ms] > Task :google_sign_in:mergeReleaseResources UP-TO-DATE
[ +107 ms] > Task :google_sign_in:verifyReleaseResources UP-TO-DATE
[ ] > Task :google_sign_in:assembleRelease UP-TO-DATE
[ ] > Task :image_cropper:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ ] > Task :image_cropper:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ ] > Task :image_cropper:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :image_cropper:mergeReleaseJavaResource UP-TO-DATE
[ +1 ms] > Task :image_cropper:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ +1 ms] > Task :image_cropper:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ +1 ms] > Task :image_cropper:bundleReleaseAar UP-TO-DATE
[ +1 ms] > Task :image_cropper:compileReleaseSources UP-TO-DATE
[ ] > Task :image_picker:extractReleaseAnnotations UP-TO-DATE
[ +286 ms] > Task :image_cropper:mergeReleaseResources UP-TO-DATE
[ +201 ms] > Task :image_cropper:verifyReleaseResources UP-TO-DATE
[ +1 ms] > Task :image_cropper:assembleRelease UP-TO-DATE
[ +1 ms] > Task :image_picker:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ +1 ms] > Task :image_picker:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :image_picker:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :image_picker:mergeReleaseJavaResource UP-TO-DATE
[ +1 ms] > Task :image_picker:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ +1 ms] > Task :image_picker:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ +82 ms] > Task :image_picker:bundleReleaseAar UP-TO-DATE
[ +1 ms] > Task :image_picker:compileReleaseSources UP-TO-DATE
[ +1 ms] > Task :path_provider:extractReleaseAnnotations UP-TO-DATE
[ +108 ms] > Task :image_picker:mergeReleaseResources UP-TO-DATE
[ ] > Task :image_picker:verifyReleaseResources UP-TO-DATE
[ +1 ms] > Task :image_picker:assembleRelease UP-TO-DATE
[ +92 ms] > Task :path_provider:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ +1 ms] > Task :path_provider:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ +1 ms] > Task :path_provider:prepareLintJarForPublish UP-TO-DATE
[ +1 ms] > Task :path_provider:mergeReleaseJavaResource UP-TO-DATE
[ +1 ms] > Task :path_provider:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ ] > Task :path_provider:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ +1 ms] > Task :path_provider:bundleReleaseAar UP-TO-DATE
[ +1 ms] > Task :path_provider:compileReleaseSources UP-TO-DATE
[ ] > Task :permission_handler:extractReleaseAnnotations UP-TO-DATE
[ +697 ms] > Task :path_provider:mergeReleaseResources UP-TO-DATE
[ +295 ms] > Task :path_provider:verifyReleaseResources UP-TO-DATE
[ ] > Task :path_provider:assembleRelease UP-TO-DATE
[ ] > Task :permission_handler:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ ] > Task :permission_handler:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ ] > Task :permission_handler:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :permission_handler:mergeReleaseJavaResource UP-TO-DATE
[ ] > Task :permission_handler:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ ] > Task :permission_handler:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ ] > Task :permission_handler:bundleReleaseAar UP-TO-DATE
[ ] > Task :permission_handler:compileReleaseSources UP-TO-DATE
[ ] > Task :app:mergeReleaseJavaResource
[ +88 ms] > Task :app:mergeReleaseNativeLibs
[ +107 ms] > Task :app:stripReleaseDebugSymbols
[ ] Compatible side by side NDK version was not found.
[ ] Unable to strip library 'F:\techkets_scan_docs\techkets_scan_docs\build\app\intermediates\merged_native_libs\release\out\lib\arm64-v8a\libapp.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
[+6201 ms] > Task :app:packageRelease
[ +190 ms] > Task :app:assembleRelease
[ ] > Task :shared_preferences:extractReleaseAnnotations UP-TO-DATE
[ +201 ms] > Task :permission_handler:mergeReleaseResources UP-TO-DATE
[ +94 ms] > Task :permission_handler:verifyReleaseResources UP-TO-DATE
[ ] > Task :permission_handler:assembleRelease UP-TO-DATE
[ ] > Task :shared_preferences:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ ] > Task :shared_preferences:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ ] > Task :shared_preferences:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :shared_preferences:mergeReleaseJavaResource UP-TO-DATE
[ ] > Task :shared_preferences:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ ] > Task :shared_preferences:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ ] > Task :shared_preferences:bundleReleaseAar UP-TO-DATE
[ ] > Task :shared_preferences:compileReleaseSources UP-TO-DATE
[ ] > Task :sqflite:extractReleaseAnnotations UP-TO-DATE
[ +400 ms] > Task :shared_preferences:mergeReleaseResources UP-TO-DATE
[ ] > Task :shared_preferences:verifyReleaseResources UP-TO-DATE
[ ] > Task :shared_preferences:assembleRelease UP-TO-DATE
[ ] > Task :sqflite:mergeReleaseGeneratedProguardFiles UP-TO-DATE
[ ] > Task :sqflite:mergeReleaseConsumerProguardFiles UP-TO-DATE
[ ] > Task :sqflite:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :sqflite:mergeReleaseJavaResource UP-TO-DATE
[ ] > Task :sqflite:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[ +1 ms] > Task :sqflite:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[ ] > Task :sqflite:bundleReleaseAar UP-TO-DATE
[ ] > Task :sqflite:compileReleaseSources UP-TO-DATE
[ +198 ms] > Task :sqflite:mergeReleaseResources UP-TO-DATE
[ +93 ms] > Task :sqflite:verifyReleaseResources UP-TO-DATE
[ ] > Task :sqflite:assembleRelease UP-TO-DATE
[ ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[ ] Use '--warning-mode all' to show the individual deprecation warnings.
[ ] See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings
[ +1 ms] BUILD SUCCESSFUL in 2m 8s
[ ] 423 actionable tasks: 15 executed, 408 up-to-date
[ +678 ms] Running Gradle task 'assembleRelease'... (completed in 130.0s, longer than expected)
[ +73 ms] calculateSha: LocalDirectory: 'F:\techkets_scan_docs\techkets_scan_docs\build\app\outputs\flutter-apk'/app.apk
[ +37 ms] calculateSha: reading file took 36us
[ +475 ms] calculateSha: computing sha took 474us
[ +24 ms] √ Built build\app\outputs\flutter-apk\app-release.apk (11.2MB).
[ +25 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree F:\techkets_scan_docs\techkets_scan_docs\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +142 ms] Exit code 0 from: C:\Users\kanah\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree F:\techkets_scan_docs\techkets_scan_docs\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ ] 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)0x1d
A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
A: package="com.techkets_scan_docs" (Raw: "com.techkets_scan_docs")
A: platformBuildVersionCode=(type 0x10)0x1d
A: platformBuildVersionName=(type 0x10)0xa
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
E: uses-permission (line=17)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=18)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=19)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
E: uses-permission (line=20)
A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
E: uses-permission (line=21)
A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
E: uses-permission (line=22)
A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
E: uses-permission (line=23)
A: android:name(0x01010003)="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" (Raw: "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE")
E: application (line=25)
A: android:label(0x01010001)="techkets_scan_docs" (Raw: "techkets_scan_docs")
A: android:icon(0x01010002)=@0x7f0c0000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=30)
A: android:theme(0x01010000)=@0x7f0e0109
A: android:name(0x01010003)="com.yalantis.ucrop.UCropActivity" (Raw: "com.yalantis.ucrop.UCropActivity")
A: android:screenOrientation(0x0101001e)=(type 0x10)0x1
E: activity (line=34)
A: android:theme(0x01010000)=@0x7f0e00a1
A: android:name(0x01010003)="com.techkets_scan_docs.MainActivity" (Raw: "com.techkets_scan_docs.MainActivity")
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=48)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0e00a2
E: meta-data (line=58)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f060074
E: intent-filter (line=62)
E: action (line=63)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=65)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=72)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: provider (line=76)
A: android:name(0x01010003)="androidx.core.content.FileProvider" (Raw: "androidx.core.content.FileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.techkets_scan_docs.provider" (Raw: "com.techkets_scan_docs.provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=81)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f100001
E: provider (line=85)
A: android:name(0x01010003)="io.flutter.plugins.imagepicker.ImagePickerFileProvider" (Raw: "io.flutter.plugins.imagepicker.ImagePickerFileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.techkets_scan_docs.flutter.image_provider" (Raw: "com.techkets_scan_docs.flutter.image_provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=90)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f100000
E: service (line=95)
A: android:name(0x01010003)="com.google.firebase.components.ComponentDiscoveryService" (Raw: "com.google.firebase.components.ComponentDiscoveryService")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
E: meta-data (line=99)
A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFirebaseAppRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=102)
A: android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebaseAppRegistrar" (Raw: "com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebaseAppRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=105)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=108)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=111)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: activity (line=116)
A: android:theme(0x01010000)=@0x01030010
A: android:name(0x01010003)="com.google.firebase.auth.internal.FederatedSignInActivity" (Raw: "com.google.firebase.auth.internal.FederatedSignInActivity")
A: android:permission(0x01010006)="com.google.firebase.auth.api.gms.permission.LAUNCH_FEDERATED_SIGN_IN" (Raw: "com.google.firebase.auth.api.gms.permission.LAUNCH_FEDERATED_SIGN_IN")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
A: android:launchMode(0x0101001d)=(type 0x10)0x2
E: receiver (line=124)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementReceiver" (Raw: "com.google.android.gms.measurement.AppMeasurementReceiver")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: service (line=130)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementService" (Raw: "com.google.android.gms.measurement.AppMeasurementService")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: service (line=134)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementJobService" (Raw: "com.google.android.gms.measurement.AppMeasurementJobService")
A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: activity (line=140)
A: android:theme(0x01010000)=@0x01030010
A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.internal.SignInHubActivity" (Raw: "com.google.android.gms.auth.api.signin.internal.SignInHubActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
E: service (line=149)
A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.RevocationBoundService" (Raw: "com.google.android.gms.auth.api.signin.RevocationBoundService")
A: android:permission(0x01010006)="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION" (Raw: "com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
E: provider (line=154)
A: android:name(0x01010003)="com.google.firebase.provider.FirebaseInitProvider" (Raw: "com.google.firebase.provider.FirebaseInitProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.techkets_scan_docs.firebaseinitprovider" (Raw: "com.techkets_scan_docs.firebaseinitprovider")
A: android:initOrder(0x0101001a)=(type 0x10)0x64
E: activity (line=160)
A: android:theme(0x01010000)=@0x01030010
A: android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity" (Raw: "com.google.android.gms.common.api.GoogleApiActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
E: meta-data (line=165)
A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
A: android:value(0x01010024)=@0x7f080004
[ +21 ms] Stopping app 'app.apk' on Mi A2.
[ +3 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell am force-stop com.techkets_scan_docs
[ +124 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell pm list packages com.techkets_scan_docs
[ +118 ms] package:com.techkets_scan_docs
[ +8 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell cat /data/local/tmp/sky.com.techkets_scan_docs.sha1
[ +103 ms] a3feffe1fc7c39ce7027a27fbd0d83843a665414
[ +2 ms] Installing APK.
[ +7 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +70 ms] Android Debug Bridge version 1.0.41
Version 30.0.3-6597393
Installed as C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +2 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +47 ms] Installing build\app\outputs\flutter-apk\app.apk...
[ ] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 install -t -r F:\techkets_scan_docs\techkets_scan_docs\build\app\outputs\flutter-apk\app.apk
[+4073 ms] Performing Streamed Install
Success
[ ] Installing build\app\outputs\flutter-apk\app.apk... (completed in 4.1s)
[ +4 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell echo -n 289593602c2b9c6497b46d078dfaa6b2c6939cbc > /data/local/tmp/sky.com.techkets_scan_docs.sha1
[ +156 ms] Mi A2 startApp
[ +5 ms] executing: C:\Users\kanah\AppData\Local\Android\sdk\platform-tools\adb.exe -s e8eacc41 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true com.techkets_scan_docs/com.techkets_scan_docs.MainActivity
[ +494 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.techkets_scan_docs/.MainActivity (has extras) }
[ +11 ms] Application running.
[ +6 ms] Flutter run key commands.
[ +6 ms] h Repeat this help message.
[ +2 ms] c Clear the screen
[ +1 ms] q Quit (terminate the application on the device).
[+3842 ms] I/flutter (16038): [DocumentModel{id: 4, docName: zumba, docDate: 1598346505434, docImageList: [/data/user/0/com.techkets_scan_docs/app_flutter/GdHIqg6I66ogp5Q7QFc7.png]}, DocumentModel{id: 7, docName: New Document, docDate: 1598346934190, docImageList: [/data/user/0/com.techkets_scan_docs/app_flutter/9H8bTrAI4TmmYTsAA2KZ.png, /data/user/0/com.techkets_scan_docs/app_flutter/OJV8KOyVjwGLipLQj5LU.png, /data/user/0/com.techkets_scan_docs/app_flutter/h8Tx7zWzfzefTDWMTM71.png, /data/user/0/com.techkets_scan_docs/app_flutter/HDKjCL1iLVR3yHeBRkfq.png]}]
[ +1 ms] I/flutter (16038): [DocumentModel{id: 4, docName: zumba, docDate: 1598346505434, docImageList: [/data/user/0/com.techkets_scan_docs/app_flutter/GdHIqg6I66ogp5Q7QFc7.png]}, DocumentModel{id: 7, docName: New Document, docDate: 1598346934190, docImageList: [/data/user/0/com.techkets_scan_docs/app_flutter/9H8bTrAI4TmmYTsAA2KZ.png, /data/user/0/com.techkets_scan_docs/app_flutter/OJV8KOyVjwGLipLQj5LU.png, /data/user/0/com.techkets_scan_docs/app_flutter/h8Tx7zWzfzefTDWMTM71.png, /data/user/0/com.techkets_scan_docs/app_flutter/HDKjCL1iLVR3yHeBRkfq.png]}]
[ ] I/flutter (16038): [DocumentModel{id: 7, docName: New Document, docDate: 1598346934190, docImageList: [/data/user/0/com.techkets_scan_docs/app_flutter/9H8bTrAI4TmmYTsAA2KZ.png, /data/user/0/com.techkets_scan_docs/app_flutter/OJV8KOyVjwGLipLQj5LU.png, /data/user/0/com.techkets_scan_docs/app_flutter/h8Tx7zWzfzefTDWMTM71.png, /data/user/0/com.techkets_scan_docs/app_flutter/HDKjCL1iLVR3yHeBRkfq.png]}, DocumentModel{id: 4, docName: zumba, docDate: 1598346505434, docImageList: [/data/user/0/com.techkets_scan_docs/app_flutter/GdHIqg6I66ogp5Q7QFc7.png]}]
Hi @kanahaiya-varshney
Your logs are not from flutter create myapp since your logs show third party packages
Isolate the code that causing APK issue and provide a minimal complete reproducible code sample
Thank you
Hey @TahaTesser, other projects are working fine. There is no issue in building and running other projects or flutter create myapp project. I am facing issue with this one only, initially, I was building the project in beta channel and then I switched to dev channel. IDK where the actual problem is, logs are clean everywhere also while building the apk and after successfully installing the application is not working, its getting freeze on splash screen.
Hiii @TahaTesser @sidrao2006 @Abhishek01039
Thank you! all, for your help and for giving your precious time for this issue.
There was a problem in one of the plugins which I was using because of which the building apk was not working properly.
Thanks!! I am closing this issue now.
| gharchive/issue | 2020-08-25T06:23:54 | 2025-04-01T06:44:12.419477 | {
"authors": [
"Abhishek01039",
"TahaTesser",
"kanahaiya-varshney",
"sidrao2006"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/64536",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
739356480 | Get request in bad format
I have this problem
When I make the request to my backend, flutter receives the json with a bad format, as you can see in the image
But there are times when if you receive the request well and process it properly, the error is totally random. This happens mostly when the request result is large
Now, if I make the request by another means, such as postman or even the same browser, the request always comes in handy.
@EnmanuelAlx
Not sure if this issue is related to Flutter framework, as you said flutter receives the json with a bad format which indicates the data in bad format could be coming from the backend you are calling. Flutter processes the json from the server / backend and then decodes it to render in UI.
Please see https://flutter.dev/community for resources, 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
| gharchive/issue | 2020-11-09T20:55:46 | 2025-04-01T06:44:12.428259 | {
"authors": [
"EnmanuelAlx",
"darshankawar"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/70127",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
772610318 | textfield in the Dismissible ,build mothed of page be reload
1 step : showPopView;
2 step : select the textfield,then keyboard cannot show
in ios
`import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: 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 simply save your changes to "hot reload" in a Flutter IDE).
// Notice that the counter didn't reset back to zero; the application
// is not restarted.
primarySwatch: Colors.blue,
// This makes the visual density adapt to the platform that you run
// the app on. For desktop platforms, the controls will be smaller and
// closer together (more dense) than on mobile platforms.
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: 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() => _MyHomePageState();
}
class _MyHomePageState extends State {
build(BuildContext context) {
print("reload");
return Scaffold(
resizeToAvoidBottomPadding: false,
backgroundColor: Color(0xFFF7F7F7),
appBar: AppBar(
title: Text("测试"),
),
body: Container(
child: Column(
children: [
Expanded(
child: goodsListView(),
),
],
),
),
);
}
Widget goodsListView() {
return Scaffold(
resizeToAvoidBottomPadding:true,
body: ListView.builder(
padding: EdgeInsets.only(top: 5,bottom: 5),
itemCount: 1,
itemBuilder: (BuildContext context, int index) {
return Dismissible(
key: UniqueKey(),
child: Container(
padding: EdgeInsets.symmetric(horizontal: 10, vertical: 5),
height: 100,
child: addGodsItem(context,index),
),
background: Container(
alignment: Alignment.center,
color: Colors.red,
child: ListTile(
trailing: Icon(Icons.delete,color: Colors.white,),
),
),
);
},
),
);
}
Widget addGodsItem(BuildContext context,int index) {
print("$index");
var model = "widget.goodsList[index]";
return Container(
color: Colors.amberAccent,
child: Column(
children: [
SizedBox(height: 10,),
InkWell(
onTap: () {
showSkuSelectView(context);
},
child: Text("showCupertinoModalPopup"),
),
TextField(
textAlign: TextAlign.center,
maxLines: 1,
textInputAction: TextInputAction.done,
)
],
),
);
}
void showSkuSelectView(BuildContext context) {
//选择当前选中的按钮
showCupertinoModalPopup(
context: context,
semanticsDismissible: true,
builder: (cxt) {
return Material(
color: Colors.white.withOpacity(0),
child: Container(
height: 200,
width: double.infinity,
color: Colors.white,
),
);
});
}
}`
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: 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 simply save your changes to "hot reload" in a Flutter IDE).
// Notice that the counter didn't reset back to zero; the application
// is not restarted.
primarySwatch: Colors.blue,
// This makes the visual density adapt to the platform that you run
// the app on. For desktop platforms, the controls will be smaller and
// closer together (more dense) than on mobile platforms.
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: 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() => _MyHomePageState();
}
class _MyHomePageState extends State {
build(BuildContext context) {
print("reload");
return Scaffold(
resizeToAvoidBottomPadding: false,
backgroundColor: Color(0xFFF7F7F7),
appBar: AppBar(
title: Text("测试"),
),
body: Container(
child: Column(
children: [
Expanded(
child: goodsListView(),
),
],
),
),
);
}
Widget goodsListView() {
return Scaffold(
resizeToAvoidBottomPadding:true,
body: ListView.builder(
padding: EdgeInsets.only(top: 5,bottom: 5),
itemCount: 1,
itemBuilder: (BuildContext context, int index) {
return Dismissible(
key: UniqueKey(),
child: Container(
padding: EdgeInsets.symmetric(horizontal: 10, vertical: 5),
height: 100,
child: addGodsItem(context,index),
),
background: Container(
alignment: Alignment.center,
color: Colors.red,
child: ListTile(
trailing: Icon(Icons.delete,color: Colors.white,),
),
),
);
},
),
);
}
Widget addGodsItem(BuildContext context,int index) {
print("$index");
var model = "widget.goodsList[index]";
return Container(
color: Colors.amberAccent,
child: Column(
children: [
SizedBox(height: 10,),
InkWell(
onTap: () {
showSkuSelectView(context);
},
child: Text("showCupertinoModalPopup"),
),
TextField(
textAlign: TextAlign.center,
maxLines: 1,
textInputAction: TextInputAction.done,
)
],
),
);
}
void showSkuSelectView(BuildContext context) {
//选择当前选中的按钮
showCupertinoModalPopup(
context: context,
semanticsDismissible: true,
builder: (cxt) {
return Material(
color: Colors.white.withOpacity(0),
child: Container(
height: 200,
width: double.infinity,
color: Colors.white,
),
);
});
}
}
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: 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 simply save your changes to "hot reload" in a Flutter IDE).
// Notice that the counter didn't reset back to zero; the application
// is not restarted.
primarySwatch: Colors.blue,
// This makes the visual density adapt to the platform that you run
// the app on. For desktop platforms, the controls will be smaller and
// closer together (more dense) than on mobile platforms.
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: 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() => _MyHomePageState();
}
class _MyHomePageState extends State {
build(BuildContext context) {
print("reload");
return Scaffold(
resizeToAvoidBottomPadding: false,
backgroundColor: Color(0xFFF7F7F7),
appBar: AppBar(
title: Text("测试"),
),
body: Container(
child: Column(
children: [
Expanded(
child: goodsListView(),
),
],
),
),
);
}
Widget goodsListView() {
return Scaffold(
resizeToAvoidBottomPadding:true,
body: ListView.builder(
padding: EdgeInsets.only(top: 5,bottom: 5),
itemCount: 1,
itemBuilder: (BuildContext context, int index) {
return Dismissible(
key: UniqueKey(),
child: Container(
padding: EdgeInsets.symmetric(horizontal: 10, vertical: 5),
height: 100,
child: addGodsItem(context,index),
),
background: Container(
alignment: Alignment.center,
color: Colors.red,
child: ListTile(
trailing: Icon(Icons.delete,color: Colors.white,),
),
),
);
},
),
);
}
Widget addGodsItem(BuildContext context,int index) {
print("$index");
var model = "widget.goodsList[index]";
return Container(
color: Colors.amberAccent,
child: Column(
children: [
SizedBox(height: 10,),
InkWell(
onTap: () {
showSkuSelectView(context);
},
child: Text("showCupertinoModalPopup"),
),
TextField(
textAlign: TextAlign.center,
maxLines: 1,
textInputAction: TextInputAction.done,
)
],
),
);
}
void showSkuSelectView(BuildContext context) {
//选择当前选中的按钮
showCupertinoModalPopup(
context: context,
semanticsDismissible: true,
builder: (cxt) {
return Material(
color: Colors.white.withOpacity(0),
child: Container(
height: 200,
width: double.infinity,
color: Colors.white,
),
);
});
}
}
Hi @butterflyXX
Can you please provide your flutter doctor -v and the clear steps to reproduce the issue?
Thank you
flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.5 19F101 darwin-x64,
locale zh-Hans-CN)
• Flutter version 1.22.4 at /Users/liuxiaochen/opt/flutter
• Framework revision 1aafb3a8b9 (6 weeks ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/liuxiaochen/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /Users/liuxiaochen/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_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.0.beta.2
[✓] 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)
[✓] VS Code (version 1.51.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.10.2
[✓] Connected device (1 available)
• iPhone (4) (mobile) • 00008030-00166DDE21D8802E • ios • iOS 13.6.1
• No issues found!
1 step: hit the "showCupertinoModalPopup" button, then cancel it.
2 step: click textField, the keyboard doesn't pop up
in iOS
@pedromassangocode
Reproducible on latest master channel.
Code
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
print("reload");
return Scaffold(
resizeToAvoidBottomPadding: false,
backgroundColor: Color(0xFFF7F7F7),
appBar: AppBar(
title: Text("测试"),
),
body: Container(
child: Column(
children: [
Expanded(
child: goodsListView(),
),
],
),
),
);
}
Widget goodsListView() {
return ListView.builder(
padding: EdgeInsets.only(top: 5,bottom: 5),
itemCount: 1,
itemBuilder: (BuildContext context, int index) {
return Dismissible(
key: UniqueKey(),
child: Container(
padding: EdgeInsets.symmetric(horizontal: 10, vertical: 5),
height: 100,
child: addGodsItem(context,index),
),
background: Container(
alignment: Alignment.center,
color: Colors.red,
child: ListTile(
trailing: Icon(Icons.delete,color: Colors.white,),
),
),
);
},
);
}
Widget addGodsItem(BuildContext context,int index) {
print("$index");
return Container(
color: Colors.amberAccent,
child: Column(
children: [
SizedBox(height: 10,),
InkWell(
onTap: () {
showSkuSelectView(context);
},
child: Text("showCupertinoModalPopup"),
),
TextField(
textAlign: TextAlign.center,
maxLines: 1,
textInputAction: TextInputAction.done,
)
],
),
);
}
void showSkuSelectView(BuildContext context) {
// using showModalBottomSheet does not cause the issue
showCupertinoModalPopup(
context: context,
//semanticsDismissible: true,
builder: (cxt) {
return Material(
color: Colors.white.withOpacity(0),
child: Container(
height: 200,
width: double.infinity,
color: Colors.white,
),
);
});
}
}
flutter doctor
[✓] Flutter (Channel master, 1.26.0-2.0.pre.103, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
• Flutter version 1.26.0-2.0.pre.103 at /Users/pedromassango/dev/SDKs/flutter_master
• Framework revision 32741c0ec8 (12 hours ago), 2020-12-21 18:34:02 -0600
• Engine revision af6889a600
• Dart version 2.12.0 (build 2.12.0-169.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/pedromassango/Library/Android/sdk
• Platform android-30, build-tools 30.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-6915495)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 12.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.1, Build version 12A7403
! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
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 upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] 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 Community Edition (version 2020.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 52.1.5
• Dart plugin version 203.5981.152
[✓] VS Code (version 1.51.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.16.0
[✓] Connected device (3 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• macOS (desktop) • macos • darwin-x64 • Mac OS X 10.15.7 19H2 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88
! Doctor found issues in 1 category.
Process finished with exit code 0
cc @gspencergoog @justinmc
This doesn't seem to be a framework issue. The Dismissible is given a different key every build so the subtree keeps getting re-inflated. Closing.
| gharchive/issue | 2020-12-22T03:33:52 | 2025-04-01T06:44:12.478578 | {
"authors": [
"LongCatIsLooong",
"butterflyXX",
"chunhtai",
"pedromassangocode"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/72771",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
789448041 | Tag crash reports with a commit hash and aggregate crashes on master channel
In order to make crash logs more viewable, we should condense multiple master channel versions into a single crash version. For example, -pre203 and -pre202 could both be compressed into -pre200. No other channels would have this applied.
This would require the specific commit be added to the additional fields.
/cc @christopherfujino
| gharchive/issue | 2021-01-19T22:55:40 | 2025-04-01T06:44:12.481356 | {
"authors": [
"jonahwilliams",
"zanderso"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/74268",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
841162381 | NestedScrollView failed assertion 'extra >= 0.0': is not true on short ballistic drags with BouncingScrollPhysics
refer to the title
this might be tough to reproduce, but this happens regularly to me
logs
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during performLayout():
'package:flutter/src/widgets/nested_scroll_view.dart': Failed assertion: line 955 pos 16: 'extra >=
0.0': 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
The relevant error-causing widget was:
CustomScrollView file:///C:/dev/projects/native/app/lib/main.dart:38:15
When the exception was thrown, this was the stack:
#2 _NestedScrollCoordinator._getMetrics (package:flutter/src/widgets/nested_scroll_view.dart:955:16)
#3 _NestedScrollCoordinator.createInnerBallisticScrollActivity (package:flutter/src/widgets/nested_scroll_view.dart:923:9)
#4 _NestedInnerBallisticScrollActivity.applyNewDimensions (package:flutter/src/widgets/nested_scroll_view.dart:1632:40)
#5 ScrollPosition.applyNewDimensions (package:flutter/src/widgets/scroll_position.dart:593:15)
#6 _NestedScrollPosition.applyNewDimensions (package:flutter/src/widgets/nested_scroll_view.dart:1582:11)
#7 ScrollPosition.applyContentDimensions (package:flutter/src/widgets/scroll_position.dart:533:7)
#8 RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1481:20)
#9 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#10 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:117:14)
#11 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#12 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:117:14)
#13 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#14 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:117:14)
#15 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#16 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:117:14)
#17 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#18 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:117:14)
#19 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#20 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:117:14)
#21 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#22 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:117:14)
#23 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#24 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:117:14)
#25 RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:545:11)
#26 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#27 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:117:14)
#28 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#29 RenderSliverFillRemainingWithScrollable.performLayout (package:flutter/src/rendering/sliver_fill.dart:92:14)
#30 RenderObject.layout (package:flutter/src/rendering/object.dart:1783:7)
#31 RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:510:13)
#32 RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1568:12)
#33 RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1477:20)
#34 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1640:7)
#35 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:883:18)
#36 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:463:19)
#37 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:876:13)
#38 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:329:5)
#39 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#40 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
#41 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
#45 _invoke (dart:ui/hooks.dart:167:10)
#46 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
#47 _drawFrame (dart:ui/hooks.dart:126:31)
(elided 5 frames from class _AssertionError and dart:async)
The following RenderObject was being processed when the exception was fired: RenderViewport#8d4d5 NEEDS-LAYOUT NEEDS-PAINT:
needs compositing
creator: Viewport ← IgnorePointer-[GlobalKey#8e496] ← Semantics ← Listener ← _GestureSemantics ←
RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#6162d] ← Listener ← _ScrollableScope
← _ScrollSemantics-[GlobalKey#a8ea3] ← RepaintBoundary ← CustomPaint ← RepaintBoundary ← ⋯
parentData: <none> (can use size)
constraints: BoxConstraints(w=392.7, h=759.3)
layer: OffsetLayer#9b2cc
size: Size(392.7, 759.3)
axisDirection: down
crossAxisDirection: right
offset: _NestedScrollPosition#cd132(inner, offset: 288.1, range: 0.0..696.7, viewport: 759.3)
anchor: 0.0
This RenderObject had the following descendants (showing up to depth 5):
center child: RenderSliverPadding#9783c relayoutBoundary=up1 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
child: RenderSliverFixedExtentList#09dbb relayoutBoundary=up2 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
child with index 0: RenderIndexedSemantics#43b1d
child: RenderRepaintBoundary#5480e
child: RenderSemanticsAnnotations#12f12
child with index 1: RenderIndexedSemantics#fb196
child: RenderRepaintBoundary#595b8
child: RenderSemanticsAnnotations#59ef1
child with index 2: RenderIndexedSemantics#177ae
child: RenderRepaintBoundary#716a3
child: RenderSemanticsAnnotations#72eab
child with index 3: RenderIndexedSemantics#07a0b
child: RenderRepaintBoundary#45d20
child: RenderSemanticsAnnotations#75959
child with index 4: RenderIndexedSemantics#259c4
child: RenderRepaintBoundary#58c72
child: RenderSemanticsAnnotations#f129e
child with index 5: RenderIndexedSemantics#b63bf
child: RenderRepaintBoundary#21d77
child: RenderSemanticsAnnotations#d49db
child with index 6: RenderIndexedSemantics#cd32c
child: RenderRepaintBoundary#b1e94
child: RenderSemanticsAnnotations#2d14b
child with index 7: RenderIndexedSemantics#a2e3a
child: RenderRepaintBoundary#6ed9c
child: RenderSemanticsAnnotations#c0b2d
child with index 8: RenderIndexedSemantics#a5f8b
child: RenderRepaintBoundary#71721
child: RenderSemanticsAnnotations#32893
════════════════════════════════════════════════════════════════════════════════════════════════════
code sample
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
static const String _title = 'Flutter Code Sample';
@override
Widget build(BuildContext context) {
return MaterialApp(
title: _title,
home: NestedScrollViewExample(),
// home: CustomScrollViewExample(),
);
}
}
class NestedScrollViewExample extends StatelessWidget {
NestedScrollViewExample({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: NestedScrollView(
floatHeaderSlivers: true,
physics: BouncingScrollPhysics(),
headerSliverBuilder: (context, innerBoxIsScrolled) => [
SliverAppBar(
floating: true,
expandedHeight: 250.0,
elevation: 0.0,
forceElevated: false,
flexibleSpace: FlexibleSpaceBar(
title: Text('Demo'),
),
),
],
body: CustomScrollView(
slivers: <Widget>[
SliverPadding(
padding: const EdgeInsets.all(8.0),
sliver: SliverFixedExtentList(
itemExtent: 48.0,
delegate: SliverChildBuilderDelegate(
(BuildContext context, int index) {
return ListTile(
title: Text('Item $index'),
);
},
childCount: 30,
),
),
),
],
),
),
);
}
}
flutter doctor -v
[✓] Flutter (Channel master, 2.1.0-13.0.pre.223, on Microsoft Windows [Version 10.0.19041.867], locale ru-RU)
• Flutter version 2.1.0-13.0.pre.223 at c:\dev\src\flutter
• Framework revision 891511d58f (2 days ago), 2021-03-23 14:57:01 -0700
• Engine revision d59a01d2d3
• Dart version 2.13.0 (build 2.13.0-150.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\danya\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• 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 Community 2019 16.7.7)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.7.30621.155
• Windows 10 SDK version 10.0.18362.0
[✓] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 50.0.1
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] VS Code (version 1.54.3)
• VS Code at C:\Users\danya\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.20.0
[✓] Connected device (5 available)
• Redmi Note 5 (mobile) • 40c9f14 • android-arm64 • Android 9 (API 28)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19041.867]
• Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.90
• Edge (web) • edge • web-javascript • Microsoft Edge 89.0.774.57
• No issues found!
https://user-images.githubusercontent.com/39104740/112517599-8b3dba80-8da9-11eb-8cc8-924371b2cc04.mp4
cc @Piinks
Hi @nt4f04uNd
Thanks for filing the issue, I tried multiple devices and a lot of short drags, no luck. If it that hard to reproduce can you reproduce with a test? is there a way to reproduce with some steps?
Thank you
i think i found a way to isolate the issue, this seems to be happening because ScrollPosition.pixels might have a tiny little thing at its end
and thus subtraction resolves to less than zero
extra = _outerPosition!.maxScrollExtent - _outerPosition!.pixels;
it still can't find a way to consitently reproduce this
perhaps, adding BouncingScrollPhysics to the inner scroll view may help reproducing, but it isn't the cause, as it will happen without it as well
Hi @nt4f04uNd
Since you can reproduce it and know the cause, I feel safe to label the issue
Thank
I'm unable to reproduce the issue on the latest master. Not sure if anything actually changed, but I'm closing this for now
flutter doctor -v
[√] Flutter (Channel master, 2.3.0-1.0.pre.264, on Microsoft Windows [Version 10.0.19041.928], locale ru-RU)
• Flutter version 2.3.0-1.0.pre.264 at C:\dev\src\flutter
• Upstream repository git@github.com:nt4f04und/flutter.git
• Framework revision b3f7ebe069 (18 hours ago), 2021-05-08 08:54:02 +0800
• Engine revision f57e986aa8
• Dart version 2.14.0 (build 2.14.0-74.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\danya\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• 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 Community 2019 16.7.7)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.7.30621.155
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 4.1.0)
• 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 1.8.0_242-release-1644-b01)
[√] IntelliJ IDEA Community Edition (version 2020.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
• 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
[√] VS Code (version 1.56.0)
• VS Code at C:\Users\danya\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.22.0
[√] Connected device (4 available)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19041.928]
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
• Edge (web) • edge • web-javascript • Microsoft Edge 90.0.818.46
• No issues found!
| gharchive/issue | 2021-03-25T17:40:30 | 2025-04-01T06:44:12.491336 | {
"authors": [
"TahaTesser",
"nt4f04uNd"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/79062",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
842751376 | In landscape orientation, the validator is working incorrectly
Steps to Reproduce
.Offline_password_manager Import this repository.
Run App.
Click on FloatingButton(Add) and change the orientation to landscape.
Now without filling details above just go to password, fill it and then click next in keyboard(the focus will go to website).
Now click on save (upper-right-corner).
The data will get saved but it should not have to because of validator.
Do same procedure in potrait orientation, the validator will work fine.
Expected results:
I wanted to see the error message 'required field' in TextFormField('title').
Actual results:
The validator passed the data and the data get saved without title.
Logs
Flutter run --verbose Logs
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[ ] Use '--warning-mode all' to show the individual deprecation warnings.
[ ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD SUCCESSFUL in 16s
[ ] 132 actionable tasks: 7 executed, 125 up-to-date
[ +552 ms] Running Gradle task 'assembleDebug'... (completed in 17.1s)
[ +52 ms] calculateSha: LocalDirectory: 'C:\Users\Aashish Jha\StudioProjects\secure_af\build\app\outputs\flutter-apk'/app.apk
[ +41 ms] calculateSha: reading file took 40us
[ +668 ms] calculateSha: computing sha took 667us
[ +14 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +12 ms] executing: C:\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\Aashish
Jha\StudioProjects\secure_af\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +22 ms] Exit code 0 from: C:\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\Aashish
Jha\StudioProjects\secure_af\build\app\outputs\flutter-apk\app.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)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.iamaashish.secure_af" (Raw: "com.iamaashish.secure_af")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="secure_af" (Raw: "secure_af")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
"androidx.core.app.CoreComponentFactory")
E: activity (line=21)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.iamaashish.secure_af.MainActivity" (Raw:
"com.iamaashish.secure_af.MainActivity")
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=35)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
"io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=45)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
"io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=49)
E: action (line=50)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=52)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=59)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: activity (line=63)
A: android:theme(0x01010000)=@0x01030007
A: android:name(0x01010003)="io.flutter.plugins.urllauncher.WebViewActivity" (Raw:
"io.flutter.plugins.urllauncher.WebViewActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
[ +11 ms] Stopping app 'app.apk' on RMX1851.
[ +3 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s 4f7be5f2 shell am force-stop com.iamaashish.secure_af
[ +200 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s 4f7be5f2 shell pm list packages com.iamaashish.secure_af
[ +174 ms] package:com.iamaashish.secure_af
[ +2 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s 4f7be5f2 shell cat
/data/local/tmp/sky.com.iamaashish.secure_af.sha1
[ +103 ms] a891b089f7447381bcf838f9fdc3cc789d2b2cc5
[ +1 ms] Installing APK.
[ +1 ms] Installing build\app\outputs\flutter-apk\app.apk...
[ ] executing: C:\Android\sdk\platform-tools\adb.exe -s 4f7be5f2 install -t -r C:\Users\Aashish
Jha\StudioProjects\secure_af\build\app\outputs\flutter-apk\app.apk
[+7635 ms] Performing Streamed Install
Success
[ ] Installing build\app\outputs\flutter-apk\app.apk... (completed in 7.6s)
[ +1 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s 4f7be5f2 shell echo -n 4d5b195fea08b2dba20bf20cc43c95282544b5fd >/data/local/tmp/sky.com.iamaashish.secure_af.sha1
[ +62 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s 4f7be5f2 shell -x logcat -v time -t 1
[ +116 ms] --------- beginning of main
03-28 19:44:43.103 D/Launcher.ColorBubbleTextView( 4360): applyIconAndLabel: AppInfo(@f8fc902id=-1 type=APP
container=-1 screen=-1 cell(-1,-1) span(1,1) minSpan(1,1) rank=0 user=UserHandle{0} installStateType=-1
installSource=null
component=ComponentInfo{in.amazon.mShop.android.shopping/com.amazon.mShop.home.HomeActivity}, update=false,
limit=false, runtime=110000000 componentName =
ComponentInfo{in.amazon.mShop.android.shopping/com.amazon.mShop.home.HomeActivity}), isLimitedState = false, isLimitedIconEnabled = true
[ +6 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s 4f7be5f2 shell am start -a android.intent.action.RUN -f
0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez
verify-entry-points true com.iamaashish.secure_af/com.iamaashish.secure_af.MainActivity
[ +291 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.iamaashish.secure_af/.MainActivity (has
extras) }
[ +1 ms] Waiting for observatory port to be available...
[+2478 ms] Observatory URL on device: http://127.0.0.1:40407/bDceoHzA1Qw=/
[ +1 ms] executing: C:\Android\sdk\platform-tools\adb.exe -s 4f7be5f2 forward tcp:0 tcp:40407
[ +15 ms] 51645
[ +1 ms] Forwarded host port 51645 to device port 40407 for Observatory
[ +6 ms] Caching compiled dill
[ +41 ms] Connecting to service protocol: http://127.0.0.1:51645/bDceoHzA1Qw=/
[ +502 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:51645/bDceoHzA1Qw=/.
[ +264 ms] DDS is listening at http://127.0.0.1:51651/i7kvDUL8Jkg=/.
[ +49 ms] Successfully connected to service protocol: http://127.0.0.1:51645/bDceoHzA1Qw=/
[ +984 ms] Activating Dart DevTools...
[+3488 ms] Activating Dart DevTools... (completed in 3.5s)
[ +527 ms] DevFS: Creating new filesystem on the device (null)
[ +61 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.iamaashish.secure_af/code_cache/secure_afZNCUKC/secure_af/)
[ +4 ms] Updating assets
[ +102 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see
#56466.
[ +3 ms] Syncing files to device RMX1851...
[ +1 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +2 ms] <- recompile package:secure_af/main.dart a26b0a1c-40c4-4c22-8526-e6f7f5b6f596
[ ] <- a26b0a1c-40c4-4c22-8526-e6f7f5b6f596
[ +119 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Syncing files to device RMX1851... (completed in 125ms)
[ ] Synced 0.0MB.
[ +1 ms] <- accept
[ +18 ms] Connected to _flutterView/0x739558d020.
[ +2 ms] Flutter run key commands.
[ +2 ms] r Hot reload.
[ ] R Hot restart.
[ ] h Repeat this help message.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ +1 ms] q Quit (terminate the application on the device).
[ ] An Observatory debugger and profiler on RMX1851 is available at: http://127.0.0.1:51651/i7kvDUL8Jkg=/
[ +2 ms]
Flutter DevTools, a Flutter debugger and profiler, on RMX1851 is available at:
http://127.0.0.1:9105?uri=http%3A%2F%2F127.0.0.1%3A51651%2Fi7kvDUL8Jkg%3D%2F
[ ] Running with unsound null safety
[ ] For more information see https://dart.dev/null-safety/unsound-null-safety
[+6151 ms] I/shish.secure_a( 8899): ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0 resolve_classes_delay=5000
no analyzer warnings
'''
[√] Flutter (Channel stable, 2.0.3, on Microsoft Windows [Version 10.0.19042.867], locale en-IN)
• Flutter version 2.0.3 at C:\src\flutter
• Framework revision 4d7946a68d (10 days ago), 2021-03-18 17:24:33 -0700
• Engine revision 3459eb2436
• Dart version 2.12.2
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Android\sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = C:\Android
• ANDROID_SDK_ROOT = C:\Android\sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• 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 1.8.0_242-release-1644-b01)
[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2020.3
• 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
[√] VS Code (version 1.54.3)
• VS Code at C:\Users\Aashish Jha\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.20.0
[√] Connected device (3 available)
• RMX1851 (mobile) • 4f7be5f2 • android-arm64 • Android 10 (API 29)
• Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.90
• Edge (web) • edge • web-javascript • Microsoft Edge 89.0.774.63
• No issues found!
'''
@Aashu-Jha
provider: ^4.3.2+4
cupertino_icons: ^1.0.2
sqflite: ^1.3.2+4
http: ^0.13.1
url_launcher: ^6.0.2
shared_preferences: ^0.5.12+4
font_awesome_flutter: ^8.12.0
can you provide a minimal reproducible code sample (not a full project)
without 3rd party plugins
Hi @Aashu-Jha
Please provide what was asked in https://github.com/flutter/flutter/issues/79228#issuecomment-808908547.
Hi @pedromassangocode @iapicca
I tried to make minimal sample code but you know, I'm a beginner so without the 'provider' package, I'm unable to produce the same problem, but I am trying to make sample code.
Can I use the 'provider' package in the sample code?
For your help, I'm attaching a video link where you can see the problem I'm talking about.
Can I use the 'provider' package in the sample code?
I suggest to not use it to make it easy to find the root cause!
I couldn't able to generate the bug in the sample code. It's working fine.
Do you mean the issue is solved now? Otherwise I would still need what was asked in https://github.com/flutter/flutter/issues/79228#issuecomment-808908547.
I couldn't able to generate the bug in the sample code. It's working fine.
Do you mean the issue is solved now? Otherwise I would still need what was asked in #79228 (comment).
No, in the main app, the issue is still there.
Then I do need a minimal reproducible code without third-party packages. Please refer to the following link to see how to create a minimal reproducible code: https://stackoverflow.com/help/minimal-reproducible-example
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.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.
| gharchive/issue | 2021-03-28T14:34:29 | 2025-04-01T06:44:12.514730 | {
"authors": [
"Aashu-Jha",
"iapicca",
"pedromassangocode"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/79228",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
845398353 | Devicelab tasks failing, AuthenticatedClientError uploading metrics
Seem this is happening again (https://github.com/flutter/flutter/issues/78841)
AuthenticatedClientError:
URI: https://flutter-dashboard.appspot.com/api/update-task-status
HTTP Status: 500
Response body:
Expected to find 1 task for Mac_android fast_scroll_large_images__memory, but found 2
/cc @CaseyHillers
Marking as P0 as this is blocking the tree.
@keyonghan do you think we can move the refresh-github-commits endpoint from a 15 minute cron job to run it at midnight PST every day instead?
This is a race condition as we have both ways to trigger commits
Do we have a sense of how many are triggered by refresh -github-commits?
Before that, shall we remove those duplicate ones to reopen the tree?
We should be safe to move to the webhook scheduler - https://pantheon.corp.google.com/logs/query;query= via GitHub webhook;timeRange=P7D;cursorTimestamp=2021-03-30T21:19:04.372Z?serviceId=default&project=flutter-dashboard
I can send the PRs to move refresh-github-commits to a slower cron method that backfills older commits (over an hour old)
Thanks.
At the same time, submitted an empty PR to trigger builds: https://github.com/flutter/flutter/pull/79411
The empty PR unblocked the tree, and we have removed the extra cron job scheduling to prevent this race condition from happening in the future
| gharchive/issue | 2021-03-30T22:41:16 | 2025-04-01T06:44:12.520650 | {
"authors": [
"CaseyHillers",
"keyonghan"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/79408",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
894693045 | Engine -> Framework roller is blocked on unnecessary_imports lint.
Starting with the roll attempt here: https://github.com/flutter/flutter/pull/82778, from the Dart roll here: https://github.com/flutter/engine/pull/26212, and the Dart commit here: https://dart.googlesource.com/sdk.git/+/2bcc415510abf73e8d8b993625b5c3a0f9c8476d.
The failing presubmit checks on that roll attempt indicate the places that need to be updated.
/cc @jason-simmons @devoncarew @srawlins @chinmaygarde
Revert of the Dart SDK lint is here: https://dart-review.googlesource.com/c/sdk/+/200521
| gharchive/issue | 2021-05-18T19:11:05 | 2025-04-01T06:44:12.523328 | {
"authors": [
"zanderso"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/82844",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
985207705 | Swift:121:13: error: editor placeholder in source file
Steps to Reproduce
Run flutter create bug.
Update the files as follows: ...
...
Expected results:
Actual results:
Logs
I was trying to build ios app on a simulator and i got this error below:
Launching lib/main.dart on iPhone 8 in debug mode...
Running Xcode build...
Xcode build done. 110.2s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
/Users/USERNAME/Danny/flutter/.pub-cache/hosted/pub.dartlang.org/add_2_calendar-2.1.1/ios/Classes/SwiftAdd2CalendarPlugin.swift:121:13: error: editor placeholder in source file
<#fatalError()#>
^
/Users/Danny/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/add_2_calendar-2.1.1/ios/Classes/SwiftAdd2CalendarPlugin.swift:140:17: warning: setter for 'statusBarStyle' was deprecated in iOS 9.0: Use -[UIViewController preferredStatusBarStyle]
UIApplication.shared.statusBarStyle = UIStatusBarStyle.default
^
/Users/Danny/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/add_2_calendar-2.1.1/ios/Classes/SwiftAdd2CalendarPlugin.swift:150:13: warning: setter for 'statusBarStyle' was deprecated in iOS 9.0: Use -[UIViewController preferredStatusBarStyle]
UIApplication.shared.statusBarStyle = statusBarStyle
^
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 8.
@SirEben
The error seems to be pointing to 3rd party pluginadd_2_calendar:
.pub-cache/hosted/pub.dartlang.org/add_2_calendar-2.1.1/ios/Classes/SwiftAdd2CalendarPlugin.swift:121:13: error: editor placeholder in source file
Alongwith other warnings. Maybe try to clear the pub cache and see if it works. If not please report in dedicated repo: https://pub.dev/packages/add_2_calendar
Closing from here. If you disagree write in comments and I'll reopen it.
| gharchive/issue | 2021-09-01T14:13:21 | 2025-04-01T06:44:12.532929 | {
"authors": [
"SirEben",
"darshankawar"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/89295",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1037918732 | [cocoon] Presubmit checks failing to retry
Culprit PR - https://github.com/flutter/cocoon/pull/1407
This is weird as CheckRuns return the pull_request based on the sha and branch. I'm not sure why checks that are rerun do not match against an existing pull_request (why we see "pull_requests": [],)
Example webhhok
{
"action": "rerequested",
"check_run": {
"id": 4027859190,
"name": "Mac build_tests_3_4",
"node_id": "CR_kwDOAeUeuM7wFED2",
"head_sha": "99dfb21f32861fad794075f8dff9a5e85bd46965",
"external_id": "",
"url": "https://api.github.com/repos/flutter/flutter/check-runs/4027859190",
"html_url": "https://github.com/flutter/flutter/runs/4027859190",
"details_url": "https://ci.chromium.org/b/8832183530177922961",
"status": "completed",
"conclusion": "failure",
"started_at": "2021-10-27T21:33:50Z",
"completed_at": "2021-10-27T22:08:10Z",
"output": {
"title": "Mac build_tests_3_4",
"summary": "**[Understanding a LUCI build failure](https://github.com/flutter/flutter/wiki/Understanding-a-LUCI-build-failure)**\n\nEmpty summaryMarkdown",
"text": null,
"annotations_count": 0,
"annotations_url": "https://api.github.com/repos/flutter/flutter/check-runs/4027859190/annotations"
},
"check_suite": {
"id": 4182382989,
"node_id": "CS_kwDOAeUeuM75ShmN",
"head_branch": null,
"head_sha": "99dfb21f32861fad794075f8dff9a5e85bd46965",
"status": "queued",
"conclusion": null,
"url": "https://api.github.com/repos/flutter/flutter/check-suites/4182382989",
"before": null,
"after": null,
"pull_requests": [],
"app": {
"id": 64368,
"slug": "flutter-dashboard",
"node_id": "MDM6QXBwNjQzNjg=",
"owner": {
"login": "flutter",
"id": 14101776,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE0MTAxNzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/14101776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flutter",
"html_url": "https://github.com/flutter",
"followers_url": "https://api.github.com/users/flutter/followers",
"following_url": "https://api.github.com/users/flutter/following{/other_user}",
"gists_url": "https://api.github.com/users/flutter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/flutter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flutter/subscriptions",
"organizations_url": "https://api.github.com/users/flutter/orgs",
"repos_url": "https://api.github.com/users/flutter/repos",
"events_url": "https://api.github.com/users/flutter/events{/privacy}",
"received_events_url": "https://api.github.com/users/flutter/received_events",
"type": "Organization",
"site_admin": false
},
"name": "flutter-dashboard",
"description": "To configure the messages shown by this bot, see:\r\nhttps://github.com/flutter/cocoon/blob/master/app_dart/lib/src/datastore/cocoon_config.dart",
"external_url": "https://flutter-dashboard.appspot.com",
"html_url": "https://github.com/apps/flutter-dashboard",
"created_at": "2020-05-10T00:32:46Z",
"updated_at": "2021-01-24T22:39:51Z",
"permissions": {
"checks": "write",
"contents": "read",
"issues": "write",
"metadata": "read",
"pull_requests": "write",
"statuses": "write"
},
"events": [
"check_run",
"check_suite",
"label",
"pull_request"
]
},
"created_at": "2021-10-27T21:33:48Z",
"updated_at": "2021-10-27T22:25:27Z"
},
"app": {
"id": 64368,
"slug": "flutter-dashboard",
"node_id": "MDM6QXBwNjQzNjg=",
"owner": {
"login": "flutter",
"id": 14101776,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE0MTAxNzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/14101776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flutter",
"html_url": "https://github.com/flutter",
"followers_url": "https://api.github.com/users/flutter/followers",
"following_url": "https://api.github.com/users/flutter/following{/other_user}",
"gists_url": "https://api.github.com/users/flutter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/flutter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flutter/subscriptions",
"organizations_url": "https://api.github.com/users/flutter/orgs",
"repos_url": "https://api.github.com/users/flutter/repos",
"events_url": "https://api.github.com/users/flutter/events{/privacy}",
"received_events_url": "https://api.github.com/users/flutter/received_events",
"type": "Organization",
"site_admin": false
},
"name": "flutter-dashboard",
"description": "To configure the messages shown by this bot, see:\r\nhttps://github.com/flutter/cocoon/blob/master/app_dart/lib/src/datastore/cocoon_config.dart",
"external_url": "https://flutter-dashboard.appspot.com",
"html_url": "https://github.com/apps/flutter-dashboard",
"created_at": "2020-05-10T00:32:46Z",
"updated_at": "2021-01-24T22:39:51Z",
"permissions": {
"checks": "write",
"contents": "read",
"issues": "write",
"metadata": "read",
"pull_requests": "write",
"statuses": "write"
},
"events": [
"check_run",
"check_suite",
"label",
"pull_request"
]
},
"pull_requests": []
},
...
}
Setting it as P1 as this can be potentially impacting all presubmits.
This can't be cleanly reverted as we moved our github models to package:github and it's CheckSuite model does not contain the pull request. That was how the old logic was able to pull from it, and we removed those models in favor. I think we can get the upstream fixed in a few days, but it's going to take longer as the tree is broke (I started https://github.com/SpinlockLabs/github.dart/pull/275 to try and fix it).
Next week I'll re-add the cocoon models back which will let us revert back to the old logic.
Would it be possible to move to a previous version of the backend?
Would it be possible to move to a previous version of the backend?
The last known good version had a lot of errors, and this functionality appears to have a smaller use (<5 errors a day). I would prefer to wait for the PR by EOD, otherwise I can do the revert.
I have https://github.com/flutter/cocoon/pull/1432 open, but it's failing 3 tests due to the check run conclusion not being able to be null anymore. I didn't get time to work on it today (beyond writing the PR), so I'll debug the test failures tomorrow.
I sent https://github.com/SpinlockLabs/github.dart/pull/276 which fixes the test issues
I validated today's rollout has fixed the issue.
| gharchive/issue | 2021-10-27T22:38:37 | 2025-04-01T06:44:12.542700 | {
"authors": [
"CaseyHillers",
"godofredoc"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/92611",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
221861165 | --local-engine-src-path does not work for local engine builds.
The workaround that reads the engine path from $FLUTTER_ENGINE is fine.
This has been fixed.
| gharchive/issue | 2017-04-14T18:14:18 | 2025-04-01T06:44:12.544445 | {
"authors": [
"chinmaygarde"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/9399",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1076607855 | Emulator crashes and app freezes in debugging mode when changing permissions
Steps to Reproduce
Create an Flutter app by using flutter create sample_app
Add the camera plugin to the pubspec.yaml
Copy the content from the code sample below to your main.dart.
Set the minSdkVersion to 21 and the compile and sdkTargetVersion to 31.
Run your app in the debugger (flutter run) by using an Emulator
Tap one of the camera options, so the camera and microphone permissions are requested.
Keep the app active in the background, go to the Emulator's Phone Settings and set the camera or microphone permission to denied in the Settings.
The debugger crashes with the message: Lost connection to the device and when returning to the app, only a white screen pops up.
Expected results:
I would expect the Emulator to restart the application in the background when permission changes have taken place, instead the app crashes in the background and won't start on itself, unless killing the background process. This is not a camera plugin issue, since this bug also occurs when requesting permissions like the Location permission, using the geolocator plugin, vice versa.
Actual results:
The debugger crashes with the message: Lost connection to the device and when returning to the app, only a white screen pops up. Also, I've created an example application in Native Android in which I request a few permissions, and that is totally working fine. (I added a video from both apps below)
Code sample
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:camera/camera.dart';
List<CameraDescription>? cameras;
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
cameras = await availableCameras();
runApp(CameraApp());
}
class CameraApp extends StatefulWidget {
@override
_CameraAppState createState() => _CameraAppState();
}
class _CameraAppState extends State<CameraApp> {
late CameraController controller;
@override
void initState() {
super.initState();
controller = CameraController(cameras![0], ResolutionPreset.max);
controller.initialize().then((_) {
if (!mounted) {
return;
}
setState(() {});
});
}
@override
void dispose() {
controller.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
if (!controller.value.isInitialized) {
return Container();
}
return MaterialApp(
home: CameraPreview(controller),
);
}
}
Logs
C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app>flutter run --verbose
[ +55 ms] executing: [C:\Users\Flori\flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +380 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] cf4400006550b70f28e4b4af815151d1e74846c6
[ ] executing: [C:\Users\Flori\flutter\flutter/] git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[ +41 ms] Exit code 0 from: git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[ ] 2.8.0
[ +5 ms] executing: [C:\Users\Flori\flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +26 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [C:\Users\Flori\flutter\flutter/] git ls-remote --get-url origin
[ +25 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +79 ms] executing: [C:\Users\Flori\flutter\flutter/] git rev-parse --abbrev-ref HEAD
[ +26 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +54 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.
[ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ +43 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[ +37 ms] List of devices attached
emulator-5556 device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:850
[ +5 ms] C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5556 shell getprop
[ +26 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ +63 ms] Skipping pub get: version match.
[ +12 ms] Found plugin camera at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\camera-0.9.4+5\
[ +4 ms] Found plugin camera_web at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\camera_web-0.2.1+1\
[ +8 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.5\
[ +13 ms] Found plugin video_player at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.7\
[ +2 ms] Found plugin video_player_web at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[ +63 ms] Found plugin camera at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\camera-0.9.4+5\
[ +1 ms] Found plugin camera_web at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\camera_web-0.2.1+1\
[ +5 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.5\
[ +10 ms] Found plugin video_player at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.7\
[ +1 ms] Found plugin video_player_web at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[ +9 ms] Generating C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +43 ms] ro.hardware = ranchu
[ +10 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[ +19 ms] Initializing file store
[ +9 ms] Skipping target: gen_localizations
[ +3 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\.dart_tool\package_config_subset}
[ +8 ms] Found plugin camera at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\camera-0.9.4+5\
[ +2 ms] Found plugin camera_web at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\camera_web-0.2.1+1\
[ +4 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.5\
[ +6 ms] Found plugin video_player at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.7\
[ +1 ms] Found plugin video_player_web at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[ +3 ms] gen_dart_plugin_registrant: Complete
[ +1 ms] Skipping target: _composite
[ +2 ms] complete
[ +4 ms] Launching lib\main.dart on Android SDK built for x86 in debug mode...
[ +4 ms] C:\Users\Flori\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\Flori\flutter\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\Flori\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\Flori\AppData\Local\Temp\flutter_tools.ae1784f8\flutter_tool.80261cc3\app.dill --packages C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\.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\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[ +8 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +7 ms] Exit code 0 from: C:\Users\Flori\AppData\Local\Android\Sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ ] 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)0x1f
A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
A: package="com.example.flutter_camera_test_app" (Raw: "com.example.flutter_camera_test_app")
A: platformBuildVersionCode=(type 0x10)0x1f
A: platformBuildVersionName=(type 0x10)0xc
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=15)
A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
E: uses-permission (line=17)
A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
E: application (line=19)
A: android:label(0x01010001)="flutter_camera_test_app" (Raw: "flutter_camera_test_app")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=24)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.flutter_camera_test_app.MainActivity" (Raw: "com.example.flutter_camera_test_app.MainActivity")
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=38)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=48)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=52)
E: action (line=53)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=55)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=62)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +6 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5556 shell -x logcat -v time -t 1
[ +13 ms] <- compile package:flutter_camera_test_app/main.dart
[ +26 ms] --------- beginning of main
12-10 09:52:32.273 E/GnssHAL_GnssInterface( 1787): gnssSvStatusCb: b: input svInfo.flags is 8
[ +6 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe version
[ +30 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe
[ +1 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server
[ +18 ms] Building APK
[ +18 ms] Running Gradle task 'assembleDebug'...
[ +3 ms] Using gradle from C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\android\gradlew.bat.
[ +12 ms] executing: C:\Users\Flori\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283\jre\bin\java -version
[ +66 ms] Exit code 0 from: C:\Users\Flori\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283\jre\bin\java -version
[ ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[ +1 ms] executing: [C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\android/] C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x86
-Ptarget=C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+3169 ms] > Task :app:compileFlutterBuildDebug
[ ] [ +51 ms] executing: [C:\Users\Flori\flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ +396 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] cf4400006550b70f28e4b4af815151d1e74846c6
[ ] [ ] executing: [C:\Users\Flori\flutter\flutter/] git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[ ] [ +46 ms] Exit code 0 from: git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[ ] [ ] 2.8.0
[ ] [ +5 ms] executing: [C:\Users\Flori\flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ +28 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/stable
[ ] [ ] executing: [C:\Users\Flori\flutter\flutter/] git ls-remote --get-url origin
[ ] [ +25 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ +44 ms] executing: [C:\Users\Flori\flutter\flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ +26 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] stable
[ ] [ +44 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.
[ ] [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] [ +77 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ +3 ms] 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 'FlutterSdk' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' 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.
[ ] [ ] 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.
[ ] [ +29 ms] Initializing file store
[ ] [ +16 ms] Skipping target: gen_localizations
[ ] [ +11 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\.dart_tool\package_config_subset}
[ ] [ +16 ms] Found plugin camera at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\camera-0.9.4+5\
[ ] [ +6 ms] Found plugin camera_web at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\camera_web-0.2.1+1\
[ ] [ +8 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.5\
[ ] [ +12 ms] Found plugin video_player at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-2.2.7\
[ ] [ +1 ms] Found plugin video_player_web at C:\Users\Flori\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-2.0.4\
[ ] [ +9 ms] gen_dart_plugin_registrant: Complete
[ +1 ms] [ +1 ms] kernel_snapshot: Starting due to {}
[ ] [ +8 ms] C:\Users\Flori\flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\Flori\flutter\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\Flori\flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--no-link-platform --packages C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\.dart_tool\package_config.json --output-dill C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\.dart_tool\flutter_build\61c57ae9ced6585e38242258faa5ce7e\app.dill
--depfile C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\.dart_tool\flutter_build\61c57ae9ced6585e38242258faa5ce7e\kernel_snapshot.d package:flutter_camera_test_app/main.dart
[+6461 ms] [+7025 ms] kernel_snapshot: Complete
[ +403 ms] [ +406 ms] debug_android_application: Starting due to {}
[ +108 ms] [ +119 ms] debug_android_application: Complete
[ +403 ms] [ +433 ms] Persisting file store
[ ] [ +7 ms] Done persisting file store
[ ] [ +5 ms] build succeeded.
[ ] [ +9 ms] "flutter assemble" took 8,230ms.
[ +91 ms] [ +29 ms] ensureAnalyticsSent: 26ms
[ ] [ ] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[ +91 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ +1 ms] > Task :app:preBuild UP-TO-DATE
[ ] > Task :app:preDebugBuild UP-TO-DATE
[ +1 ms] > Task :camera:preBuild UP-TO-DATE
[ ] > Task :camera:preDebugBuild UP-TO-DATE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:preBuild UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:preDebugBuild UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileDebugAidl NO-SOURCE
[ ] > Task :camera:compileDebugAidl NO-SOURCE
[ ] > Task :video_player:preBuild UP-TO-DATE
[ ] > Task :video_player:preDebugBuild UP-TO-DATE
[ ] > Task :video_player:compileDebugAidl NO-SOURCE
[ ] > Task :app:compileDebugAidl NO-SOURCE
[ ] > Task :camera:packageDebugRenderscript NO-SOURCE
[ +1 ms] > Task :flutter_plugin_android_lifecycle:packageDebugRenderscript NO-SOURCE
[ ] > Task :video_player:packageDebugRenderscript NO-SOURCE
[ ] > Task :app:compileDebugRenderscript NO-SOURCE
[ ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :camera:writeDebugAarMetadata UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:writeDebugAarMetadata UP-TO-DATE
[ ] > Task :video_player:writeDebugAarMetadata UP-TO-DATE
[ +94 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ ] > Task :app:cleanMergeDebugAssets
[ ] > Task :app:mergeDebugShaders UP-TO-DATE
[ ] > Task :app:compileDebugShaders NO-SOURCE
[ ] > Task :app:generateDebugAssets UP-TO-DATE
[ ] > Task :camera:mergeDebugShaders UP-TO-DATE
[ ] > Task :camera:compileDebugShaders NO-SOURCE
[ +1 ms] > Task :camera:generateDebugAssets UP-TO-DATE
[ ] > Task :camera:packageDebugAssets UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeDebugShaders UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileDebugShaders NO-SOURCE
[ ] > Task :flutter_plugin_android_lifecycle:generateDebugAssets UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:packageDebugAssets UP-TO-DATE
[ ] > Task :video_player:mergeDebugShaders UP-TO-DATE
[ ] > Task :video_player:compileDebugShaders NO-SOURCE
[ ] > Task :video_player:generateDebugAssets UP-TO-DATE
[ ] > Task :video_player:packageDebugAssets UP-TO-DATE
[ ] > Task :app:mergeDebugAssets
[ +287 ms] > Task :app:copyFlutterAssetsDebug
[ ] > Task :app:generateDebugResValues UP-TO-DATE
[ ] > Task :app:generateDebugResources UP-TO-DATE
[ ] > Task :camera:compileDebugRenderscript NO-SOURCE
[ ] > Task :camera:generateDebugResValues UP-TO-DATE
[ ] > Task :camera:generateDebugResources UP-TO-DATE
[ ] > Task :camera:packageDebugResources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileDebugRenderscript NO-SOURCE
[ ] > Task :flutter_plugin_android_lifecycle:generateDebugResValues UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:generateDebugResources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:packageDebugResources UP-TO-DATE
[ ] > Task :video_player:compileDebugRenderscript NO-SOURCE
[ ] > Task :video_player:generateDebugResValues UP-TO-DATE
[ ] > Task :video_player:generateDebugResources UP-TO-DATE
[ ] > Task :video_player:packageDebugResources UP-TO-DATE
[ ] > Task :app:mergeDebugResources UP-TO-DATE
[ ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[ ] > Task :camera:extractDeepLinksDebug UP-TO-DATE
[ ] > Task :camera:processDebugManifest UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:extractDeepLinksDebug UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:processDebugManifest UP-TO-DATE
[ ] > Task :video_player:extractDeepLinksDebug UP-TO-DATE
[ ] > Task :video_player:processDebugManifest UP-TO-DATE
[ ] > Task :app:processDebugMainManifest UP-TO-DATE
[ ] > Task :app:processDebugManifest UP-TO-DATE
[ ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[ ] > Task :camera:compileDebugLibraryResources UP-TO-DATE
[ ] > Task :camera:parseDebugLocalResources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:parseDebugLocalResources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:generateDebugRFile UP-TO-DATE
[ +98 ms] > Task :camera:generateDebugRFile UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileDebugLibraryResources UP-TO-DATE
[ +1 ms] > Task :video_player:compileDebugLibraryResources UP-TO-DATE
[ ] > Task :video_player:parseDebugLocalResources UP-TO-DATE
[ ] > Task :video_player:generateDebugRFile UP-TO-DATE
[ ] > Task :app:processDebugResources UP-TO-DATE
[ ] > Task :camera:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :camera:javaPreCompileDebug UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:javaPreCompileDebug UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:bundleLibCompileToJarDebug UP-TO-DATE
[ ] > Task :camera:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :camera:bundleLibCompileToJarDebug UP-TO-DATE
[ ] > Task :video_player:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :video_player:javaPreCompileDebug UP-TO-DATE
[ ] > Task :video_player:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :video_player:bundleLibCompileToJarDebug UP-TO-DATE
[ ] > Task :app:compileDebugKotlin UP-TO-DATE
[ ] > Task :app:javaPreCompileDebug UP-TO-DATE
[ ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :app:compileDebugSources UP-TO-DATE
[ ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ ] > Task :app:compressDebugAssets UP-TO-DATE
[ ] > Task :app:processDebugJavaRes NO-SOURCE
[ ] > Task :camera:processDebugJavaRes NO-SOURCE
[ ] > Task :camera:bundleLibResDebug NO-SOURCE
[ ] > Task :flutter_plugin_android_lifecycle:processDebugJavaRes NO-SOURCE
[ ] > Task :flutter_plugin_android_lifecycle:bundleLibResDebug NO-SOURCE
[ ] > Task :video_player:processDebugJavaRes NO-SOURCE
[ ] > Task :video_player:bundleLibResDebug NO-SOURCE
[ +1 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ +74 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[ ] > Task :video_player:bundleLibRuntimeToJarDebug UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarDebug UP-TO-DATE
[ ] > Task :camera:bundleLibRuntimeToJarDebug UP-TO-DATE
[ ] > Task :app:dexBuilderDebug UP-TO-DATE
[ ] > Task :app:mergeLibDexDebug UP-TO-DATE
[ ] > Task :app:mergeProjectDexDebug UP-TO-DATE
[ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :camera:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :camera:mergeDebugNativeLibs NO-SOURCE
[ ] > Task :camera:stripDebugDebugSymbols NO-SOURCE
[ ] > Task :camera:copyDebugJniLibsProjectOnly UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeDebugNativeLibs NO-SOURCE
[ ] > Task :flutter_plugin_android_lifecycle:stripDebugDebugSymbols NO-SOURCE
[ ] > Task :flutter_plugin_android_lifecycle:copyDebugJniLibsProjectOnly UP-TO-DATE
[ ] > Task :video_player:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :video_player:mergeDebugNativeLibs NO-SOURCE
[ ] > Task :video_player:stripDebugDebugSymbols NO-SOURCE
[ ] > Task :video_player:copyDebugJniLibsProjectOnly UP-TO-DATE
[ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :app:validateSigningDebug UP-TO-DATE
[ ] > Task :app:packageDebug UP-TO-DATE
[ +100 ms] > Task :app:assembleDebug
[ ] > Task :camera:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[ ] > Task :camera:extractDebugAnnotations UP-TO-DATE
[ ] > Task :camera:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :camera:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :camera:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :camera:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :camera:syncDebugLibJars UP-TO-DATE
[ ] > Task :camera:bundleDebugAar UP-TO-DATE
[ ] > Task :camera:mergeDebugResources UP-TO-DATE
[ ] > Task :camera:compileDebugSources UP-TO-DATE
[ ] > Task :camera:assembleDebug UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:extractDebugAnnotations UP-TO-DATE
[ +46 ms] > Task :flutter_plugin_android_lifecycle:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:syncDebugLibJars UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:bundleDebugAar UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:mergeDebugResources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:compileDebugSources UP-TO-DATE
[ ] > Task :flutter_plugin_android_lifecycle:assembleDebug UP-TO-DATE
[ ] > Task :video_player:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[ ] > Task :video_player:extractDebugAnnotations UP-TO-DATE
[ ] > Task :video_player:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :video_player:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :video_player:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :video_player:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :video_player:syncDebugLibJars UP-TO-DATE
[ ] > Task :video_player:bundleDebugAar UP-TO-DATE
[ ] > Task :video_player:mergeDebugResources UP-TO-DATE
[ ] > Task :video_player:compileDebugSources UP-TO-DATE
[ ] > Task :video_player:assembleDebug UP-TO-DATE
[ ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[ ] Use '--warning-mode all' to show the individual deprecation warnings.
[ ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD SUCCESSFUL in 11s
[ ] 111 actionable tasks: 5 executed, 106 up-to-date
[ +520 ms] Running Gradle task 'assembleDebug'... (completed in 12.1s)
[ +34 ms] calculateSha: LocalDirectory: 'C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\build\app\outputs\flutter-apk'/app.apk
[ +397 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +2 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +11 ms] Exit code 0 from: C:\Users\Flori\AppData\Local\Android\Sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ ] 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)0x1f
A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
A: package="com.example.flutter_camera_test_app" (Raw: "com.example.flutter_camera_test_app")
A: platformBuildVersionCode=(type 0x10)0x1f
A: platformBuildVersionName=(type 0x10)0xc
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=15)
A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
E: uses-permission (line=16)
A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
E: uses-permission (line=17)
A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
E: application (line=19)
A: android:label(0x01010001)="flutter_camera_test_app" (Raw: "flutter_camera_test_app")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=24)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.flutter_camera_test_app.MainActivity" (Raw: "com.example.flutter_camera_test_app.MainActivity")
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=38)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=48)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=52)
E: action (line=53)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=55)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=62)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +2 ms] Stopping app 'app.apk' on Android SDK built for x86.
[ ] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5556 shell am force-stop com.example.flutter_camera_test_app
[ +33 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5556 shell pm list packages com.example.flutter_camera_test_app
[ +31 ms] package:com.example.flutter_camera_test_app
[ +1 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5556 shell cat /data/local/tmp/sky.com.example.flutter_camera_test_app.sha1
[ +23 ms] 622b7308efdc2f2d4ec5e8e6281727ea4277f5b5
[ ] Latest build already installed.
[ ] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5556 shell -x logcat -v time -t 1
[ +20 ms] --------- beginning of main
12-10 09:52:45.452 D/CarrierSvcBindHelper( 2416): No carrier app for: 0
[ +3 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5556 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true
--ez verify-entry-points true com.example.flutter_camera_test_app/com.example.flutter_camera_test_app.MainActivity
[ +48 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.flutter_camera_test_app/.MainActivity (has extras) }
[ +1 ms] Waiting for observatory port to be available...
[ +458 ms] W/FlutterActivityAndFragmentDelegate( 9097): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
[ +59 ms] Observatory URL on device: http://127.0.0.1:36003/pNykC7GJo_M=/
[ +1 ms] executing: C:\Users\Flori\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5556 forward tcp:0 tcp:36003
[ +14 ms] 52699
[ +1 ms] Forwarded host port 52699 to device port 36003 for Observatory
[ +5 ms] Caching compiled dill
[ +23 ms] Connecting to service protocol: http://127.0.0.1:52699/pNykC7GJo_M=/
[ +221 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:52699/pNykC7GJo_M=/.
[ +103 ms] DDS is listening at http://127.0.0.1:52702/_x_IXxlLXlY=/.
[ +39 ms] Successfully connected to service protocol: http://127.0.0.1:52699/pNykC7GJo_M=/
[ +66 ms] DevFS: Creating new filesystem on the device (null)
[ +40 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.flutter_camera_test_app/code_cache/flutter_camera_test_appIQCLYH/flutter_camera_test_app/)
[ +2 ms] Updating assets
[ +91 ms] Syncing files to device Android SDK built for x86...
[ +2 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +3 ms] <- recompile package:flutter_camera_test_app/main.dart 15d14a55-847d-4b7c-b385-b030da09dde9
[ ] <- 15d14a55-847d-4b7c-b385-b030da09dde9
[ +90 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Syncing files to device Android SDK built for x86... (completed in 97ms)
[ ] Synced 0.0MB.
[ +1 ms] <- accept
[ +6 ms] Connected to _flutterView/0xc846c010.
[ +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).
[ ] Running with sound null safety
[ ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:52702/_x_IXxlLXlY=/
[ +7 ms] The Flutter DevTools debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:52702/_x_IXxlLXlY=/
[+1083 ms] W/Camera ( 9097): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
[ +16 ms] I/Camera ( 9097): startPreview
[ +18 ms] I/Camera ( 9097): CameraCaptureSession onConfigured
[ ] I/Camera ( 9097): Updating builder settings
[ ] D/Camera ( 9097): Updating builder with feature: ExposureLockFeature
[ ] D/Camera ( 9097): Updating builder with feature: ExposurePointFeature
[ ] D/Camera ( 9097): Updating builder with feature: ZoomLevelFeature
[ ] D/Camera ( 9097): Updating builder with feature: AutoFocusFeature
[ ] D/Camera ( 9097): Updating builder with feature: NoiseReductionFeature
[ ] I/Camera ( 9097): updateNoiseReduction | currentSetting: fast
[ ] D/Camera ( 9097): Updating builder with feature: FocusPointFeature
[ +1 ms] D/Camera ( 9097): Updating builder with feature: ResolutionFeature
[ ] D/Camera ( 9097): Updating builder with feature: SensorOrientationFeature
[ ] D/Camera ( 9097): Updating builder with feature: FlashFeature
[ ] D/Camera ( 9097): Updating builder with feature: ExposureOffsetFeature
[ ] D/Camera ( 9097): Updating builder with feature: FpsRangeFeature
[ ] I/Camera ( 9097): refreshPreviewCaptureSession
[ ] W/Gralloc3( 9097): allocator 3.x is not supported
[ +832 ms] D/eglCodecCommon( 9097): setVertexArrayObject: set vao to 0 (0) 1 0
[ ] D/skia ( 9097): Shader compilation error
[ ] D/skia ( 9097): ------------------------
[ ] D/skia ( 9097): Errors:
[ ] D/skia ( 9097): link failed but did not provide an info log
[ +4 ms] D/skia ( 9097): Shader compilation error
[ ] D/skia ( 9097): ------------------------
[ ] D/skia ( 9097): Errors:
[ ] D/skia ( 9097): link failed but did not provide an info log
[ +13 ms] D/skia ( 9097): Shader compilation error
[ ] D/skia ( 9097): ------------------------
[ ] D/skia ( 9097): Errors:
[ ] D/skia ( 9097): link failed but did not provide an info log
[ +3 ms] D/skia ( 9097): Shader compilation error
[ ] D/skia ( 9097): ------------------------
[ ] D/skia ( 9097): Errors:
[ ] D/skia ( 9097): link failed but did not provide an info log
[ +130 ms] D/skia ( 9097): Shader compilation error
[ +1 ms] D/skia ( 9097): ------------------------
[ ] D/skia ( 9097): Errors:
[ ] D/skia ( 9097): link failed but did not provide an info log
[+1292 ms] D/EGL_emulation( 9097): eglMakeCurrent: 0xdfb1a120: ver 3 0 (tinfo 0xdfb0fd90)
[+2983 ms] Service protocol connection closed.
[ +1 ms] Lost connection to device.
[ +1 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.flutter_camera_test_app/code_cache/flutter_camera_test_appIQCLYH/flutter_camera_test_app/)
[ +266 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[ +10 ms] "flutter run" took 21,299ms.
[ +24 ms] ensureAnalyticsSent: 22ms
[ +1 ms] Running shutdown hooks
[ ] Shutdown hooks complete
[ ] exiting with code 0
C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app>flutter analyze
Analyzing flutter_camera_test_app...
No issues found! (ran in 1.8s)
C:\Users\Flori\AndroidStudioProjects\flutter_camera_test_app>flutter doctor -v
[√] Flutter (Channel stable, 2.8.0, on Microsoft Windows [Version 10.0.19042.1348], locale en-US)
• Flutter version 2.8.0 at C:\Users\Flori\flutter\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision cf44000065 (35 hours ago), 2021-12-08 14:06:50 -0800
• Engine revision 40a99c5951
• Dart version 2.15.0
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\Flori\AppData\Local\Android\Sdk
X cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
X 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.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1)
• Android Studio at C:\Users\Flori\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283
• 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-b01)
[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
• IntelliJ at C:\Users\Flori\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\203.5981.155
• 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
[√] VS Code (version 1.61.2)
• VS Code at C:\Users\Flori\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)
• Android SDK built for x86 (mobile) • emulator-5556 • android-x86 • Android 10 (API 29) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.93
• Edge (web) • edge • web-javascript • Microsoft Edge 96.0.1054.34
! Doctor found issues in 1 category.
The first video is my Flutter Example app, the second video is my Native Android application.
https://user-images.githubusercontent.com/47666575/145549241-50e99b7e-33d2-4161-bd82-e8afd3aa78fc.mp4
https://user-images.githubusercontent.com/47666575/145549562-7e680ef7-8056-4b53-bf5a-2927ec118cec.mp4
Hi @florissmit1, I verified this on a physical device Xiaomi k20 pro and the emulator on running the above code sample it prompted me for permissions and when switching to app setting with app in background microphone and camera were already denied, I toggled to ask every time and returned to app and then again toggled to deny and returned to app the app was still running.
https://user-images.githubusercontent.com/31410839/145585387-6ec28de7-07ac-4c7d-ae94-0ff8cd26f0c9.mp4
flutter doctor -v
[√] Flutter (Channel stable, 2.8.0, on Microsoft Windows [Version 10.0.19042.1348], locale
en-US)
• Flutter version 2.8.0 at C:\flutter_sdk\stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision cf44000065 (34 hours ago), 2021-12-08 14:06:50 -0800
• Engine revision 40a99c5951
• Dart version 2.15.0
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\mahesh\AppData\Local\Android\sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• 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 Community 2019 16.11.4)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.31727.386
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2020.3)
• 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.10+0-b96-7249189)
[√] VS Code (version 1.61.2)
• VS Code at C:\Users\mahesh\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.29.0
[√] Connected device (5 available)
• Redmi K20 Pro (mobile) • 192.168.1.6:5555 • android-arm64 • Android 11 (API 30)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30)
(em
ulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows
[Version 10.0.19042.1348]
• Chrome (web) • chrome • web-javascript • Google Chrome
96.0.4664.93
• Edge (web) • edge • web-javascript • Microsoft Edge
95.0.1020.44
• No issues found!
Thanks for answering and trying to reproduce my issue. Is there a reason why you don't reproduce my steps in the way I described them?
Is there a reason why you don't reproduce my steps in the way I described them? By not clicking the prompt, the issue is not reproducible from my side.
@florissmit1 on starting the app the prompt is displayed and I did not click the prompt initially and tried changing the permissions, the permissions are by default set to denied toggling the permission and bringing back to deny did not make any difference and when the app was brought to foreground the app did work as normal.
it prompted me for permissions and when switching to app setting with app in background microphone and camera were already denied, I toggled to ask every time and returned to app and then again toggled to deny and returned to app the app was still running.
Keep the app active in the background, go to the Emulator's Phone Settings and set the camera or microphone permission to denied in the Settings.
As per your steps change permissions to denied it was by default denied. Can you please specify what step I am missing here.
Thanks
@maheshmnj By NOT allowing location updates in the prompt, but by setting the location permission in the Location Settings screen, the bug is not reproduceable.
Thanks for the clarification @florissmit1, I was able to reproduce the issue. When the permissions of the app are denied while the app is running the app freezes
https://user-images.githubusercontent.com/31410839/147442249-7944abff-5245-423c-b622-4fbafdeeedca.mov
flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
• Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (11 days ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/mahesh/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• ANDROID_HOME = /Users/mahesh/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 13.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.10.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)
[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 60.1.4
• Dart plugin version 212.5080.8
[✓] VS Code (version 1.61.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.29.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.1 21C52 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.110
• No issues found!
[✓] Flutter (Channel master, 2.9.0-1.0.pre.93, on macOS 12.1 21C52 darwin-arm, locale en-GB)
• Flutter version 2.9.0-1.0.pre.93 at /Users/mahesh/Documents/flutter_master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 1be7f1ea56 (12 days ago), 2021-12-14 22:14:07 -0500
• Engine revision e444009bf4
• Dart version 2.16.0 (build 2.16.0-109.0.dev)
• DevTools version 2.9.1
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/mahesh/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• ANDROID_HOME = /Users/mahesh/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 13.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.10.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)
[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 60.1.4
• Dart plugin version 212.5080.8
[✓] VS Code (version 1.61.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.29.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.1 21C52 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.110
• No issues found!
Hey @maheshmnj, thank you for all the good work. It indeed seems to be fixed on the master channel. I will close this issue for now, thanks!
| gharchive/issue | 2021-12-10T09:15:34 | 2025-04-01T06:44:12.572346 | {
"authors": [
"florissmit1",
"maheshmnj"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/94996",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1090326401 | [Android][TouchEvent][Joggle] Touch Cancel Event with location window
Steps to Reproduce
In Android Flutter App with none full screen Activity,TouchCancel Event with getY location will added with status bar height, and in packet converter will add a synthesized move event.
Finally it will case the last two event‘s Y distance larger than others, and case scrollable view joggle.
screenshot with touch event, the last cancel event's Y add with location 136.
go back current activity, scroll view will case joggle effect
https://user-images.githubusercontent.com/1678324/147637796-105f14ab-9ba5-462d-9ad8-feacad87b4e8.mp4
Solution
we should minus flutter view‘s window location in TouchEvent Cancel
Removing the "proposal" label. This is a bug where the cancel event isn't giving us the right coordinates.
| gharchive/issue | 2021-12-29T07:33:47 | 2025-04-01T06:44:12.580811 | {
"authors": [
"chinmaygarde",
"lybeen"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/95929",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1128606910 | [google_maps_flutter] My location blue dot doesn't point in the correct direction
update question: I am facing a problem when using google map flutter. Normally in the google map application, the current position will be displayed with a blue dot and trimmed beam, but in google_maps_flutter, it will display a blue dot and an arrow indicating the direction of the compass. currently when i rotate my phone the beam on google maps app moves in the direction of the phone but the arrow on the app using google_maps_flutter doesn't move or moves very slow and wrong direction. everyone can test it with the example of google maps flutter below. Has anyone encountered this problem can give me advice or a keyword to solve. Thank you everyone for reading.
if anyone wants to try can pull directly from google_maps_flutter example. Install on device -> settings -> enable GPS permission -> open app -> user interface -> mylocation marker. tks
link git hub example:
https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter/google_maps_flutter
blue dot and compass arrow in google_map_flutter
google maps flutter
google maps
blue dot and the beam that indicates in Google Maps application
Hi @dat036, Thanks for filing the issue. I tried to reproduce this issue by running the below code sample, But I am not seeing the blue dot on Google maps even though the app has access to location permission. I am hitting this same issue again https://github.com/flutter/flutter/issues/93376. Also, it seems you are testing on an emulator Have you tried it on a real device?
code sample
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Google Maps Demo',
home: MapSample(),
);
}
}
class MapSample extends StatefulWidget {
@override
State<MapSample> createState() => MapSampleState();
}
class MapSampleState extends State<MapSample> {
Completer<GoogleMapController> _controller = Completer();
static final CameraPosition _kGooglePlex = CameraPosition(
target: LatLng(37.42796133580664, -122.085749655962),
zoom: 14.4746,
);
static final CameraPosition _kLake = CameraPosition(
bearing: 192.8334901395799,
target: LatLng(37.43296265331129, -122.08832357078792),
tilt: 59.440717697143555,
zoom: 19.151926040649414);
@override
Widget build(BuildContext context) {
return Scaffold(
body: GoogleMap(
// mapType: MapType.hybrid,
initialCameraPosition: _kGooglePlex,
myLocationEnabled: true,
myLocationButtonEnabled: true,
onMapCreated: (GoogleMapController controller) {
_controller.complete(controller);
},
),
// floatingActionButton: FloatingActionButton.extended(
// onPressed: _goToTheLake,
// label: const Text('To the lake!'),
// icon: const Icon(Icons.directions_boat),
// ),
);
}
Future<void> _goToTheLake() async {
final GoogleMapController controller = await _controller.future;
controller.animateCamera(CameraUpdate.newCameraPosition(_kLake));
}
}
flutter doctor -v
[✓] Flutter (Channel stable, 2.10.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
• Flutter version 2.10.1 at /Users/mahesh/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db747aa133 (12 hours ago), 2022-02-09 13:57:35 -0600
• Engine revision ab46186b24
• Dart version 2.16.1
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/mahesh/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• ANDROID_HOME = /Users/mahesh/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 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.10.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)
[✓] 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.63.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.34.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.1 21C52 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.80
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
@dat036 I do have location permissions enabled, I did also try requesting permission using the third-party plugin. I searched a bit about this issue and this seems to be related to https://github.com/flutter/flutter/issues/34157 (my logs don't have the error as in the linked issue though)
I do have these permission added to Androidmanifest and also the app settings shows the app has access to location.
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
Yet, I don't see the blue dot on the map neither on a real device (Redmi K20 Pro Android 11) nor on a emulator (Pixel 3a api 29).
code sample
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:location/location.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Google Maps Demo',
home: MapSample(),
);
}
}
class MapSample extends StatefulWidget {
@override
State<MapSample> createState() => MapSampleState();
}
class MapSampleState extends State<MapSample> {
final Completer<GoogleMapController> _controller = Completer();
static const CameraPosition _kGooglePlex = CameraPosition(
target: LatLng(37.42796133580664, -122.085749655962),
zoom: 14.4746,
);
static const CameraPosition _kLake = CameraPosition(
bearing: 192.8334901395799,
target: LatLng(37.43296265331129, -122.08832357078792),
tilt: 59.440717697143555,
zoom: 19.151926040649414);
getLocationPermission() async {
var location = Location();
try {
await location.requestPermission(); //to launch location permission popup
} on PlatformException catch (e) {
if (e.code == 'PERMISSION_DENIED') {
print('Permission denied');
}
}
}
@override
void initState() {
// TODO: implement initState
super.initState();
getLocationPermission();
}
@override
Widget build(BuildContext context) {
return Scaffold(
body: GoogleMap(
// mapType: MapType.hybrid,
initialCameraPosition: _kGooglePlex,
myLocationEnabled: true,
myLocationButtonEnabled: true,
onMapCreated: (GoogleMapController controller) {
_controller.complete(controller);
},
),
// floatingActionButton: FloatingActionButton.extended(
// onPressed: _goToTheLake,
// label: const Text('To the lake!'),
// icon: const Icon(Icons.directions_boat),
// ),
);
}
Future<void> _goToTheLake() async {
final GoogleMapController controller = await _controller.future;
controller.animateCamera(CameraUpdate.newCameraPosition(_kLake));
}
}
flutter doctor -v
Launching lib/main.dart on Redmi K20 Pro in debug mode...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
D/FlutterLocationService(29553): Creating service.
D/FlutterLocationService(29553): Binding to location service.
Connecting to VM Service at ws://127.0.0.1:53327/KUJbYMfdacg=/ws
I/zzbz (29553): Making Creator dynamically
W/example.counte(29553): Unsupported class loader
W/example.counte(29553): Skipping duplicate class check due to unsupported classloader
W/example.counte(29553): Unsupported class loader
I/DynamiteModule(29553): Considering local module com.google.android.gms.maps_dynamite:0 and remote module com.google.android.gms.maps_dynamite:203115000
I/DynamiteModule(29553): Selected remote version of com.google.android.gms.maps_dynamite, version >= 203115000
V/DynamiteModule(29553): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/example.counte(29553): ClassLoaderContext classpath size mismatch. expected=3, found=7 (DLC[];PCL[/data/app/~~HgG0q9kUQG0PIGuCEadKLg==/com.whatsapp-4zjWe0Ygbp7GdPpomnV9Yw==/base.apk*2023969809:/data/app/~~HgG0q9kUQG0PIGuCEadKLg==/com.whatsapp-4zjWe0Ygbp7GdPpomnV9Yw==/base.apk!classes2.dex*1581413119:/data/app/~~HgG0q9kUQG0PIGuCEadKLg==/com.whatsapp-4zjWe0Ygbp7GdPpomnV9Yw==/base.apk!classes3.dex*3045803654]{PCL[/system/framework/org.apache.http.legacy.jar*1721227950]} | DLC[];PCL[/data/app/~~nV504G-WBu0QYneD65uVZQ==/com.example.counter-kxAajdam4r0HKyINZ3xF4w==/base.apk*1816929553:/data/app/~~nV504G-WBu0QYneD65uVZQ==/com.example.counter-kxAajdam4r0HKyINZ3xF4w==/base.apk!classes2.dex*478638605:/data/app/~~nV504G-WBu0QYneD65uVZQ==/com.example.counter-kxAajdam4r0HKyINZ3xF4w==/base.apk!classes3.dex*1176249800:/data/app/~~nV504G-WBu0QYneD65uVZQ==/com.example.counter-kxAajdam4r0HKyINZ3xF4w==/base.apk!classes4.dex*2456907768:/data/app/~~nV504G-WBu0QYneD65uVZQ==/com.example.counter-kxAajdam4r0HKyINZ3xF4w==/base.apk!classes5.dex*2459272281:/data/app/~~nV504G-WBu0QYneD65uVZQ==/com.example.counter-kxAajdam4r0HKyINZ3xF4w==/base.apk!classes6.dex*533153100:/data/app/~~nV504G-WBu0QYneD65uVZQ==/com.example.counter-kxAajdam4r0HKyINZ3xF4w==/base.apk!classes7.dex*3372089773]{PCL[/system/framework/org.apache.http.legacy.jar*1721227950]})
W/example.counte(29553): Found duplicate classes, falling back to extracting from APK : /data/user_de/0/com.google.android.gms/app_chimera/m/000002a5/MapsDynamite.apk
W/example.counte(29553): NOTE: This wastes RAM and hurts startup performance.
W/example.counte(29553): Found duplicated class when checking oat files: 'Landroid/support/v4/app/RemoteActionCompatParcelizer;' in /data/user_de/0/com.google.android.gms/app_chimera/m/000002a5/MapsDynamite.apk and /data/app/~~nV504G-WBu0QYneD65uVZQ==/com.example.counter-kxAajdam4r0HKyINZ3xF4w==/base.apk
I/Google Maps Android API(29553): Google Play services client version: 12451000
I/Google Maps Android API(29553): Google Play services package version: 214815037
I/Google Maps Android API(29553): Google Play services maps renderer version(legacy): 203115000
I/TetheringManager(29553): registerTetheringEventCallback:com.example.counter
E/libc (29553): Access denied finding property "ro.vendor.df.effect.conflict"
E/libc (29553): Access denied finding property "ro.vendor.knock.type"
W/Thread-6(29553): type=1400 audit(0.0:160567): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=28869 scontext=u:r:untrusted_app:s0:c187,c256,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 app=com.example.counter
D/SurfaceView(29553): UPDATE null, mIsCastMode = false
W/Looper (29553): PerfMonitor doFrame : time=51ms vsyncFrame=1288331 latency=330ms procState=2 historyMsgCount=3 (msgIndex=1 wall=346ms seq=188 running=270ms runnable=21ms binder=45ms late=2ms h=android.os.Handler c=io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$TsixYUB5E6FpKhMtCSQVHKE89gQ)
I/example.counte(29553): ProcessProfilingInfo new_methods=1840 is saved saved_to_disk=1 resolve_classes_delay=8000
I/bf (29553): Successfully registered with Phenotype.
W/DynamiteModule(29553): Local module descriptor class for com.google.android.gms.googlecertificates not found.
I/DynamiteModule(29553): Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:6
I/DynamiteModule(29553): Selected remote version of com.google.android.gms.googlecertificates, version >= 6
W/ProtoDataStoreFlagStore(29553): Unable to retrieve flag snapshot for com.google.android.libraries.consentverifier#com.example.counter, using defaults.
W/ProtoDataStoreFlagStore(29553): Unable to update local snapshot for com.google.android.libraries.consentverifier#com.example.counter, may result in stale flags.
W/ProtoDataStoreFlagStore(29553): java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: Package signed with unknown certificate (go/gsrlt)
W/ProtoDataStoreFlagStore(29553): at age.s(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):3)
W/ProtoDataStoreFlagStore(29553): at age.get(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):2)
W/ProtoDataStoreFlagStore(29553): at aii.a(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):1)
W/ProtoDataStoreFlagStore(29553): at aho.g(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):1)
W/ProtoDataStoreFlagStore(29553): at wn.d(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):1)
W/ProtoDataStoreFlagStore(29553): at xu.run(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):0)
W/ProtoDataStoreFlagStore(29553): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ProtoDataStoreFlagStore(29553): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ProtoDataStoreFlagStore(29553): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
W/ProtoDataStoreFlagStore(29553): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/ProtoDataStoreFlagStore(29553): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/ProtoDataStoreFlagStore(29553): at java.lang.Thread.run(Thread.java:923)
W/ProtoDataStoreFlagStore(29553): Caused by: java.lang.SecurityException: GoogleCertificatesRslt: Package signed with unknown certificate (go/gsrlt)
W/ProtoDataStoreFlagStore(29553): at android.os.Parcel.createExceptionOrNull(Parcel.java:2376)
W/ProtoDataStoreFlagStore(29553): at android.os.Parcel.createException(Parcel.java:2360)
W/ProtoDataStoreFlagStore(29553): at android.os.Parcel.readException(Parcel.java:2343)
W/ProtoDataStoreFlagStore(29553): at android.os.Parcel.readException(Parcel.java:2285)
W/ProtoDataStoreFlagStore(29553): at dx.aZ(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):2)
W/ProtoDataStoreFlagStore(29553): at ql.a(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):4)
W/ProtoDataStoreFlagStore(29553): at id.e(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):2)
W/ProtoDataStoreFlagStore(29553): at jc.t(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):2)
W/ProtoDataStoreFlagStore(29553): at jc.u(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):3)
W/ProtoDataStoreFlagStore(29553): at jc.e(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):2)
W/ProtoDataStoreFlagStore(29553): at jg.handleMessage(:com.google.android.gms.dynamite_mapsdynamite@214815081@21.48.15 (150400-0):69)
W/ProtoDataStoreFlagStore(29553): at android.os.Handler.dispatchMessage(Handler.java:102)
W/ProtoDataStoreFlagStore(29553): at android.os.Looper.loop(Looper.java:236)
W/ProtoDataStoreFlagStore(29553): at android.os.HandlerThread.run(HandlerThread.java:67)
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43983013, downTime=43983013 } moveCount:0
W/MirrorManager(29553): this model don't Support
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43983039, downTime=43983013 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(0), id[0]=0, id[1]=1, pointerCount=2, eventTime=43983333, downTime=43983013 } moveCount:32
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=1, pointerCount=1, eventTime=43983341, downTime=43983013 } moveCount:33
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 17 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43983659, downTime=43983659 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43983676, downTime=43983659 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(0), id[0]=0, id[1]=1, pointerCount=2, eventTime=43984105, downTime=43983659 } moveCount:47
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=1, pointerCount=1, eventTime=43984113, downTime=43983659 } moveCount:48
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 8 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43984363, downTime=43984363 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43984406, downTime=43984363 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43984861, downTime=43984363 } moveCount:49
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43984877, downTime=43984363 } moveCount:51
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 7 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 2 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43985170, downTime=43985170 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43985187, downTime=43985170 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43985667, downTime=43985170 } moveCount:48
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43985675, downTime=43985170 } moveCount:49
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 5 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 5 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43986002, downTime=43986002 } moveCount:0
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43986002, downTime=43986002 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(0), id[0]=0, id[1]=1, pointerCount=2, eventTime=43986415, downTime=43986002 } moveCount:38
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=1, pointerCount=1, eventTime=43986473, downTime=43986002 } moveCount:45
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 14 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43986776, downTime=43986776 } moveCount:0
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43986776, downTime=43986776 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(0), id[0]=0, id[1]=1, pointerCount=2, eventTime=43987288, downTime=43986776 } moveCount:56
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=1, pointerCount=1, eventTime=43987288, downTime=43986776 } moveCount:56
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 15 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43987631, downTime=43987631 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43987976, downTime=43987631 } moveCount:34
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 9 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43988243, downTime=43988243 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43988570, downTime=43988243 } moveCount:31
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 14 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43988880, downTime=43988880 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43989284, downTime=43988880 } moveCount:40
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 15 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43989577, downTime=43989577 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43989981, downTime=43989577 } moveCount:41
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 2 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43990385, downTime=43990385 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43990806, downTime=43990385 } moveCount:41
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 5 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 3 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43991064, downTime=43991064 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43991443, downTime=43991064 } moveCount:34
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 21 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43991870, downTime=43991870 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43991888, downTime=43991870 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43992241, downTime=43991870 } moveCount:36
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43992265, downTime=43991870 } moveCount:38
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 11 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43992506, downTime=43992506 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43992533, downTime=43992506 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(0), id[0]=0, id[1]=1, pointerCount=2, eventTime=43992911, downTime=43992506 } moveCount:37
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=1, pointerCount=1, eventTime=43992911, downTime=43992506 } moveCount:37
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 8 lines
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43993094, downTime=43993094 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=43993438, downTime=43993094 } moveCount:33
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 9 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=43993697, downTime=43993697 } moveCount:0
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=43993706, downTime=43993697 } moveCount:0
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 1 line
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(0), id[0]=0, id[1]=1, pointerCount=2, eventTime=43994152, downTime=43993697 } moveCount:47
D/MIUIInput(29553): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=1, pointerCount=1, eventTime=43994152, downTime=43993697 } moveCount:47
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 5 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 3 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 8 lines
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/Counters(29553): exceeded sample count in FrameTime
I/chatty (29553): uid=10187(com.example.counter) androidmapsapi- identical 15 lines
I/Counters(29553): exceeded sample count in FrameTime
Let me know if I am missing anything.
Additionally, Can you please confirm if my code sample above shows the blue location dot on your device?
@maheshmnj mas I used the code sample you provided and it works fine. I don't understand what's wrong with your device either. If needed, I can build an apk file based on your code and send it to you
Thanks for the info @dat036, Labeling this issue for further investigation.
I can build an apk file based on your code and send it to you
Sure, please attach a zip file in the comment and I will take a look.
We encounter this issue as well, it's working fine on iOS devices but on all Android phones the compass doesn't really work at all and is just pointing in random directions.
@maheshmnj I was able to see the blue dot (location dot) after manually enabling location in settings. Go to Settings, Location, App location permissions, select demo app, grant location access for the demo app.
To request permission at runtime, the permission_handler plugin can help. Otherwise, please follow https://developer.android.com/training/location/permissions#request-location-access-runtime. Also, note that
"To protect user privacy, apps that use location services must request location permissions"
For this bug, I'd strongly suggest to create a minimal repro in native only (starting with one of the sample apps https://developers.google.com/maps/documentation/android-sdk/overview?section=tutorials), and one using Flutter. I don't have a reason to believe (yet) that this plugin is doing something wrong.
@blasten I don't think that the issue that the author is mainly speaking is that the blue dot doesn't appear, but that this blue dot is not the same as on Google Maps. On GM there is this shadow of sight, and is turning very smoothly along with the device turning, whereas in the google_maps_flutter plugin there is this blue dot with a simple arrow that's pointing very poorly in a seemingly random direction without even turning the device.
@blasten @LevinGermann yes my problem is not with the blue dot appearing, blue dot with a simple arrow not working correctly when turning the phone in many directions
Ok. Please help us by showing that this isn't a problem in a native app (using https://developers.google.com/maps/documentation/android-sdk/overview?section=tutorials to start with a clean app), and it's a problem when using this plugin. cc @GaryQian
| gharchive/issue | 2022-02-09T14:23:08 | 2025-04-01T06:44:12.607657 | {
"authors": [
"LevinGermann",
"blasten",
"dat036",
"maheshmnj"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/98123",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1149894034 | [go_router] [BUG] context.pop() removes all redirected routes in GoRoute
copied from https://github.com/csells/go_router/issues/346
If we redirect from GoRouter to /3/4, user in 4 route and user send action context.pop() then go_router removes 4 route and user in 3 route, then user sends action context.pop() one more time it removes 3 route, which is expected behaviour in the normal app.
But if redirect from GoRoute to /3/4, user in 4 route and user send action context.pop() then go_router removes 4 and 3 routes
Minimum code to reproduce this bug:
late final _router = GoRouter(
routes: [
GoRoute(
path: '/',
builder: (context, state) => Builder(builder: (context) {
return Scaffold(
appBar: AppBar(),
floatingActionButton: FloatingActionButton(
onPressed: () {
context.push('/2');
},
child: Text('/'),
),
);
}),
),
GoRoute(
path: '/2',
builder: (context, state) => Builder(builder: (context) {
return Scaffold(
appBar: AppBar(),
floatingActionButton: FloatingActionButton(
onPressed: () {
context.push('4');
},
child: Text('/'),
),
);
}),
redirect: (_) => '/3/4',
),
GoRoute(
path: '/3',
builder: (context, state) => Builder(builder: (context) {
return Scaffold(
appBar: AppBar(),
floatingActionButton: FloatingActionButton(
onPressed: () {
context.push('/4');
},
child: Text('/'),
),
);
}),
routes: [
GoRoute(
path: '4',
builder: (context, state) => Builder(builder: (context) {
return Scaffold(
appBar: AppBar(),
floatingActionButton: FloatingActionButton(
onPressed: () {
context.pop();
},
child: Text('pop'),
),
);
}),
)
],
),
],
// show the current router location as the user navigates page to page; note
// that this is not required for nested navigation but it is useful to show
// the location as it changes
navigatorBuilder: (context, state, child) => Material(
child: Column(
children: [
Expanded(child: child),
Padding(
padding: const EdgeInsets.all(8),
child: Text(state.location),
),
],
),
),
);
Hi @II11II, Thanks for filing the issue. I am able to reproduce the issue on stable and the master channel. Is this issue that when you are on /3/4 and call context.pop() it removes both the routes instead of one.
code sample
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
void main() => runApp(App());
class App extends StatelessWidget {
App({Key? key}) : super(key: key);
static const title = 'GoRouter Example: Declarative Routes';
@override
Widget build(BuildContext context) => MaterialApp.router(
routeInformationParser: _router.routeInformationParser,
routerDelegate: _router.routerDelegate,
title: title,
);
late final _router = GoRouter(
routes: [
GoRoute(
path: '/',
builder: (context, state) => Builder(builder: (context) {
return Scaffold(
appBar: AppBar(),
floatingActionButton: FloatingActionButton(
onPressed: () {
context.push('/2');
},
child: Text('/'),
),
);
}),
),
GoRoute(
path: '/2',
builder: (context, state) => Builder(builder: (context) {
return Scaffold(
appBar: AppBar(),
floatingActionButton: FloatingActionButton(
onPressed: () {
context.push('4');
},
child: Text('/'),
),
);
}),
redirect: (_) => '/3/4',
),
GoRoute(
path: '/3',
builder: (context, state) => Builder(builder: (context) {
return Scaffold(
appBar: AppBar(),
floatingActionButton: FloatingActionButton(
onPressed: () {
context.push('/4');
},
child: Text('/'),
),
);
}),
routes: [
GoRoute(
path: '4',
builder: (context, state) => Builder(builder: (context) {
return Scaffold(
appBar: AppBar(),
floatingActionButton: FloatingActionButton(
onPressed: () {
context.pop();
},
child: Text('pop'),
),
);
}),
)
],
),
],
// show the current router location as the user navigates page to page; note
// that this is not required for nested navigation but it is useful to show
// the location as it changes
navigatorBuilder: (context, state, child) => Material(
child: Column(
children: [
Expanded(child: child),
Padding(
padding: const EdgeInsets.all(8),
child: Text(state.location),
),
],
),
),
);
}
flutter doctor -v (mac)
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3 21E230 darwin-arm, locale en-IN)
• Flutter version 2.10.5 at /Users/mahesh/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5464c5bac7 (12 hours ago), 2022-04-18 09:55:37 -0700
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/mahesh/Library/Android/sdk
• Platform android-32, build-tools 31.0.0
• 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.11+0-b60-7772763)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.10.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.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.11+0-b60-7772763)
[✓] 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.65.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.39.20220405
[✓] Connected device (4 available)
• Redmi K20 Pro (mobile) • 192.168.1.2:55555 • android-arm64 • Android 11 (API 30)
• iPhone 12 Pro (mobile) • 535317A4-921C-488F-B234-C2CC6D4AE5A1 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.3 21E230 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 100.0.4896.88
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
[✓] Flutter (Channel master, 2.13.0-0.0.pre.602, on macOS 12.3 21E230 darwin-arm, locale en-IN)
• Flutter version 2.13.0-0.0.pre.602 at /Users/mahesh/Documents/flutter_master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f4875ae865 (34 hours ago), 2022-04-17 15:19:07 -0400
• Engine revision 3c6d4da868
• Dart version 2.18.0 (build 2.18.0-24.0.dev)
• DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/mahesh/Library/Android/sdk
• Platform android-32, build-tools 31.0.0
• 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.11+0-b60-7772763)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
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 upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.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.11+0-b60-7772763)
[✓] 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.65.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.39.20220405
[✓] Connected device (4 available)
• Redmi K20 Pro (mobile) • 192.168.1.2:55555 • android-arm64 • Android 11 (API 30)
• iPhone 12 Pro (mobile) • 535317A4-921C-488F-B234-C2CC6D4AE5A1 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.3 21E230 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 100.0.4896.88
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
Push can only push one page at a time, in my opinion, push should probably no going through redirect. This is one example of how pushing pagebased route mess up the page stack. Just use context.go instead of push. closing this issue
| gharchive/issue | 2022-02-25T00:06:19 | 2025-04-01T06:44:12.616789 | {
"authors": [
"chunhtai",
"maheshmnj"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/issues/99111",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1183956526 | [web] fix CanvasKit benchmarks (was corrupted test PNG)
Fix the corrupted test PNG image that's making image codecs in Chrome 96+ sad. pngcheck agreed with Chrome that the image was indeed corrupted (CRC was invalid). Skia codecs seem to be more lenient than Chrome.
I made a similar fix in https://github.com/flutter/flutter/blob/master/packages/flutter/test/image_data.dart, but missed this file because we don't run CanvasKit benchmarks in pre-submit.
test-exempt: is a test
| gharchive/pull-request | 2022-03-28T20:31:30 | 2025-04-01T06:44:12.619154 | {
"authors": [
"Hixie",
"yjbanov"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/100918",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1659010741 | Cp 3.7.10 java gradle incompatibility catch
Catches and re-throws Gradle error indicating that the Gradle version is incompatible with the Java version that Flutter is using to tell users how to fix the issue.
Related issue: https://github.com/flutter/flutter/issues/122376
Doc covering more about the problem.
https://docs.google.com/document/d/1hTXkjbUrBnXgu8NQsth1c3aEqo77rWoEj8CcsQ39wwQ/edit?pli=1#heading=h.f5p3cvvsruxz
Pre-launch Checklist
[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.
Missing a CLA on a commit here.
Mac build test is a flake, retriggered
Overrode the CLA check, it was flagging christopherfujino@gmail.com (which was used because I authored a commit through the github ui), and I think I signed with christopher.fujino@gmail.com (with a dot)
| gharchive/pull-request | 2023-04-07T17:05:34 | 2025-04-01T06:44:12.624702 | {
"authors": [
"christopherfujino",
"itsjustkevin",
"reidbaker"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/124402",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1799042119 | Fix finish translation for tab labels
Description
This PR update the finnish translations for tab label.
Related Issue
fixes https://github.com/flutter/flutter/issues/110451
Tests
Adds 2 tests.
Just a note, these translations are done internally by translators at Google. I've submitted your translations for review, but until they're approved, I'm going to have to hold off on merging this PR.
| gharchive/pull-request | 2023-07-11T14:14:58 | 2025-04-01T06:44:12.626557 | {
"authors": [
"bleroux",
"thkim1011"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/130333",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1884499451 | Add ios analyzer command for universal links
ios version of https://github.com/flutter/flutter/pull/131009/files
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, including Features we expect every widget to implement.
[ ] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel on Discord.
Oh wow, overriding github status is finally working now. Sorry I override the google testing to pass for this pr, was using this pr to test a fix we have been working on. Definitely let me know if you need an actual Google Testing test to run.
| gharchive/pull-request | 2023-09-06T17:59:06 | 2025-04-01T06:44:12.632671 | {
"authors": [
"XilaiZhang",
"chunhtai"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/134155",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1914864202 | Roll Flutter Engine from f70f65f7a622 to 430df3296817 (2 revisions)
https://github.com/flutter/engine/compare/f70f65f7a622...430df3296817
2023-09-27 skia-flutter-autoroll@skia.org Roll Skia from 76aecbaea259 to 960325c13009 (2 revisions) (flutter/engine#46311)
2023-09-27 skia-flutter-autoroll@skia.org Roll Dart SDK from 7c3588c05f87 to 6c4eb86ecd25 (3 revisions) (flutter/engine#46310)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Commit queue failed; closing this roll.
| gharchive/pull-request | 2023-09-27T07:21:06 | 2025-04-01T06:44:12.638189 | {
"authors": [
"engine-flutter-autoroll"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/135553",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
2005841838 | Animate TextStyle.fontVariations
Fixes https://github.com/flutter/flutter/issues/105120
I also exposed the relevant dart:ui types which had the effect of removing a large number of dart:ui imports from examples.
https://github.com/flutter/packages/pull/5471 should address the flutter_plugins issue
| gharchive/pull-request | 2023-11-22T08:42:45 | 2025-04-01T06:44:12.639947 | {
"authors": [
"Hixie"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/138881",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
2145301329 | Mention SelectionArea in SelectableText docs
Some users of SelectableText seem to be unaware of SelectionArea/SelectableRegion, and our docs have no references between these very similar widgets. This PR adds references and attempts to nudge users in the direction of SelectionArea/SelectableRegion instead of SelectableText.
@hangyujin @Renzo-Olivares My understanding is that there are a few things that SelectableText can do that SelectableRegion cannot, so for now the plan is to keep it around until it can be totally replaced by SelectableRegion. Is that right? Am I ok to strongly nudge users away from SelectableText?
The main flaw (or feature?) of SelectableText that I'm thinking of is that multiple SelectableTexts show multiple simultaneous selection, which can be seen in this dartpad. Using SelectableText, it's easy to stick two of them somewhere and have this poor experience for your users.
FYI @chunhtai
Fixes https://github.com/flutter/flutter/issues/119911
LGTM, I agree it's ok to nudge users away from SelectableText
| gharchive/pull-request | 2024-02-20T21:19:38 | 2025-04-01T06:44:12.642933 | {
"authors": [
"hangyujin",
"justinmc"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/143784",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
2326211085 | Roll Flutter Engine from de07179371f8 to 903809ddc18f (3 revisions)
https://github.com/flutter/engine/compare/de07179371f8...903809ddc18f
2024-05-30 bdero@google.com [Flutter GPU] Upload flutter_gpu.zip upon successful completion of ci/android_debug. (flutter/engine#53107)
2024-05-30 skia-flutter-autoroll@skia.org Roll Skia from 949b8cefbf87 to 693d9362f0f6 (2 revisions) (flutter/engine#53114)
2024-05-30 jiahaog@users.noreply.github.com Disable Impeller when the manifest explicitly disables it (flutter/engine#53108)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Commit queue failed; closing this roll.
| gharchive/pull-request | 2024-05-30T17:29:54 | 2025-04-01T06:44:12.649126 | {
"authors": [
"engine-flutter-autoroll"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/149332",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
322902555 | Updates to debugDisableShadows
Make BoxShadow.toPaint() add a stroke so that we can see where
shadows would have otherwise been painted.
Make CupertinoSwitch use BoxShadow.toPaint() so that it respects
the debugDisableShadows flag.
This change produces a weird difference in shadow.BoxDecoration.disabled.png:
Before:
After
Merging on red because the redness is a suspected flake that we're unable to restart.
| gharchive/pull-request | 2018-05-14T17:04:58 | 2025-04-01T06:44:12.652673 | {
"authors": [
"Hixie",
"tvolkert"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/17577",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
438592847 | Roll engine 1ecf924ff861..c0036315d4ca (5 commits)
https://github.com/flutter/engine/compare/1ecf924ff861...c0036315d4ca
git log 1ecf924ff86146c09ce834b295a2c4446122857c..c0036315d4caed8db3ae2adb66aaedd6466fddf7 --no-merges --oneline
c0036315d Roll src/third_party/skia bd425405f3aa..79e53712a05f (3 commits) (flutter/engine#8783)
5aa5b6cbf VirtualDisplay size constraint - add a comment explaining the reason (flutter/engine#8780)
ee3f04ac8 Roll src/third_party/skia 037884e5080b..bd425405f3aa (3 commits) (flutter/engine#8781)
ab01d7396 Roll src/third_party/skia d425dee662d1..037884e5080b (10 commits) (flutter/engine#8778)
a0bb23aad Fix header include guards for fml/thread_local.h (flutter/engine#8721)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.
Auto-roller completed checks. About to merge.
| gharchive/pull-request | 2019-04-30T03:45:42 | 2025-04-01T06:44:12.656643 | {
"authors": [
"engine-flutter-autoroll"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/31823",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
527522502 | Roll engine d1cac77d5a4e..591144dfef59 (1 commits)
git@github.com:flutter/engine.git/compare/d1cac77d5a4e...591144dfef59
git log d1cac77d5a4e..591144dfef59 --no-merges --oneline
2019-11-23 bkonyi@google.com Roll src/third_party/dart 603fd7881f..16cbabec3a (1 commits) (#13994)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Auto-roller completed checks. About to merge.
| gharchive/pull-request | 2019-11-23T07:21:01 | 2025-04-01T06:44:12.660998 | {
"authors": [
"engine-flutter-autoroll"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/45452",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
534599646 | Roll engine e7b69ced2e24..f5250ec9b1ef (2 commits)
https://github.com/flutter/engine/compare/e7b69ced2e24...f5250ec9b1ef
git log e7b69ced2e24..f5250ec9b1ef --first-parent --oneline
2019-12-06 iska.kaushik@gmail.com [fuchsia] SnapToNextPhase refactor + add tests and documentation (flutter/engine#14158)
2019-12-06 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/mac-amd64 from VKso5... to 9C6UA... (flutter/engine#14161)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Trybots failed. These were the failed builds: https://github.com/flutter/flutter/runs/339130756
Commit queue failed; closing this roll.
| gharchive/pull-request | 2019-12-08T20:56:43 | 2025-04-01T06:44:12.666153 | {
"authors": [
"engine-flutter-autoroll"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/46541",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
547790675 | Make ParentDataWidget usable with different ancestor RenderObjectWidget types
Description
Prior to this change, a ParentDataWidget was bound to a particular ancestor RenderObjectWidget type, whose RenderObject was responsible for setting up the parent data that the ParentDataWidget would write to. A given ParentDataWidget could not be re-used with another RenderObjectWidget type as ancestor. For example, a new implementation of Stack (e.g. SuperStack widget) was not able to re-use the Positioned widget, because it was bound to the existing Stack widget.
This change loosens the contract between ParentDataWidget and ancestor RenderObjectWidget types. Any RenderObjectWidget type can be used as an ancestor for a ParentDataWidget as long as the RenderObject of the RenderObjectWidget sets up the ParentData type expected by the ParentDataWidget.
Related Issues
Required for fixing https://github.com/flutter/flutter/issues/45797.
Tests
I added the following tests:
Test to verify that a ParentDataWidget can be used with different RenderObjectWidget types as ancestors.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.
[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.
Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.
[ ] No, no existing tests failed, so this is not a breaking change.
[x] Yes, this is a breaking change. If not, delete the remainder of this section.
[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[x] I wrote a migration guide: TODO
| gharchive/pull-request | 2020-01-10T00:02:38 | 2025-04-01T06:44:12.676156 | {
"authors": [
"Hixie",
"goderbauer"
],
"repo": "flutter/flutter",
"url": "https://github.com/flutter/flutter/pull/48541",
"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.