getBluetoothService() called with no BluetoothManagerCallback
I am new to android development. I am writing an app which receives string from the bluetooth terminal of laptop. while opening a connection i am getting an error Connection Refused when the below line gets executed. socket.connect(); I tried to check what happens in connect method. Here I found Android Studio giving me issues like. Cannot access android.bluetooth.BluetoothSocket.SocketState. Cannot resolve method createSocketChannel. Cannot resolve Symbol IBluetooth. Does my development environment have a problem? below is the exception. 02-15 23:19:54.112 18794-18794/poc.tusharimaging.com