# How do I force Cloud Editor to use the correct (built-in) ESP32 BLE library

**URL:** <https://forum.arduino.cc/t/how-do-i-force-cloud-editor-to-use-the-correct-built-in-esp32-ble-library/1409577>\
**Category:** Cloud Editor\
**Created:** [October 15, 2025, 2:09pm UTC](https://forum.arduino.cc/t/how-do-i-force-cloud-editor-to-use-the-correct-built-in-esp32-ble-library/1409577 "2025-10-15T14:09:20Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![kevlinsley](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kevlinsley/32/1127458_2.png) [@kevlinsley](https://forum.arduino.cc/u/kevlinsley)\
**Post date:** [October 17, 2025, 11:10am UTC](https://forum.arduino.cc/t/how-do-i-force-cloud-editor-to-use-the-correct-built-in-esp32-ble-library/1409577/12 "2025-10-17T11:10:07Z")

</div>

Here are a few examples of reports of the compiler in IDE 2.x doing the same thing - I.e.choosing the wrong BLE library.

Ptillisch has responded to some of these with 2 solutions.

Solution 1, deleting the library you don’t want, isn’t possible in Cloud Editor.

Solution 2, adding an extra #include, doesn’t work in the Cloud Editor (I believe it’s because of the old core & boards version it’s using).

[Ble will not compile](https://forum.arduino.cc/t/ble-will-not-compile/1405030) Post 6.

['startAdvertising' is not a member of 'BLEDevice - #5 by ptillisch](https://forum.arduino.cc/t/startadvertising-is-not-a-member-of-bledevice/1086837/5) Post 5.

[BLE\_server example compiler error - #3 by cloudDev](https://forum.arduino.cc/t/ble-server-example-compiler-error/1110557/3) Post 4.

> <https://github.com/nkolban/esp32-snippets/issues/1100>
>
> \`\`\`
> Arduino\\libraries\\ESP32\_BLE\_Arduino\\src/FreeRTOS.h:61:28: error: 'ringbuf\_t…ype\_t' has not been declared
> Ringbuffer(size\_t length, ringbuf\_type\_t type = RINGBUF\_TYPE\_NOSPLIT);
> ^ ~~~~~~~~~~~~~
> Multiple libraries were found for "BLEDevice.h"
> \`\`\`

---

_[View the full topic](https://forum.arduino.cc/t/how-do-i-force-cloud-editor-to-use-the-correct-built-in-esp32-ble-library/1409577)._
