pablojimenezmateo / GodotAndroidBluetoothDemo

Godot 3.4.4 demo on how to use Bluetooth communications
9 stars 2 forks source link

minSdkVersion 21 #1

Closed eried closed 1 year ago

eried commented 1 year ago
\GodotAndroidBluetoothDemo-master\android\build\src\debug\AndroidManifest.xml Error:
    uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library [GodotBluetooth344-debug.aar] 

Hi! I am very beginner in all this godot and android, I am trying to get this example running but I get that error. I am doing something wrong? could you update this to at least version 21?

PS: Ultimately I want to run a game in a Meta Quest 2 with BLE capabilities

Thanks!

pablojimenezmateo commented 1 year ago

Hi eried,

this happens because you are targeting an old Android SDK (version 19) and my plugin needs at least 21.

On the export options for Android make sure you select Min sdk 21 (or greater):

image

Let me know if that fixes your issue :)

eried commented 1 year ago

ohh! sorry! so stupid! now it compiles :) scans but does not connect (says [DEBUG] 62), but I guess that is another matter I need to do more testing