Adam and Eve were created after the animals. Genesis 2:19 is simply restating that God had created the animals out of the ground.