Not able to change the thingsboard Icon
Closed this issue · 5 comments
I tried changing the images in the assets. also the checksum but for some reason I still see the old icons. Can anyone help me out with this issue or has anyone managed to fix this yet
Did you build successfully? I can't build the app in both VS Code and Android Studio #59
Yes ! the build was successful the app is running as well. Check the version or your app. Is it compatible with your subscription.
Thanks a lot. I have solved the issue already. It is due to network issue.
I managed to change the icon. Here is what I did.
-
Add different resolutions of
custom_logo.png
in\flutter_thingsboard_pe_app\android\app\src\main\res
. You should put them in folders with the prefix ofmipmap
. I used this Flutter icon generator to prepare my icons.
-
Go to line 30 of file
flutter_thingsboard_pe_app\android\app\src\main\AndroidManifest.xml
. Changeandroid:icon="@mipmap/launcher_icon">
toandroid:icon="@mipmap/custom_logo">
.
I hope it helps.
Hey Thanks a lot man ! It worked