The second (and cheaper) path assumes that you have the design and dev chops yourself to build your dream software. Naturally, it’ll take more time to get your product off the ground, but being able to bootstrap the development of your software lets you retain more ownership in your business and be more in control of your path, making this a lower-cost, but higher time investment to make money selling apps.
The problem with affiliate marketing, like many other home business options, are the so-called gurus and get-rich-quick programs that suggest affiliate marketing can be done fast and with little effort. Odds are you've read claims of affiliate marketing programs that say you can make hundreds of thousands of dollars a month doing almost nothing ("Three clicks to rich!"). Or, they suggest you can set up your affiliate site, and then forget it, except to check your bank deposits.