It is not only a good idea, IT IS A MUST.
If you don't have required competence(s) - and here it is a case - you have two options: you learn it or you find someone who can do it (or externally or you hire someone as employee or you find a partner).
And I must say that often, for a tech person start learning the "business part" of the activity can be hard. It takes time and you have to have some affinity with it (not every business person can become good programmer neither).
So the solution is, the most often, a synergy between one or more tech persons and one or more business persons.
Concentrate on what you can do the best and find someone who can do the best for the business part. I assume you preffer spending time on programming your app instead of on making researches about the documents you need for a setup of a company and/or accounting obligations...
There are lot of forums on the web to interconnect business and tech people. Just google it out...
Only if you plan to make a business of whatever technical product(s) you are creating. That is to say, to try to generate revenue from it. If you don't want to put it in the market place with the idea of making a profit, consider your activity a hobby.
But, assuming you do want to start a company. The first step is to have a reasonable idea of if there is any money to be made. If the answer to that is "yes", the basic legalities and accounting matters aren't all that difficult. And it doesn't have to start out complicated - just correct. If the answer is no, then there is nothing to worry about, anyway.