Android Studio doesn't see some .java files that are present in the SDK directory
<p>I built a custom <code>Android ROM</code> that supports <code>A2DP Sink</code> and <code>AVRCP</code> bluetooth profiles which are disabled by default.
Now i want to build an app that exploits these profiles, i found that the required files (<code>BluetoothA2DPSink.java</code> and <code>BluetoothAVRCPCpntroller.java</code>) are already present in android <code>SDK</code> folder ( from 21 and up).
The problem is "<code>import android.bluetooth.BluetoothA2dpSink;</code>" doesn't work, <code>Android studio</code> is unable to see these files.
I guess as these <code>Bluetooth</code> profiles aren't enabled in standard <code>Android</code> builds the files are there but arent included.
What do I do to include them in the <code>SDK</code> ? </p>