简体   繁体   中英

Android studio :: Unable to see a source folder

I recently migrated my project to Android studio. I have placed all my library source folders under Application/library/src/main/java.

There is one folder named "rcs". I can see it in my windows explorer. But, I cannot see it in Android studio project view or any other views. And I can see that, wherever I refer the contents of this folder, I am seeing "Cannot resolve symbol" for this particular folder.

But I see those files are compiled and present in the "exploded-aar" folder of my application folder. Just that, they are not present in the project explorer.

Please input your suggestions. I don't have a classpath or .cvsignore or .gitignore.

Folder named "rcs" was ignored by Studio as its a version control system. Fixed it by changing:

Go to File > Settings > Editor > File Types > ”Ignore files and folders”.

If you are using new android studio, check this 图片

只需去build-> clean project-> Build Project

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