简体   繁体   中英

Android Studio doesn't create new project

I'm using the newest version of Android Studio on Windows 7. I'm trying to create new project with blank activity. It creates project folder with some system-required files but there's no manifest, activity or layout file (remember, I asked it to create blank activity), even no src directory. What's the solution of this problem? It seems that I'm not the only person who faced it. 在此输入图像描述

Ok, accidentally I found the solution: I used some non-latin symbols in my workspace-path. When I changed it to only-latin - the project creates correctly.

When you are creating a new project, you have to select "Android Application Project" (File --> New--> Android Application Project) instead of directly creating Android Activity . Once you have created a new "Android Application Project", you will find all the required files & then you can go on creating "Blank Activities" (File --> New --> Others--> Android --> Android Activity --> Blank Activity).

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