Upgraded to newest android gradle plugin

 This requires Gradle 1.9 to run
Fixed lint error

 Build passes successfully now
Fixed Gradle resource processing issue - Error: No resource found that matches the given name: attr 'switchStyle'

Fix was found on SO (http://stackoverflow.com/questions/19625529/gradle-error-when-theme-declare-styleable-in-two-libraries)
Try changing this

<declare-styleable name="Theme">
        <attr name="switchStyle" format="reference" />
        <attr name="switchPreferenceStyle" format="reference" />
</declare-styleable>

to this:

<declare-styleable name="AppTheme">
        <attr name="switchStyle" format="reference" />
        <attr name="switchPreferenceStyle" format="reference" />
</declare-styleable>