-
Notifications
You must be signed in to change notification settings - Fork 67
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
[Android] Fresh install fails on resources (icon) not found #23
Comments
I think this issue is the same as: |
I'm going to be working on another Android issue today, so I'll check this out too. |
Go ahead. I think the only change that is needed is changing the default value of the parameter, the rest of the issues I saw in the build are not related to this plugin, I think... |
Right, yep - lets make sure that we're targeting only Cordova Android >= 8.0 and API >= 26. I'll add these checks to the plugin, and modify the docs to match. |
Go ahead. The docs still has an example of old config style which is inside config.xml, this is no longer relevant as it moved to package.json. Worth fixing this too I believe... |
Ah right - this section?
|
Yup. :-) |
Describe the bug
When adding the plugin to a cordova project the android build fails due to missing icon
To Reproduce
Steps to reproduce the behavior:
cordova plugin add <this plugin>
cordova build android
Expected behavior
Should work
Desktop (please complete the following information):
Additional context
changing the
@mipmap/icon
to@mipmap/ic_launcher
solves this issue.Might be only my environment though, not sure, but it's not a great developer experience.
Also the icon that exists is a default one and not the app icon.
The build has warnings.
I would like to address all these issues related to icon definition in this issue, either by documentation or by proper cordova intallation/build code.
The text was updated successfully, but these errors were encountered: