Problem integrating crosswalk


Hi, I tried to integrate crosswalk and when I do Ionic build android, I get the following errors.

Element uses-permission#android.permission.WRITE_EXTERNAL_STORAGE at AndroidManifest.xml:70:5 duplicated with element declared at AndroidManifest.xml:65:5

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':processDebugManifest'.
Manifest merger failed with multiple errors, see logs


There is a big converstation on the topic of Crosswalk on the IonicForum. Some of the questions include the same bug You are encountering. I don’t know if you’ve seen it yet? Crosswalk integration on IonicForums, I hope You find an answer to Your problem!


You could also check which plugins in your project use WRITE_EXTERNAL_STORAGE and how it is written in plugin.xml -files.

I’ve noticed that if multiple plugins use same features/permissions and some have specified android:required and others have not then manifest gets merged with duplicates. It seems that uses-feature/users-permission tags among plugins needs to be written in a same way.