I added app-icons to my app for both iOS and Android. I watched this Tutorial and it is working so far. But the problem I have is that my Android Icon looks like this at the moment:
But the icon should fill the circle. In the tutorial it is shown how you can do it in Android Studio, but I am using VSCode.
I tried searching for it but couldn't find anything..
How can I get this done?
By the way, I am not using flutter_launcher_icons .
It seems that you can't do it from vs code, it has to be done in android studio...
I have searched for an answer as well as I was stuck with this and ended up doing it in android studio.
If someone has a solution please share.
Flutter has its own default icon for every app in its Android and Ios folder so there are few steps that I would like to show to change the app icon.
Head over to https://appicon.co/ and generate your own icon using icon image (the zip file contains two main folders android and Assets.xcassets)
For android: Go inside android\app\src\main\res in your flutter app and there paste the android folder content.
For IOS: Go inside ios\Runner in your flutter app and there paste the Assets.xcassets content
Restart your emulator or rebuild your application 😁
Related
In my app I've changed all the image in the generated folder android\app\src\main\res\mipmap[...] with my app icon, but still I get the default image.
How is this possible?
The default image is not present anywhere....
Someone could give me some help?
thanks
Since you haven't mentioned how you change the icon in android, I can only suggest you try what I tried successful way.
Using the cordova-res plugin to generate the plugin, and using scripts below to copy them into IOS or Android folders.
https://capacitorjs.com/docs/guides/splash-screens-and-icons
Detail steps:
https://gist.github.com/dalezak/a6b1de39091f4ace220695d72717ac71
I've been trying to find a way to change that icon by many ways but that didn't work - I still get this white android on the blue background.
I tried:
using Android Assets Studio where I configured all assets (app icon and everything else looks good except that minimized icon)
changing AndroidManifest.xml icon and round icons
using flutter_launcher_icons plugin
And everything is without luck. How can I manually change that specific minimized icon?
Apparently, this is only an issue when working in the debugging mode on an emulator. I've tried the same application on the physical mobile device and it had the correct image up there. Perhaps, it's a Flutter bug.
that is regular ic_launcher.png the one under "round" that is selected in picture above.
When using flutter_launcher_icons package, try giving your new icon set a new config name like 'new_launch' and providing image_path and adaptive_icon_background for android.
Running flutter pub run flutter_launcher_icons:main in terminal got my icon in the minimized screen as well.
Here's an example
I want to create a custom keyboard for android.
So I am starting from the official softkeyboard example.
So I have downloaded it and I have opened it with Android Studio.
But as you can see, there is no way to Run it ( the play button is grey instead of green ):
What do I have to do ?
This is not my first app, I have developed other simple apps that work perfectly.
there is no gradle file in that project so you cant run... create new project and copy your classes
I started off with a black activity and whenever I try using Android studio, I get stuck in this screen. I cant drag any widgets, enter any text, or make any changes to the user interface. Is there anything I am missing? I downloaded all the Android Studio bundle and I have all the required SDK tools. I have attached a screenshot of what I am currently stuck with.
A screenshot of what I am seeing:
Recently I encountered the same problem myself. After some research I found that you must now use the "content_activityname.xml" file in order to edit the ui of an activity.
In your case this file is located in the layout folder, right under your activity_main.xml in the picture provided.
According to this thread: What is the role of content_main.xml in android studio 1.4? the main.xml now contains the global look of the ui, and also contains the content.xml file which again contains the components of the ui.
You should think of uninstall and reinstall Android Studio and after that creating a new Project. You also are able to look at some tutorials created by the creators of AS. They can be found at Android Developers.
I have made an Android application. It was done by Phonegap Build. Now I want to share it.
But whenever I go to Phonegap Build's page of my app (https://build.phonegap.com/apps/1539142) it doesn't show my app's icon. Rather it shows the phonegap's icon. Now it is not possible to share an app in this way. Image attached for showing.
I am talking about the icon just beside the name of app. What is the problem and a solution?
It should be enough to add this line to your config.xml:
<icon src="AppResources/icons/icon.png"/>
And make sure that the Icon file is in the same Directory.
#Abeer, You need to add all the icons sizes. I know that because I did it before with Android. When I added iOS, I marked the size of each icon on the icon. That way I could tell the size of the icon displayed. So when I added iOS to my Splash Screen Demo, Phonegap build used the 180x180 icon for iOS instead of the Android. In your case, I think you just have to make sure you add all the icons sizes. This is the reference I used.
Adendum - July 15, 2015
#Abeer,
Source:
https://github.com/jessemonroy650/Phonegap-Splashscreen-Test
All examples:
http://codesnippets.altervista.org/examples/phonegap/demos/PUBLIC.Apps.html
I did not use Eclipse or Android Studio either. I upload www. I use github.com, is same as www folder