This is my first question on this forum.
I have a weird problem on Android platform. Currently our app is in closed beta and I have received few error reports of disappearing texts.
In practice, all the texts disappear in my app. In every Fragment, in every Activity. Also from Action Bar. Based on the reports, it seems that this occurs after using WebView, but I can not be sure if usage of the WebView has something to do with this issue.
I'm targeting the app >= 4.2 Android and received error reports from 4.2 to 4.4. Unfortunately I haven't been able to reproduce the problem.
This image shows you the problem. In the image should have texts in Action Bar (App name, Tab texts and also lot of texts in the view:Screenshot of the problem
Have you ever encountered this kind of problem and do you have any idea what might be the problem.
Thanks, Veikko
Related
Android studio is getting stuck constantly and updating or restarting pc is not helping. Sometimes the emulator would show a previous change that was made to the app, while others it would display a blue screen showing that something went wrong without showing more details. I think is not the Wi-Fi connection because I've tried it even within my university campus and the problem keeps appearing.
When these problems are showing but the blue screen is not showing, I'd notice that neither the buttons of the android emulated nor the changes made to the app would be displayed. Sometimes Android SDK and Expo would work properly without my intervention.
Can someone please illustrate me? This is interfering with my app development without it being a direct problem of my app.
Photo of the blue screen
Description of the blue screen
Also, I already searched on StackOverflow and reddit, but I don't find a current answer for this problem.
I have an Android app in the Play Store. In the last couple of days I've started getting bug reports about "black blocks in the settings screen". Unfortunantely I haven't been able to reproduce the bug on my devices, so everything I know comes from user reports.
I've got the following screenshots from a helpful user:
http://madscientist.pl/temp/bug0.png
http://madscientist.pl/temp/bug1.png
There's supposed to be white text on the tab headers, on the buttons and next to the radio buttons and seek bars. There should also be white horizontal lines separating the options.
The sizes of those black boxes that are visible (the rest is on the black background) correspond to the sizes of letters that are supposed to be there. The text on the two columns of buttons reads "Save" and "Load".
My app can be opened in two modes: live wallpaper and as a "regular app". The problem apparently exists in both versions.
Almost all bug reports describe another characteristic: the settings screen sometimes works correctly and sometimes it doesn't. E.g., sometimes opening the settings activity of the live wallpaper for the second time fixes the problem.
Another person wrote that it works correctly on the first application run only. After that, he has to clear the app data and then again it fails on the second run. So it seems that the bug manifests itself rather unpredictably.
I admit to not being a very good dev and that all the text is put directly in the layout files instead of in strings.xml. It was never an issue before, but just in case I'm in the process of establishing if putting the strings in strings.xml helps with one of the users.
The problem seems to be independent of the device. I've got reports from Samsung, Motorola, LG and Nexus users.
From what I've established so far, for at least one of the users the problem happens on both current and previous version of my app. The previous version was in the store since January 2015. The current version is a month old. I've been getting bug reports for just over a week now so this doesn't seem to be (directly) caused by some change I made to the app.
This led me to believe that the new Android version that has been rolling out recently (at least I've got 5.1 a week ago) is the reason. However I've got bug reports from a user who runs the app on 5.0.2 and 4.4.4.
The app is moderately popular and has a stable amount of downloads, so the fact that in the last week I've got a dozen reports of this bug, and before that I've never heard of it, leds me to believe that it indeed started happening over a week ago. So apart from the bug itself, it's really beyond my understanding what made it appear just now, if neither application update nor system update seem to be related.
I could provide more data, but the question is already terribly long. Let me know what else you think could be helpful.
This question already has answers here:
Android SystemUI glitches in Lollipop
(6 answers)
Closed 7 years ago.
I have a full screen video using Exoplayer in a FullScreenActivity where status bar and navigation bar are hidden (from android >= 4.4).
When the activity is finished, I go back to last activity which is NOT a fullscreen (system ui is displayed) and 70% of the time I'm having a really strange issue on the system UI as follow :
Note that the image is the original one, so the white space on the right of the navigation bar is displayed on the phone.
This artefact disappear when another video play of when resuming the app. The top artifact correspond to the Toolbar + status bar. The artifact appear when fullscreen activity is fully fade out and finished.
Any sugestion or code request is welcome.
There is a known bug in WebView (at least since KitKat) that sometimes causes these artifacts. It was filed in the Android bug tracker as this issue. Although they claim it's fixed in Android 5.0, that is not the case, though (at least from my experience) it's not quite as easy to reproduce as before.
In any case, the workaround is to use software rendering for the WebView, via setLayerType():
webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
Some related questions:
Android SystemUI glitches in Lollipop
FlipAnimation causing issue in 4.4.3
If you have a self-contained example that reproduces the bug, I would be very grateful if you could provide it to the guys at the AOSP Issue Tracker, in the link above.
This might be rendering problem and has been reported here
Setting your WebView like so:
yourWebView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
can solve your problem.
I try to run an embedded web in Android, but it crashes when using Android 4.3 (Nexus 4). I run the app and the first webview appears correctly, but when I touch the textbox and the keyboard appears, the view gets frozen just on the top part of the keyboard (where the text predictor is located in case it's active).
This problem only appeared when using 4.3, not with the previous versions.
I've been trying to fix the bug as it says in this issue, but the solutions they give don't resolve my case: https://code.google.com/p/android/issues/detail?id=42518&q=webview&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
I would love if somebody have been through this problem, because we don't know what to do to fix it...
After more than one year without trying the app, it is working now. The device now is running Android Lollipop, so I guess that probably the WebView has some improvement that avoids the bug.
I have a very simple Android app. It is one Activity with Text and Buttons, and as you click on the buttons (onTouch events), they become invisible and the text changes.
This works fine for Android 3 and Android 2.3.3 simulators, but when I use the BlackBerry nature in Eclipse to send the app to a BlackBerry playbook simulator, funny things happen. As I click on the buttons they go invisible, but other buttons change too.
Buttons that were only ever visible, stay visible. Some Buttons that were invisible, become visible. Some buttons that had become visible earlier, return to being invisible.
It feels like a redraw problem, or some strange caching on the button state.
Anybody got any ideas? Wild guess excepted ...
Get a playbook or wait until RIM updates their broken simulator.
I converted an app for the playbook and the code was running fine on the simulator. It's a very simple app too, like a binary calculator. A couple of toggleButtons, Buttons and a TextView.
The app had visual issues, similar to yours. Buttons disappeared. Buttons were highlighted when I pressed buttons around them. ToggleButtons didn't change state. And much much more.
Since I don't have a playbook I couldn't test it on a real device. I tried layout changes, code changes and tried different settings. But nothing helped, those issues stayed.
After some reading in their forum I came to the conclusion that this might be an issue with the simulator.
So I submitted the app to the AppWorld 5 days ago. It got approved today.
So there is a chance that your app is alright, and the problem is the simulator.