Can I move Xcode and Android Studio to SD card I'm planning to buy a 64GB SD card to supplement the storage on my MacBook Air 128GB (early 2015)

I wanted to know if I can move my Xcode and android studio to it as both have them take a significant part of the memory.

If this can happen, I wanted to know how can I move these two to the SD card. I'm fairly new to macOS and have no idea how to do this.
Can you? Yes.

Is it wise? Perhaps not.

Flash storage is notoriously frail. Once it fails, that's, it, it's gone, usually taking everything on there with it.

The adage "Any data not stored in at least three distinct locations ought to be considered temporary" is not one to take lightly.

Other than that - it will run like molasses from an SD card.

Flash on USB sticks/SD cards is not the same as on an SSD drive - this has a better explanation than I could possibly compete with -
SuperUser - What's the technical difference between a flash drive and an SSD?

In the end, it’s your choice what you store externally, so if other things are more vital than code, keep them on the internal storage. If code is the priority, move photos or music or video files to SD storage.