I am developing an android app (Phonegap) and whenever I am testing on the device that is plugged in I cannot see the error on the log because of OpenGLRenderer prepareDirty populating the log. It's very annoying, how to get rid of it?
Device: Lenovo Tab A7
see screenshot:
<application android:hardwareAccelerated="false" ...>
or for the activity
<activity android:hardwareAccelerated="false" />
After a fair amount of google research, turning off hardware acceleration was the only workaround found. Set the following in your manifest for the entire application
to do custome log message filter
you can set custome filter in android studio.
and add follow tag and your package name
^(?!.(OpenGLRenderer)).$
where OpenGLRenderer can be replace with the tag that you want to ignore
like ^(?!.(youctag1|tag2|tag3)).$
if you are using Android Studio, you can get rid of those annoying messages by adding a filter configuration with :
Log Tag:
^((?!(?:OpenGLRenderer|GraphicBuffer|MaliEGL)).)*$
and don't forget to set your package name.
Related
I found lots of questions about this but I have a different problem. The launch icon is not refreshing on a specific phone with Android 10. I tried to changed it and installing it again and does work. The good thing is that on another phone with Android 7 works perfectly fine, even changing the icon.
It's clearly a phone cache problem. The Same flutter app on two different devices present different icons.
This didn't worked:
Uninstalling the App
Shutting down the phone
Turning on the phone
Installing the app
Tried with Visual Studio Code, Android Studio and the Cmd console, it doesn't work. I hoped that the release installation will work but nope.
Any ideas?
Found the problem.
My Android manifest has:
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
For Android 10 it was taking the ic_launcher_round, and for the Android 7 the ic_launcher. I would like to know if there is some kind of configuration to change this or it is an Android fixed thing.
I created an android app with a dashboard Designed with Cardviews. When i run it on the virtual device or on my tablet, it displays the cards. But doesn't display them on non Tablets Devices. Did someone faced this issue and how could be solved?
It may cause by Hardware acceleration is not enabled. Please enable this property in application field by using this line in your manifest.xml file and try again:
<application android:hardwareAccelerated="true" ...>
I have a an android media box. It is the Measy B4A Amlogic s802 Quad core Cortex A9# 2GHz (AML8726-M8) with Octo-core Mali-450MP GPU # 600MHZ. OS is Android 4.4.2 Kitkat
I'm running a digital signage app on it and it is working fine but with one problem, which is the top notification bar. I can't seem to get rid of it. What I want is to completely remove it and launch the app at full screen.
I'm not really a coder and I was able to root to the device with VRoot but I don't really know what to do next. Any ideas, please help.
thanks,
Hussein
Simply write this in your manifest:
<application
...
android:theme="#android:style/Theme.Holo.NoActionBar.Fullscreen" >
...
</application>
You might like to check NoviSign App to get get performance for digital signage openinf a full screen on Android device 4.1 and above. Here is the link.
I'm making an Android app using Eclipse, phonegap (version 2.1.0) and html5.
I'm encountering a problem with the orientation of the app. When I rotate the mobile, on landscape mode, the app crashes. I looked to the other posts and applied the methode that seems to work for others (e.g android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale") but the app continue to crash.
And when I try this : android:configChanges="orientation|keyboardHidden" , the app doesn't crash in landscape mode but don't come back to portait mode!
My minimum required version is android 2.3.3 for the app.
Does anyone have already encoutered this problem and solve it for Android 2.3.3? I'm kind lost and don't know what other solution to test.
Thanks
Kraken
UPDATE: Something I forgot to say is that I'm working only on the emulator. I don't have a device with android 2.3.3 so that I could test my app.
Make sure that for all of your activities you set at least the below code:
Do you have a splash screen maybe that doesnt have it or an admob or other advertisement view on it?
<activity android:name="main" android:launchMode="standard" android:configChanges="orientation|keyboardHidden"></activity>
Also make sure that you save your instance when rotating in your webview like described in this post: Android WebView: handling orientation changes
If it then still crashes please provide some log file to show the error it is having.
Actually my problem is the same as the question posted in :
the same problem
But there is no answer yet..
Here is the problem I got :
I've just built an application using sencha touch & phone gap. It runs well on my galaxy tab but when I rotate it to portrait or landscape, it is going crash.
I have added :
android:configChanges="orientation|keyboardHidden"
on my manifest file but it is still going crash when I rotate it.
I don't know how could this happen.
Could someone help me?
Note :
I'm using
- Galaxy tab
- Sencha-touch 1.1
- Phone gap 1.2
You should have
android:configChanges="keyboardHidden|orientation|screenLayout"
instead of
android:configChanges="orientation|keyboardHidden"
to your activity in the manifest
Might be a bit late... but since I've recently been trying this, I found that specifying
android:configChanges="orientation|screenSize|keyboardHidden"
works where as
android:configChanges="keyboardHidden|orientation|screenLayout"
does NOT.
I'm using cordova 2.0.0.