如何升级旧工程?
我原来有个老的工程软件,现在要加入蓝牙4.0,当我将蓝牙4.0的代码放在一起编译时,会爆出一些错误,比如:
Context.BLUETOOTH_SERVICE
BluetoothManager
Multiple markers at this line
- BluetoothManager cannot be resolved to a type
- BLUETOOTH_SERVICE cannot be resolved or is not a field
原来的工程是:4.2.2,要升级到:4.4.2
怎样将老工程升级呢?