Eclipse doesn't generate MainActivity.java & activity_main.xml

前端 未结 9 653
太阳男子
太阳男子 2020-12-03 03:45

On creating a new Android Application Project, MainActivity.java under its package name should be generated automatically in src folder &

9条回答
  •  鱼传尺愫
    2020-12-03 03:49

    There is an option to select whether to generate MainActivity and activity_main.xml. Are you sure that you have selected those ? Make sure to select that.

    enter image description here

    Without that, my project looks the same as yours:

    enter image description here

提交回复
热议问题