Don’t worry my friend. If she is not giving importance to you then it is OK. She is just a girl not GOD. Why you are too much worried? Please give focus to your studies and try to be self dependent.
Have you taken birth to marry her? Do you have responsibility for your parents or not? Do you have self respect and your own identity or not? She told you to keep distance with your friend you did that. In future she will say to make distance with your parents then will you do that?
You have already told sorry to her, if she still not ready to forgive your words and behavior then what you will do?
Stop crying like a kid. Be a man and forget that girl and start building your stable future. She does not deserve your love. I am sure that in future you will definitely get a good girl.