title: error: diamond operator is not supported in -source1.5
body: <p>I am creating an app which uses cordova ionic and angular and for barcode scanning i am using native and able to integrate with the javascript code.If I run the project using eclipse IDE its working fine but if I do ionic run android - getting the above error - diamond operator is not supported in - source 1.5</p>
  
  <p>For native i used this link <a href="https://damianflannery.wordpress.com/2011/06/13/integrate-zxing-barcode-scanner-into-your-android-app-natively-using-eclipse/" rel="noreferrer">https://damianflannery.wordpress.com/2011/06/13/integrate-zxing-barcode-scanner-into-your-android-app-natively-using-eclipse/</a> and its working fine.</p>
  
  <p>Can anyone help on this issue?</p>