Both are very popular institutions in India. NIT Andhra Pradesh carries a brand tag, which might prove to be beneficial further in your career. It will obviously be a better highlight in your resume than only Andhra University.
It is suggested that you opt for either NIT AP or Andhra University, whichever suits your requirements. Here’s mentioning some points that might help you select:
Ultimately it won't matter if you join NIT AP or Andhra University. The only thing that will matter is your dedication to your studies and how you enhance your skills to get success in your career.