Android Question Error: failed linking file resources.

John Hallett

New Member
Licensed User
I've looked all over the place for a solution to this but I'm no expert and could really do with some help. This is an old project which one of my customers still uses and I need to do some debugging. I think I've set B4A up correctly, but whenever I try to compile I get this message:

Error
res\mipmap-anydpi-v26\ic_launcher.xml:3: error: resource mipmap/background (aka b4a.example:mipmap/background) not found.
res\mipmap-anydpi-v26\ic_launcher.xml:4: error: resource mipmap/foreground (aka b4a.example:mipmap/foreground) not found.
error: failed linking file resources.

I really have no idea what to do. Can anyone please help? At least give me a clue on where to start? Thanks in advance.
 

drgottjr

Expert
Licensed User
Longtime User
the (customer's) system seems to be looking for the app's adaptive icons. you don't say why you need to do debugging or if it's the customer who sees these messages, but my guess is the files have been misplaced (perhaps in a move...). look in Objects\res\mipmap-anydpi-v26. what's there? if mipma-anydpid-v26 is even there, you've left a folder and its files somewhere.
 
Upvote 0
Top