Update to work with new Android Studio

And print error if Ion fails