博通BLE SDK博通、BLE、SDK

2023-09-07 10:55:30 作者:一腔孤勇

我试图运行博通BLE SDK 提供样品。我创建AVD通过安装此SDK,但应用程序没有得到在模拟器上进行安装。它给出的错误,说:

I am trying to run samples provided in BroadCom BLE SDK. i have created AVD by installing this SDK but the application is not getting installed on the emulator. It gives as error which says

安装错误:INSTALL_FAILED_MISSING_SHARED_LIBRARY  [2012-04-18 14点17分59秒 - BleFindMeServer]请检查logcat的输出获取更多信息。  [2012-04-18 14点17分59秒 - BleFindMeServer]!启动取消

Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2012-04-18 14:17:59 - BleFindMeServer] Please check logcat output for more details. [2012-04-18 14:17:59 - BleFindMeServer] Launch canceled!

任何指针解决这个?我们是否有实际的设备上运行这个样本?

Any pointers to a solution to this? Do we have to run this sample on the actual device?

推荐答案

引用此线程。

http://community.developer.motorola.com/t5/Android-App-Development-for/Bluetooth-Low-Energy-on-XT910/td-p/24412

您正在构建上可能不包含共享库,在这种情况下,博通BLE SDK中的Andr​​oid设备。所以,当你的应用程序可以建立,该设备将无法识别共享库,因为它不支持它。

The android device you are building on may not contain the shared library, in this case the broadcom ble sdk. So while your application may build, the device won't recognize the shared library as it does not support it.

如果你想测试和设备上使用BLE,你必须确保设备支持BLE。目前,我认为这些都只是摩托罗拉的设备,你必须包括对特定设备的摩托罗拉指定BLE SDK。

If you want to test and use BLE on a device, you will have to make sure that device supports BLE. Currently, I think these are only Motorola devices, and you will have to include the Motorola designated BLE SDK for the particular device.

您可以在这里找到更多的信息。 http://developer.motorola.com/docs/bluetooth-低能关贸总协定框架的API /

You can find more information here. http://developer.motorola.com/docs/bluetooth-low-energy-gatt-framework-api/

在另一方面,据我所知,Android模拟器不支持蓝牙。经典或BLE。

On another note, As far as i know, the android emulator does not support bluetooth. Classic or BLE.

希望这有助于