简体   繁体   中英

Android Studio doesn't open project correctly (Android project view)

my Problem is that whenever I open a project in Android Studio which I have not created myself, it doesn't load the project in the way I can simply run it.

在此处输入图片说明

In the above screenshot the Android projet view doesn't show anything as it usually should be... When I load a project a created myself, there is no problem. Can anyone help? I'm a total Android beginner and want to be able to look into other projects AND run them.

Dan

That screenshot looks like there is no project open at all; once a project is open, at least in Android Studio 2.2, there should at least be two items in the Project pane: 'app' and 'Gradle Scripts'.

在此处输入图片说明

From there, the MainActivity.java that you're used to initially seeing can be accessed via app/java/com.xxx/MainActivity and layout.xml files can be accessed via app/res/layout/activity_main.xml etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM