Hello I am new to flutter and was doing an ecommerce app while importing images URLs from firebase SOMETIMES while calling the "Image.network" gives me this error but only sometimes, and with different picture URLs(every time it is random and sometimes it loads every picture)
which is weird I don't know how to solve it .
Here is the exception it gives.
Here is mobile emulator picture
as U can see it's different every time.
There appears to be a few solutions that people have come up with. On the Flutter GitHub issues page this "hack" appears to have helped some people:
Potential Solution
Related
I've just uploaded my apk to Firebase and run a "Robo" test.
Test passed, I can see screenshots, logs and video, but there is no performance results. It says "There is no data at this location". Also in the video tab, there are no graphs underneath.
This is how it should look like according to the Firebase docs:
https://firebase.google.com/docs/test-lab/images/performance-results.png
Any ideas what could went wrong?
I've run this scenario on Pixel, API Level 26. My app is an OpenGL game.
Sometimes the performance tab does not load initially. With the performance tab showing, simply reload the whole page and see if it shows up. I ran into the same issue and reloading fixed it for me.
I recently started to learn to develop apps for android, but I'm stuck for quite a while on 1 problem:
I want to log from my app to a website (http://student.tu-sofia.bg/) and download some data from it, so I can use it later in my app. I have red different articles and tried different things but in the end nothing worked. The closest thing that I got as a result was receiving the source code of the login page( tried this Android: How to programatically login to website and retrieve data from it?)
Can someone tell my what I am doing wrong or give an advice how I should approach this ?
I am using reactnative for making an android app. I am using react native router flux for navigation between different pages of the app. (As the doc indicates by calling Actions.PAGENAME()).
When each page loads initially everything was quite good but the problem arises after navigating or browsing through different pages of the app for some time , Images starting to disappear. The places where I used image are blank in that case. Also when I reload the app several times in debug mode, same thing happen.
After trying for couple of days with lots of trial and error I had found that this issue is caused when I use < Image > component with props resizeMode="contain". If I use resizeMode="cover" , the issue is not there. However, I need that props on order to place the image properly and it seems the only option.
Does any of you faced the same problem I am facing no ? Is there any solution to the problem? If not, then what is the alternative?
Try to add android:largeHeap="true" in your android manifest application tag. Like the following stackoverflow-answer described. This seems to create better performance and may solve your image loading issues.
React-native: image missing after reloading JS several times
I have an icon within my app that links to my fan page. It was working fine before but since around 2 weeks ago, whenever someone clicks on the icon, they get to an error page saying: “Trouble Loading Timeline”. It also says “Tap to retry” but nothing happens when they do.
Although I’m using the same source code for both (because of Unity3D engine), this happens only for Android, not iOS. I didn’t have this issue after my last update but it started happening suddenly a few weeks after. I didn’t make any changes in my source code in the last few weeks.
Would anyone know what the issue is and how to fix it?
Thanks
We are developing an app using jQuery mobile and phone gap. Everything seems to be working fine but when running the app on a connected Android phone we see tons of errors like this in the Eclipse logcat
:0: GetPTLAFormat: invalid format
Any idea what this is or how to resolve it?
I believe it has something to do with a new standard for disabling auto events. There is a similar question about Embedding iframes where they are having an issue with auto-playing videos.
I have had the same issue with a jquerymobile cordova app. My index page is a splash page and when cordova has successfully loaded it navigates to my main application page. I was using jQuery.mobile.navigate(myPage);. This gave me about 20 :0: GetPTLAFormat: invalid format errors. I tried jQuery.mobile.changePage instead and got only 3 errors.
As the page transition happens without any input from the user I tried giving my splash screen image an onclick even to transition instead. Not very practical for the final application, but just as a test. I still get the errors with navigate, however with an onclick and changePage I do not get any errors.
My conclusion is that the new standard doesn't allow automatic playing and transitioning etc. I still haven't figured out a way to get around this but the solution seems to be to have a user trigger the event and it solves the problem.
To hide it from Eclipse logcat, enter the following as a filter/search term in logcat:
^(?!.*(GetPTLAFormat)).*$