Build failure for ionic app


Hi i am trying to build apk using below command.

ionic cordova run android

Whenever i try to do this i am getting the below error.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processDebugResources’.

Android resource linking failed
F:…platforms\android\app\src\main\res\xml\authenticator.xml:2: AAPT: error: resource mipmap/icon (aka io.skanray.icrm:mipmap/icon) not found

No where i found the proper solution. Can anyone please help me solving this.
Thanks in advance.

Solution :- Go in platforms\android\app\src\main\res\ and create image with ic_launcher.png and icon.png both in all the folders starting mipmap-hdpi issue will be solved

Reference :-


Please enter your comment!
Please enter your name here