The version of SDL2 is hard coded here:
Looking at the history shows a bump up exposed an issue:
You could I suppose create a local copy and try it, but I suggest that "hope" would not be a good basis for this non-trivial work.
Try "reason" ;)
Unless you know of some particular sdl2 release note that describes the issue, I'd suggest debugging by starting simple.
Create a one page example to clearly demonstrate whatever the back button issue is.
You could for example modify Hello World and use the back button to toggle between two label texts.
Debug on the desktop, and add the Android key code before building.
If you share that maybe somebody will offer some clarity.