Android app is not shown, despite set in manifest
-
wrote on 5 Jul 2017, 15:19 last edited by
Hi,
I created a AndroidManifest.xml (Projects\Build Android APK\Create Templates), and on the section Application, item Application Icon, I set the same .png file to all the three DPI.
However, when I run the app, the icon that appears is not the one I defined, but the default (the Android logo).
Am I missing something?
Thanks!
-
Hi,
I created a AndroidManifest.xml (Projects\Build Android APK\Create Templates), and on the section Application, item Application Icon, I set the same .png file to all the three DPI.
However, when I run the app, the icon that appears is not the one I defined, but the default (the Android logo).
Am I missing something?
Thanks!
wrote on 5 Jul 2017, 15:41 last edited byAre you on creator on windows?
I have my AndroidManifest.xml on c:...\android
and there are 2 more folder aside. In the res folder are currently 3 sub-folders and two are holding the icons.-
c:...\android\res\drawable-hdpi\icon.png
-
c:...\android\res\drawable-ldpi\icon.png
The medium size is not set in my case.
-
-
wrote on 5 Jul 2017, 15:56 last edited by
Thank you for your time.
I am using Linux, and under
android/res
there aredrawable-hdpi
,drawable-ldpi
anddrawable-mdpi
folders, and in all of them there is the .png file I set as application icon. I think it is correct, isn't it? -
Thank you for your time.
I am using Linux, and under
android/res
there aredrawable-hdpi
,drawable-ldpi
anddrawable-mdpi
folders, and in all of them there is the .png file I set as application icon. I think it is correct, isn't it?wrote on 5 Jul 2017, 16:10 last edited bySorry, I am on windows and I am still not very experienced.
All I remember is that the name icon.png for the icons has been generated through the importing into the manifest with creator. Therefore you are needing the different folders. I can't remember that I have seen places where the naming could be changed.
The only recommendation I could give with my limited experience is to rename the whatever.png to icon.png and see, if it helps.
-
wrote on 5 Jul 2017, 16:29 last edited by
Thanks, but the file name already is
icon.png
. -
wrote on 5 Jul 2017, 19:35 last edited by
Perhaps Android doesn't like the png files? I would check that they are 32 bit with alpha channel as specificied (I don't know if Android discards e.g. 256 colour files, but I wouldn't be surprised).
-
wrote on 7 Jul 2017, 10:00 last edited by
Hi,
to make Qt app creation for Android and iOS easier, V-Play Engine offers many Components especially made for mobile app development and comes with many open-source demos and project templates you can start your application with.These demo projects, for example, also come with a pre-set folder structure and AndroidManifest.xml and Project-Info.plist configurations with icons.
Hope this helps!
Best,
GT
4/7