Android Project Structure

preview_player
Показать описание

In this video I go through and explain the purpose/usage of every file & directory (folder) that makes up a Android project codebase after it has been setup by creating a new project in Android Studio. In order to help you understand and navigate an android codebase!

Follow me as I use a blank & newly create android project to take you through the files & folders that makes up the codebase that creates a runnable mobile app! I go (in order) from the root level of the project down into the default "app" android application module's "main/java" directory and show you all the default files that live at each level of the project structure & explain their reason for being.

I also explain several other systems/softwares that go into building an android app, such as; gradle (the build system), pro-guard (the obfuscation system) & git (the version control system) and of course the reasons that an android dev needs these many additional things! In the video I briefly cover many many areas and in order to make the video not incredibly long I have provided a large list of links below that you can follow to learn more about any of the topics!

Below is a list of timestamps so that if you want to know very particularly about a certain file/folder you can skip ahead in the video to that section!

Thanks for watching and please reach out to me with any questions/queries that you might have!

Timestamps ======================

00:00 - Intro
04:27 - .gradle (folder)
05:45 - .idea (folder)
06:02 - app (folder)
06:58 - gradle (folder)
07:35 - .gitignore
10:49 - gradlew
13:15 - External Libraries (area)
14:10 - Scratches And Consoles (area)
15:35 - Intro to the app folder
16:01 - app/libs (folder)
16:10 - app/src (folder)
16:31 - app/.gitignore
18:47 - Building the app & app/src/build (folder)
19:44 - app/build (folder)
20:18 - Intro to the app/src folder
20:26 - app/src/main (folder)
20:39 - app/src/test (folder)
21:12 - app/src/androidTest (folder)
21:48 - app/src/main/java (folder)
22:04 - app/src/main/res (folder)

Links ======================

Coding with Mitch (Youtube Channel):

Coding in flow (Youtube Channel):

My Git tutorial playlist:

My Automated testing video:

.gradle (folder) & gradle (folder) info:

.idea (folder) info:

app (folder) & app/src/main/res (folder) info:

.gitignore info:

Scratches info:

Consoles info:

app/.gitignore info:

-------------------------------------
Tools:
-------------------------------------
Camera: Canon M50

-------------------------------------
Credits:
-------------------------------------
In Video Background: Photo by Adrien Olichon from Pexels
Thumbnail Background: Photo by louys from Pexels

Vid: 35

#androiddev #androidstudio #projectstructure
Рекомендации по теме
Комментарии
Автор

Dude you the man! As far as I'm concerned, this is what every android 'course' series should start off with. And yet, none do. Go figure... Saved me from having to watch endless hours of tutorial material to scrape the info I actually needed to move forward.

jasonmccullough
Автор

I can't express how happy I am for finding your video. I have been facing some problems dealing with android studio, especially where I should put the code files and having you explain the whole project structure like that saves me a lot of time. Million thanks!

AmiraMohamed-jftl
Автор

This is what I was looking for. Many so called famous YouTubers don't actually tell you this fundamental things. You are the best teacher I must say.

VaibhavYawalkar
Автор

god, you're good! You explained each folder & file in incredible detail. I also appreciate the enthusiasm.

karlalalalalala
Автор

This video was objective and informative without being boring since it's visible the passion you have for working with Android.
The pacing was nice and I got the basic understanting I was looking for.
Even though long, I feel the time was well spent. Thanks a lot!

chiboletesophos
Автор

File structure is the most important thing to understand how to get into a new tech stack... And nobody ever talks about it. Thanks a ton

gnes
Автор

Love the explanation of Gradle! And the video chapters are super helpful 😊

RahulPandeyrkp
Автор

Ya, what they all said. Bought a book, and will dig deeper into Android Dev. Trying to learn this stuff on my own. This video helped.

The_Corner_Of
Автор

That was very fun to watch, brief and straight to the point! Doing a very good job man!

lazybigtitan
Автор

I wasn't expecting to learn that much from a YouTube video ! Big UP !

faycalborsali
Автор

You are so underratted this is hands on the best video about it.

WaseekAhmad
Автор

This explaination is awsome, your way of explaining things is easy to understand and to follow. Great job!

antoakovic
Автор

This is what I was looking for since my first android project would be to update an existing app that has no documentation.
Very nicely explained. Thank you :)

firepup
Автор

Thank you so much for alleviating my perpetual confusion. <3
I've tried multiple times to get into Android development, but the project structure was always so utterly confusing, that I quickly left my projects alone and never finished anything.

demidevil
Автор

Really ! i'm out of words your content is actually amazing probably the best android intro i've eve seen here just keep it up with good job! perhaps you should consider making a full android course that will help so many like myself

yahyaniang
Автор

As a psychologist and android learner, I would say this is a great video. Because as a main learning-teaching style some needs a generalist view not step by step learning without understanding the whole. But, it is not easy to find a tutorial adopting 'from a general-holistic view into details' approach. Without a generalist view it feel like you are in a wild environment. Thanks. you make me feel at home in android environment. If you go further and make a video explaining a generic big project in the same way, that will be also great.

mahmuthavai
Автор

Very well done. Informative, useful, pleasure to watch. Good job. Love the burping outtakes.

stevebroshar
Автор

Do you always do your project based on SDK? Or do you ever do NDK?

gjermundification
Автор

Explained very well, you earned a sub. Keep going.

unaisulhadi
Автор

Thanks so much for this, it is very clear and easy to follow.

pongli