[Background Location Plugin] Error when generate apk

Forge Component
(4)
Published on 2017-11-27 by Alexandre Costa
4 votes
Published on 2017-11-27 by Alexandre Costa

Hi,

I tryed to use this plugin with the demo, but when i try to make the apk give me an error:
Build failed with the following error: Error compiling Cordova plugin: xml/authenticator.xml:2: AAPT: error: resource mipmap/icon

Can you provide some help?

Thank you

Hi,

In this article says that this error happens because on latest cordova versions the icon isn't compiled anymore for mipmap/icon.png but for mipmap/ic_launcher.png.

Hope it helps :)