title: Android Bluetooth l2cap connectNative java.io.IOException: Invalid argument
body: <p>I am writing a Bluetooth app for Android.I use android l2cap api by reflection.
  But I received error report on some devices(it works properly on some other devices).</p>
  
  <pre><code>java.io.IOException: Invalid argument
  at android.bluetooth.BluetoothSocket.connectNative(Native Method)
  at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:220)
  </code></pre>
  
  <p>So what's problems?</p>