android studio new project missing folders

前端 未结 9 1355
有刺的猬
有刺的猬 2020-12-05 07:04

I have created a new project using the latest version of Android Studio (0.2.2), this is a fresh install of studio. When I am in the project explorer view, it fails to show

相关标签:
9条回答
  • 2020-12-05 07:12
    1. File -> Project Structure -> Modules
    2. Add Button (Green plus button) click -> New Module Select
    3. New Module window -> "Content root" change path button click to select "Project root file path"
    4. Apply to change save and "OK" button exit.

    enter image description here

    0 讨论(0)
  • 2020-12-05 07:13

    The problem here is that I assumed android studio would create a module for the application. I assumed this because it asked me at the beginning for app name, module name, package, sdk info etc.

    This assumption turned out to be false. You must create your first module manually through File > Project Structure. After that is done, the project explorer shows the files.

    0 讨论(0)
  • 2020-12-05 07:13

    (Noted for posterity) I had a similar issue come up recently, when importing an Eclipse android project. The issue was that the source folder wasn't added as such. I had to manually go into Project Structure -> Modules -> Sources and make sure that the "src" folder wasn't excluded and was marked a source folder.

    0 讨论(0)
  • 2020-12-05 07:14

    Change the SDK to a level that you have installed in the SDK manager. The SDK manager can be accessed from Tools -> Android -> SDK Manager. For me, Android Studio was packaged with API Level 17 but the new project wizard tried to target API Level 18.

    0 讨论(0)
  • 2020-12-05 07:16

    In the project Explorer there is a drop down menu where you have selected project, now change it to project files.

    I hope this will solve your problem. reply if it didn't.

    0 讨论(0)
  • 2020-12-05 07:26

    I had this exact same issue, there are some problem if you upgrade from 0.1.9 version to 0.2.0 in Windows.

    Android Studio 0.2.0 Release

    The solution (which worked for me) was to completely uninstall Android Studio and reinstall the 0.2.0 version.

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