There's a difference between learning to code, and learning to code well enough to make something worth selling. If it were that easy, everyone in his situation would have done it already - but it's not.
I'm an amateur web dev and experimental iOS dev, but in the time it would take me to get good enough to build my ideas from scratch, I could've payed someone to build 5 of them.