Hello everyone !
how to deal with this two things ?
I unistalled the android studio before (completely) and then installed it again, the first error I don't know it literally , but the second already happened to me before and I fixed it with invalidate caches and restart , but right know this doesn't work for me , and I didn't find anyone who had this problem before.