Yousef Imran
Yousef Imran

Reputation: 1157

Can't create a folder in "main" Android Studio

I'm trying to create a folder in "main" in Android Studio using the steps shown in the attachment.

What I'm trying to achieve eventually is to have a BLUE directory (A folder)under main, so I can add packages to it. I'm following the steps to achieve that but I always end up with a brown directory(A logical group not an actual folder).

I'm not sure if I'm doing something wrong or if Android Studio is just crushing my hopes and dreams lol.

Thank you.enter image description here

Upvotes: 2

Views: 2547

Answers (2)

Twitter khuong291
Twitter khuong291

Reputation: 11682

Change Project to Android and add directory in java. If you want to create a folder like this, create outside Android Studio.

Upvotes: 1

Vishavjeet Singh
Vishavjeet Singh

Reputation: 1385

You should add folders or packages in java directory not in main

Create new directory under main < java

Upvotes: 2

Related Questions