原地址:http://blog.csdn.net/armoonwei/article/details/7032537 Unity as a Library Once you have eclipse installed and up to date you have to follow a few steps to get your unity project set up as a library in eclipse. 创建一个空的unity3d工程,然后使用android平台进行编译.
1.新建一个Unity5.6.2f1工程,导入正版Bluetooth LE for iOS tvOS and Android.unitypackage2.用JD-GUI反编译工具查看unityandroidbluetoothlelib.jar3.将反编译的代码拷贝出来,建立对应的文件目录,4.在Eclipse中建立空工程,将代码文件放进去.5.修改AndroidManifest.xml,添加蓝牙权限 <uses-permission android:name="android.permis