I used this tool to create my icon:
Easy App Icon
As suggested by this post:
https://www.b4x.com/android/forum/threads/adaptive-icons-simple-instructions-and-tips.123843/
Everything went smoothly, but when I try and compile my app I get this error:
These are the directories the app generates:
I checked through the directories and all of them except mipmap-ldpi have an ic_launcher_round.png file. The mipmap-ldpi directory only has an ic_launcher.png file.
Here is my manifest icon reference:
I presume the issue is that the manifest is looking for the ic_launcher_round file in the mipmap-ldpi directory and not finding it. But the icon generator tool does not generate that file.
Any suggestions?
Easy App Icon
As suggested by this post:
https://www.b4x.com/android/forum/threads/adaptive-icons-simple-instructions-and-tips.123843/
Everything went smoothly, but when I try and compile my app I get this error:
Error:
Linking resources Error
AndroidManifest.xml:18: error: resource mipmap/ic_launcher_round (aka b4a.myapp:mipmap/ic_launcher_round) not found.
error: failed processing manifest.
These are the directories the app generates:
I checked through the directories and all of them except mipmap-ldpi have an ic_launcher_round.png file. The mipmap-ldpi directory only has an ic_launcher.png file.
Here is my manifest icon reference:
Manifest:
'Icon
SetApplicationAttribute(android:icon, "@mipmap/ic_launcher")
SetApplicationAttribute(android:roundIcon, "@mipmap/ic_launcher_round")
CreateResource(mipmap-anydpi-v26, ic_launcher.xml,
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background" />
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
</adaptive-icon>
)
I presume the issue is that the manifest is looking for the ic_launcher_round file in the mipmap-ldpi directory and not finding it. But the icon generator tool does not generate that file.
Any suggestions?