Cordova Slack Digest

Fri, 01 Apr 2022 08:26:43 GMT

User count: 4688

Join the conversation at slack.cordova.io

Channel #cordova-android (2 messages)


Thu, 31 Mar 2022 16:05:37 GMT

@jacobsgur says

My cordova android app was building and running fine this morning. Then all of a sudden, I started getting this error: AndroidManifest.xml:81: AAPT: error: resource mipmap/ic_launcher (aka <http://com.f.tc:mipmap/ic_launcher|com.f.tc:mipmap/ic_launcher>) not found. I don’t know what changed. Any ideas?

Thu, 31 Mar 2022 16:13:43 GMT

@jacobsgur says

It seems the icons specified in config.xml are gone from the android studio project:

        &lt;icon density="mdpi" src="res/icon/android/mdpi.png" /&gt;
        &lt;icon density="hdpi" src="res/icon/android/hdpi.png" /&gt;
        &lt;icon density="xhdpi" src="res/icon/android/xhdpi.png" /&gt;
        &lt;icon density="xxhdpi" src="res/icon/android/xxhdpi.png" /&gt;
        &lt;icon density="xxxhdpi" src="res/icon/android/xxxhdpi.png" /&gt;```
I don’t know why they’re not getting copied anymore.