ESP 32 error compiling board

I am having trouble getting the ESP 32 Dev board to compile and load for my project. I am trying to open a Bluetooth scanner to get the UUID of my device, but I cant even get the board to connect. Heres the error message:

/Users/megan/Documents/Arduino/libraries/ESP32_BLE_Arduino
exit status 1
Error compiling for board ESP32 Dev Module.

Please post your sketch and full error message using code tags for both

for using board ESP 32 Dev Module

sketch:

#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEScan.h>
#include <BLEAdvertisedDevice.h>

int scanTime = 10; //In seconds
int minimumDeviceThreshold = -60;
BLEScan* pBLEScan;

class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks {
void onResult(BLEAdvertisedDevice advertisedDevice) {
int rssi = advertisedDevice.getRSSI();
if(rssi > minimumDeviceThreshold){
Serial.printf("Advertised Device: %s \n", advertisedDevice.getServiceUUID().toString().c_str());
//Signal strength
Serial.print(" RSSI: ");
Serial.println(advertisedDevice.getRSSI());
}
}
};

void setup() {
Serial.begin(115200);
Serial.println("Scanning...");

BLEDevice::init("");
pBLEScan = BLEDevice::getScan(); //create new scan
pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());
pBLEScan->setActiveScan(true); //active scan uses more power, but get foundDevices faster
pBLEScan->setInterval(100);
pBLEScan->setWindow(99); // less or equal setInterval value
}

void loop() {
// put your main code here, to run repeatedly:
BLEScanResults foundDevices = pBLEScan->start(scanTime, false);
Serial.print("Devices found: ");
Serial.println(foundDevices.getCount());
Serial.println("Scan done!");
pBLEScan->clearResults(); // delete results fromBLEScan buffer to release memory
delay(2000);
}

error:

Multiple libraries were found for "BLEDevice.h"
Used: /Users/meganiversen/Documents/Arduino/libraries/ESP32_BLE_Arduino
Not used: /Users/meganiversen/Library/Arduino15/packages/esp32/hardware/esp32/2.0.5/libraries/BLE
Not used: /Users/meganiversen/Documents/Arduino/libraries/ESP32_BLE_Arduino-master
Using library ESP32_BLE_Arduino at version 1.0.1 in folder: /Users/meganiversen/Documents/Arduino/libraries/ESP32_BLE_Arduino
exit status 1
Error compiling for board ESP32 Dev Module.

Sorry, I dont know what code tags are

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use [color = red]code tags[/color] (the </> icon above the compose window) to make it easier to read and copy for examination

See BLE_scan issue 'BLEScan' does not name a type