Changing bluetooth audio codec

My earbuds dont support LDAC, but aptX and aptX HD don’t seem to work for me either. AAC seems to work fine though, there is an option “HD Audio: AAC” in the settings for the bluetooth device which can be enabled and stays active even after reconnection.

Extract from an ‘adb logcat’:

 E a2dp_vendor_aptx_encoder: A2DP_VendorLoadEncoderAptx: 
    cannot open aptX encoder library libaptX_encoder.so: 
    dlopen failed: library "libaptX_encoder.so" not found
E a2dp_vendor_aptx: init: cannot load the encoder
E a2dp_vendor_aptx_hd_encoder: A2DP_VendorLoadEncoderAptxHd: 
    cannot open aptX-HD encoder library libaptXHD_encoder.so: 
    dlopen failed: library "libaptXHD_encoder.so" not found
E a2dp_vendor_aptx_hd: init: cannot load the encoder

It seems that the aptx libraries are not included for some reason. (Please note that I dont have any updates installed so far)

PS: No there is no pulseaudio on Android.