battery light comes on on 2002 Chevrolet Cavalier

replaced the starter the battery and the alternator.start the car it will runs for a few minutes then the battery light comes on and stays on ?

Asked by for the 2002 Chevrolet Cavalier
Make sure the battery cables are clean and tight as this can happen when the connection is bad