Both are important and we ca not think of any economic growth without developing agriculture or industry. But, in the short run as a matter of priority, in view of the limited available resources, we may give some preferential treatment to one sector over the other in the short run. Eventually, our destiny should be towards industrialization for the reasons (the advantage of industrial products over agricultural products) that are mentioned in the most economics text books.
With limited resources, investment in agriculture is a higher priority. Whatever happens, people heed healthy and quality food much more than any industrial product. Moreover, some excessive agricultural products can be exported for currencies. Investing in the industries holds much higher level of risk, if something is going wrong.
obviously agriculture, the industry needs raw materials that agriculture can provide in addition to feeding the workforce that the industry needs, once agriculture is strengthened, industry is invested