-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
authenticator.xml resource mipmap/icon not found #678
Comments
Please don't delete the issue template, but fill it with all information required to understand your problem: https://github.com/apache/cordova-android/issues/new?template=BUG_REPORT.md |
Found this in a google search, just wanted to mention I got the exact same problem after an upgrade from 7.1.4 to 8.0.0 in my cordova project.
Unsure if it's a bug or what, will investigate.. |
@shomid I think this is not a problem with cordova itself, but rather the background-geolocation plugin:
mauron85/cordova-plugin-background-geolocation#553 So, I think you should close this issue and discuss in this one instead ^ |
It's ridiculous just create under platforms\android\app\src\main\res a file with mipmap as a name and put inside it your icon as icon.png run it and enjoy your day! |
Thank you so much - I found your solution after hours and hours of struggling. Just as correction> Thanks again !!! |
Is not a good practice to touch the files inside platforms> (edit or create stuff there), so I recommend to change the ICON variable and keep it like This route "mipmap/ic_launcher" will work. BTW now package is @mauron85/cordova-plugin-background-geolocation, the other one is deprecated |
Thanks, save my day!! |
Thank you!! |
Thank you very much ! |
Closing as the issue doesn't appear to be actually related to Solutions are posted above. |
I changed the name to ic_launcher and it worked.
|
Add this to config.xml |
yes, it works |
I updated cordova-android of 7.1.4 to 8.0.0 in ionic project.
in browser work correctly with
ionic serve
but when build with
ionic cordova android build
throws the following error.how to fix this problem ?
The text was updated successfully, but these errors were encountered: