Android Studio 2.3 will be set to my 4.4 version of the phone Android:
File→Project Structure:Compile Sdk Version:API 19: Android 4.4 (KitKat) (Build Tools Version:25.0.0)
Build CC2650STK SensorTag-20-Android\SensorTag20 sample program t
Build→Build APK
The following error occurred:
Gradle tasks [:BleSensorTag:assembleDebug]
【WorkDir】\sensortag20\BleSensorTag\src\main\java\com\example\ti\ble\common\BluetoothLeService.java
!Error:(736, 35) Error: cannot find symbol
Symbol: method requestConnectionPriority(int)
Location: type BluetoothGatt Variable mBluetoothGatt
【WorkDir】\sensortag20\BleSensorTag\src\main\java\com\example\ti\ble\sensortag\FwUpdateActivity_CC26xx.java
!Error:(469, 180) Error: cannot find symbol
Symbol: variableCONNECTION_PRIORITY_HIGH
Location: Class BluetoothGatt
!Error:(623, 188) Error: cannot find symbol
Symbol: variable CONNECTION_PRIORITY_HIGH
Location: Class BluetoothGatt
!Execution failed for task ':BleSensorTag:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.