fixed the exceptions

And learnt device debugging. updated version to 1.1 and support from
sdkversion 8.