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

前端 未结 9 660
太阳男子
太阳男子 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 04:02

    I have solved this problem in the following way.

    1. Download Eclipse from official site ( current version 4.4.0 Luna).
    2. Install it.
    3. Run Eclipse Help->Install new software
    4. Enter in empty top field `https://dl-ssl.google.com/android/eclipse/ click add and name it as you want , for instance AndroidPlugin
    5. Install all software( Developes tools)
    6. Restart Eclipse
    7. Eclipse should show error message that your sdk is not found
    8. Specify your SDK in Use existing sdk .
    9. Restart Eclipse.

提交回复
热议问题