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

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

    0 讨论(0)
  • 2020-12-03 04:09

    I was having the same problem. I tried creating the project with a different Target SDK. I used API 16 Android 4.1 and that worked.

    0 讨论(0)
  • 2020-12-03 04:10

    I was also facing the same problem, had the adt and sdk tool updated to v23 which was released on 6/24. Created a project with Target SDK - AP1 16 and compile with API 19 and activity was created.

    0 讨论(0)
提交回复
热议问题