Skip to content

Truelancer Blog

  • Post Project
  • Find Freelancers
  • Find Projects
  • Signup
android studio

Android Studio’s Project Structure & Build System Explained

October 30, 2015 by Adhish Lal

Are you trying to learn android development or already are an android developer but getting confused by the different project structures between Eclipse and Android Studio or the Gradle build system? Or even failing to understand what is Gradle all about? This article is surely for you. Here’s a quick solution to your confusion.

TOP LEVEL FOLDERS OF ANDROID STUDIO

1) Main Project: This would be entire project context.

2) .idea: This where project specific metadata(data about data) is stored by Android Studio

3) Project Module: The “Actual Project”*.

4) Gradle: This is where the gradle system’s build jar(Java Archive) wrapper i.e. this jar is how Android Studio communicates with gradle installed in operating system.

But now the main question arises, what is Gradle? 

Gradle is a project customization tool that builds upon the concept of Apache ANT & Apache Maven and introduces a ‘Groovy’ based domain specific language instead of most traditional XML form of declaring the project configuration. Gradle uses the direct acyclic graph (“DAG”) to determine which tasks can be run.

Here are some key points of Gradle:

  • Its cross platform
  • The initial plugin focuses on Java, Groovy and Scala (All 3 are programming languages).

5) External libraries: This is not actually a folder but a place where referenced libraries are shown. Here’s where the targeted platform is shown etc.

*ACTUAL PROJECT:

1) Build: This has all the complete output of the make process i.e. classes.dex, compiled classes and resources.

In Android Studio GUI, only a few folders are shown. The important part is that your R.java is found here under build/source/<flavor>/R/<build type(optional)>/package/R.java

Must Read  How to Hire Android App Developer who can build Mobile App

Now, lets see how APK files are made!

To make an APK file, a program for Android is first compiled, and then all of its parts are packed into one file. This holds all of that program’s code(The are the .dex files), resources, assets, certificates and manifest files.

Programs are commonly written in Java & compiled to bytecode. They are then converted from Java Virtual Machine compatible .class files to Dalvik compatible .dex(Dalvik Executable) files before installation on device. The compact Dalvik Executable format is designed to be suitable for systems that are constrained in.

2) libs: This is the standard library folder.

3) src: Here, you only see the ‘java’ and ‘res’ folder which corresponds to the src and res of Eclipse Android Development Environment.

Are you an Android Developer? Join Truelancer today and start your Freelance Earnings.

Adhish Lal

I am a “Technical Entrepreneur” having more than 5+ years of experience in the design and development of mobile, web, wearables and desktop apps. I have also worked with Microsoft and Google. I love teaching and have delivered many App development workshops across India.

Post navigation

Previous Post:

Tips for Android Developers to reduce APK file Size

Next Post:

Why Design Crowdsourcing for Logo makes so much Sense

Become a Freelancer

Popular Posts

  • Introducing Instant Hire – Re-Hiring Made Easy!
  • How to withdraw money from your Truelancer Account
  • Payment withdrawal options on Truelancer
  • Workflow between Freelancer & Client. Workstream Step by Step Guide
  • Send a Perfect Proposal for Projects on Truelancer

Recent Posts: Truelancer Blog

List of Freelance Sites to Start Freelancing

List of Freelance Sites to Start Freelancing

Freelancing Success: Graphic Designer with 5 Star Ratings!!

Freelancing Success: Graphic Designer with 5 Star Ratings!!

Freelancing Success: Meet Aditya Web and Android Developer from Bangalore

Freelancing Success: Meet Aditya Web and Android Developer from Bangalore

Freelancing Success: Meet Vishal Shah who earned $10000 in just 90 days!

Freelancing Success: Meet Vishal Shah who earned $10000 in just 90 days!

Prince from Kenya-Amazing Content Writer, who always get 5 Star Ratings

Prince from Kenya-Amazing Content Writer, who always get 5 Star Ratings

Categories

  • Academy
  • Achitect
  • Affiliate Marketing
  • Angel Investors
  • Announcements
  • Article Writing
  • Artificial Intelligence
  • Blogging
  • Book Release
  • ChatGPT
  • Content Marketing
  • Coworking Spaces
  • Crowdsourcing
  • Digital marketing
  • Digital Superstars
  • E-commerce
  • Email Marketing
  • Entrepreneurs
  • Entrepreneurship & Startup
  • Events
  • Featured Freelancers
  • Featured Stories
  • Freelance Jobs
  • Freelancer
  • Freelancer Report
  • Freelancer Tips
  • Freelancing
  • Graphic Design
  • Grok AI
  • Infographics
  • Interior Designer
  • Interview Questions
  • IT & Programming
  • Make Money Online
  • Mobile App Development
  • News
  • Online Jobs
  • Outsourcing
  • Payments
  • Payoneer & Truelancer
  • Pro Membership
  • Product Updae
  • Product Updates
  • Programmers
  • Project Management
  • Remote Team
  • Remote Work
  • Research & Analytics
  • SEO & SEM
  • SEO and Online Media
  • Small Business
  • Social Media & Marketing
  • Software Development
  • Startups
  • Startups
  • Superlancer
  • Translation
  • Trending Services
  • Truelancer General
  • Truelancer Offers
  • Tutorials
  • Uncategorized
  • Video Editing
  • Virtual Assistants
  • Web Development
  • Website Designing
  • Writing and Content
  • Yoga
  • Become a Freelancer
© 2025 Truelancer Blog | WordPress Theme by Superbthemes