I have an app that has an widget preview image. I recently updated this image on the app, but in a device with Lollipop (5.0) version of android, the preview image of the widget shows the old image (the one I replaced). The same doesn't occur in devices without Lollipop.
I turned the resources folder upside down searching for the old image, but it is correctly updated in all the places (actually, it is only in one folder, as I have only one image of the preview).
Just to give more info, I'm using Android Studio 1.0-rc1, and this problem only occurs in my Nexus 4 with lollipop (5.0) running on it.
I tested in some emulators with Lollipop, and the same happened.
It's important to highlight that if I never installed any previous version of the app (with the old widget preview image), when I install the new version the preview image appears to be correct.
Is anyone having the same problem, or knows how to solve this?
Thanks.
I had the same problem. I managed to work around it (on Nexus 5) by going to the settings of the launcher app (Settings -> Apps -> Google App) and deleting the cache.
I also had this same issue and the answer by #spookypeanut put me on the right track.
My phone is running CyanogenMod so I had to go to app Launcher3 (com.cyanogenmod.trebuchet), clear cache and force stop it. After it reloaded all the previews updated.
Related
We are working on Print service(plugin) related application, we have a production version which is available on Google Play. We planned to release an updated version of this app with the new app icon(launcher icon). We replaced existing res/drawable/ic_launcher.png with a newer icon with a different name like res/drawable/ic_new_launcher.png. So to see the updated new logo, We have to navigate Android Device setting -> Printing. It is showing me the Android logo instead of Our app logo.
We can see app icon only if we restart device & coming back to Printing service screen under device setting.
We tried to move ic_new_launcher.png from drawable to mipmap but still facing the same issue.
Issue observed on Samsung Galaxy S8 plus(7.0 Nougat) & LG G6(7.0 Nougat). Not sure this issue resides on other device models & OS version.
Note: *App logo is showing perfectly if we install freshly
Attached Image for reference
Please let me know If any other information required.
Add your launcher icon in all below res folder i hope its help
1)mipmap-hdpi
2)mipmap-mdpi
3)mipmap-xhdpi
4)mipmap-xxhdpi
5)mipmap-xxxhdpi
I'm trying to make a very simple android app using Android Studio, it should open with a splash screen, then open a WebView.
I made it, and it works perfectly on my phone (with android 4.4.2), but when I try to use it on other device, I only get a white screen. I tried to use on a phone with android 4.1.2 and 6.0, none of them worked.
Any ideas where could be the error?
Edit:
Here's the files
https://github.com/gethuliogripp/kitexp
I've come across this problem and I was getting no errors as well. You have to make sure the images you use in the app such as your web view and splashcreen actually fit the screen so the app doesn't run out of memory. So make sure your images in your drawable are almost the same size as your phone screen, for my background i made the image 3in by 5in and my app works on all devices now.
The story is that I developed an Android program with Android 4.4.2. But some problems was found after installing the program to a device with Android 5.1.1. So I tried to download Android 5.1.1 for my SDK to debug the problem. Then the AVD I kept on using becomes like a mess no matter I changed to different configuration (see picture 1). My AVD configuration is as picture 2.
Hope someone could help... Thank you so much!
Picture 1
Picture 2
Got a temporary way to solve it and don't know if it is correct.
Set the skin to "no skin".
There is another problem happened now. The control bar of that window shows out of the screen. It makes the window cannot be moved. Anyway, I can continue my development job in this way...
I have an app in which the user draws an image using Canvas and Bitmap. When the user wishes to save the image I use MediaStore.Images.Media.insertImage.
On an Android 4.3 or earlier device or AVD it works.
On an Android 4.4 AVD it works.
On an Android 4.4 device it fails with a FileNotFound exception appearing only in DDMS. HOWEVER, if I then go to the Android 4.4 devices camera app and take one picture, then go back to my app and save my image IT WORKS!
Seems like a bug to me. Anyone have any ideas?
Best, Paul
Make sure that there's the folder /sdcard/0/emulated/DICM/Camera. In Android4.4(Kitkat), 3rd party app doesn't create the DCIM/Camera folder. It seems like a bug.
related Google's commit
I'm using
Nexus 7 android 4.2
SDK and eclipse is the adt-bundle-windows version. *download on 2012-11-21st
OS is Windows7 64bits home premium sp1
I tried to run the sample code at
...\ApiDemos\src\com\example\android\apis\graphics\BitmapDecode.java.
It is successfully build and run on both simulator and my nexus 7. The problem is the app doesn't display the *.gif animation but the the other 3 *.bmp is shown correctly. There even doesn't has any black box on the screen.
I tried different *.gif file which from internet or SDK example image file.
And I have attached the files at google group. Here is the link.
In debug mode, I checked some parameter and as below:
the inputstream having the same length with the gif file, so I think is read successfully.
The Movie.draw x,y is having a positive number.
May be the frame rate is too high, so I tried to slow down by putting a delay and tried Movie.setTime(10); So it atleast must show some static picture. But at my device/simulator just got blank screen.
Thank you.
Regards,
Murnesty
Android doesn't support animated GIFs.