Android Packaging Error

[link text][1]I am getting this weird error while packaging for android in UE4.19 for like a week or so.Any help is appreciated.The logs of error is attached below.

I solved the issue by reinstalling Android works in C drive and it worked perfectly but it messed up my android studio environment variables and my android studio stopped working.

Please help