SRC folder in Eclipse is empty (MainActivity class not created) after creating a new android project using Eclipse

后端 未结 4 729
我在风中等你
我在风中等你 2020-11-27 21:50

SRC folder in Eclipse is empty (MainActivity class not created) after creating a new android project using Eclipse-

I created a new android project using Eclipse. Bu

相关标签:
4条回答
  • 2020-11-27 22:00

    Go to following:
    'Help'->'Install New Software' and type https://dl-ssl.google.com/android/eclipse/

    Select ADT option and install it. It will update the ADT.

    Even I had the same problem and my issue got resolved with it!!

    0 讨论(0)
  • 2020-11-27 22:04

    I had this problem for the longest time. When creating the android application, use "empty activity" instead of "blank" activity. Fixed the problem for me immediately.

    Hope this helps :)

    0 讨论(0)
  • 2020-11-27 22:07

    I hope this helps someone :)

    I had the same 'error' and it appears to me if when creating the app I use in the 'application name' non ASCII characters !

    Example: čžšćđ...

    So do NOT USE čžšćđ in Application Name !!!

    and yes I know it's not good practice to use them in programing :D

    0 讨论(0)
  • 2020-11-27 22:11

    After entering the Application Name, Project name, etc in the New Android Application window, the next window shown is this :enter image description here

    Make sure you check the Create Activity checkbox, otherwise the activity will not be created by default.

    You still can create an activity by right-clicking on the project and New > Other > Android > Android Activity. But you have to make sure you check the Launcher Activity checkbox in case it is the first activity of your application

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