Android Project Structure

Publicado el: 14 julio 2020
en el canal de: Ben Kadel
31,673
1k

Twitter:   / ben_kadel  
Github: https://github.com/kardelio

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
09:03 - build.gradle
10:17 - gradle.properties
10:49 - gradlew
11:52 - gradlew.bat
12:05 - local.properties
12:35 - settings.gradle
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
16:59 - app/build.gradle
18:06 - app/proguard-rules.pro
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)
22:28 - app/src/main/AndroidManifest.xml

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

Coding with Mitch (Youtube Channel):
   / @codingwithmitch  

Coding in flow (Youtube Channel):
   / @codinginflow  

My Git tutorial playlist:
   • Full Git Tutorial (Part 1) - Introduc...  

My Automated testing video:
   • Tests Saved My Ass (400 Sub Special)  

.gradle (folder) & gradle (folder) info:
https://docs.gradle.org/current/userg...

.idea (folder) info:
https://rider-support.jetbrains.com/h...

app (folder) & app/src/main/res (folder) info:
https://developer.android.com/studio/...

.gitignore info:
https://git-scm.com/docs/gitignore

build.gradle info:
https://stackoverflow.com/questions/2...

gradle.properties info:
https://docs.gradle.org/current/userg....

gradlew & gradlew.bat info:
https://docs.gradle.org/current/userg...

local.properties info:
https://developer.android.com/studio/...

settings.gradle info:
https://developer.android.com/studio/...
https://docs.gradle.org/current/userg...

Scratches info:
https://www.jetbrains.com/help/idea/s...

Consoles info:
https://www.jetbrains.com/help/idea/i...

app/.gitignore info:
https://riptutorial.com/git/example/2...

app/build.gradle info:
https://stackoverflow.com/questions/2...

app/proguard-rules.pro info:
https://www.guardsquare.com/en/produc...

app/src/main/AndroidManifest.xml info:
https://javapapers.com/android/androi...

-------------------------------------
Tools:
-------------------------------------
Video Editing: https://www.blackmagicdesign.com/prod...
Image Editing: https://www.gimp.org/
Camera: Canon M50

-------------------------------------
Credits:
-------------------------------------
Intro Card Music: https://www.purple-planet.com
In Video Music: https://www.bensound.com
In Video Background: Photo by Adrien Olichon from Pexels
Thumbnail Background: Photo by louys from Pexels

Vid: 35

#androiddev #androidstudio #projectstructure


En esta página del sitio puede ver el video en línea Android Project Structure de Duración hora minuto segunda en buena calidad , que subió el usuario Ben Kadel 14 julio 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 31,673 veces y le gustó 1 mil a los espectadores. Disfruta viendo!