Ionic Build --release w/ Crosswalk lint errors

Hey gang,

Trying to ionic build --release android after installing Crosswalk and I’m encountering some lint errors that I’m not quite sure how to fix:

Not quite sure how to get these to go away. Seems like you can disable lintErrors in the gradle build file, but I’m not quite sure where to find that.

Thanks for your help,

I’m having the exact same issue. This blog post is really helpful, but like you, I can’t find the actual build.gradle file, so I’m rather stuck. It appears that this file gets generated as part of the ionic build step, but I can’t find anywhere where I could set the lintOptions property and have it be consumed by the build.

Anyone have any thoughts on this?


Hey, I actually wound up finding a solution! In your /platforms/android/ folder create a file called lint.xml with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
        severity="ignore" />
        severity="ignore" />

great solution!!! ^

Excellent solution! Saved me so much time.

Not a great solution, the platforms folders are generated and therefore shouldn’t be touched. Please make this a config.xml option.

Does this option make it into Ionic Config.xml yet or I have to do the hack mentioned above?