We are sorry to hear you are having trouble importing gradients into XD file. Would you mind sharing the screenshot of your about XD info page and the OS you are using? Is it happening with only this file or with all the files? Please share the version of Illustrator as well.