Android device launch failed with unknown error

sorry
I have no clue what a descriptor is.

I can’t tell why its not building
hope someone else can help

it is telling you to reinstall the sdk because its hooped
it also is saying you are using sdk 31
I suggest 29 or 30
you need to have command tools-latest and cmd tools for the particular sdk you have installed.

your sdk is definately set wrong.