The Android io card could not trigger autofocus

I am using card.io-Android -SDk in my application when i run the app i am not able to focus camera

Error: could not trigger auto focus: java.lang.RuntimeException: autoFocus failed.

app passed NULL surface any help?


write this code in your manifest file...

  <uses-feature
            android:name="android.hardware.camera.autofocus"
            android:required="false" />