Hi Joan
There are 4 baptism records of Andrew Riley 1803 + - 2 years on www.rootsireland.ie/
3 are Reilly and 1 is Oreily; 2 are from Westmeath, 1 Dublin and 1 Longford
http://ifhf.rootsireland.ie/quis.php?page=1&confirmPageView=Y
The only marriage of an Andrew Riley to a Catherine is 1814 in Westmeath which is of course too early.
The Powell tree on ancestry has his birth as 1802 & died Rome Jefferson Illinois 1885; is this your Andrew?
They have his parents as Charles & Mary Ann BUT they have Charles's birth year as 1847!
http://trees.ancestry.com.au/tree/6817306/person/6720365406?ssrc=
It also has Andrew's wife as Mary & her birth 1822; there is a marriage record of Andrew Reliy to a Mary in 1824 in Cork on rootsireland but it could only be the right one if Mary was born 1802.
I searched rootsireland for the births of children with parents Andrew Riley and Catherine 1831 + - 20 years and got 13 matches but no matches of the names and years you have I'm afraid:
http://ifhf.rootsireland.ie/quis.php?page=1&confirmPageView=Y
Col