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

前端 未结 9 658
太阳男子
太阳男子 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:08

    As one guy said

    I had the same problem even though I downloaded the Android SDK and did a clean install, but I just resolved it. I tried to click "Help" -> "Check for updates", and then I got a pop-up message saying everything was up to date, but after further research it appeared to me it wasn't up to date. What you need to do is click "Help" -> "Install new software" and install (this will update it) from this url: https://dl-ssl.google.com/android/eclipse/

    See here thread https://code.google.com/p/android/issues/detail?id=66647

提交回复
热议问题