Reputation: 21
I'm working on an ionic app on my Linux box and when I run $ ionic run android
it gets to :processDebugResources
on the build process before it errors out with the message
App/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:43:23-37 : AAPT: No resource found that matches the given name (at 'icon' with value '@drawable/icon')
Execution failed for task ':processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Android/Sdk/build-tools/23.0.2/aapt'' finished with non-zero exit value 1
I am able to test most functionality via a web browser, but I've gotten to the point in the project where I need to test functionality on an actual device.
Upvotes: 1
Views: 1822
Reputation: 316
Got the same problem with custom plugin that was using some resources. In my case problem was fixed by adding resource files directly to platform (on Android it was content from plugin /res
directory, copied to platforms/android/res
).
Upvotes: 0
Reputation: 41
You need to run ionic resources
and it will create the resources directory and add the icons.
Upvotes: 2