Learning app development should start with programming basics (variables, functions, classes and object-oriented programming), an understanding of how Android differs from iOS and native from cross-platform, and then installing Android Studio so you can run your first app on an emulator and on a real phone, plus basic Git to keep your code safe. Only after this should you choose between Flutter and React Native. Someone studying 10 hours a week in the evenings usually needs about 8 weeks; this lesson includes an example of a learner with an 8 GB RAM laptop and no Mac, with costs and a week-by-week plan.
By the end of this lesson, you will be able to:
- Write small programs using variables, conditions, loops and functions, and describe an object in an app with a class.
- Explain the differences between Android and iOS and between native and cross-platform, and choose a learning path that fits the computer you have.
- Install Android Studio, create an emulator and run your first sample app.
- Turn on developer options and USB debugging to run the app on a real Android phone.
- Use Git to save your project and push it to GitHub without leaking secret files.
Just starting out in mobile development? Programming basics and the Android and iOS ecosystems are step 1 of the 9-step roadmap, before learning Flutter or React Native. See the mobile app developer roadmap to know what comes after this lesson.
Why learn the foundations before choosing a framework?
Many beginners jump straight into a video like "build a shopping app with Flutter in 2 hours". Following along works, but change one thing and errors appear that you cannot explain. The reason: a framework is only the top layer; underneath are a programming language, the phone's operating system and the build tools.
The layers of a mobile app
- Language: Kotlin or Java for Android, Swift for iOS, Dart for Flutter, JavaScript/TypeScript for React Native.
- UI framework: building screens, buttons and lists.
- Operating system: access to the camera, location and notifications, and the app lifecycle.
- Build tools: Android Studio, Xcode, emulators, USB cables, store accounts.
Three reasons the foundations set your later pace
First, most beginner bugs are language bugs (null variables, wrong data types), not framework bugs. Second, Flutter and React Native are both built on classes, objects and functions that take parameters; once you understand these, you read documentation many times faster. Third, employers interview freshers with foundation questions far more than with questions about a particular library.
Variables, functions, classes and object-oriented programming
You can learn the basics in any language, but it is easiest to pick the language of the framework you are leaning towards: Dart for Flutter, JavaScript/TypeScript for React Native, Kotlin for native Android. The example below uses Dart because its syntax is easy to read.
Variables, data types, conditions, loops, functions
A variable is a named box that holds data; its data type says what the box holds (a number, text, true/false, a list). Conditions (if) let the app make decisions, loops (for) go through lists, and functions wrap a task into a reusable block. You will use them on every screen: checking for an empty input, showing a product list, totalling a cart.
Classes and objects: describing the "things" in an app
A class is a blueprint; an object is one concrete thing built from that blueprint. A barber booking app has an Appointment class, and each booking a customer makes is an object:
class Appointment {
final String customerName;
final DateTime startTime;
final int minutes;
Appointment(this.customerName, this.startTime, this.minutes);
DateTime endTime() => startTime.add(Duration(minutes: minutes));
}
final booking = Appointment('Ms Mai', DateTime(2026, 12, 5, 9, 0), 45);
print(booking.endTime()); // 09:45 on 5 December 2026
The three pillars of object-oriented programming you need to understand at this stage: encapsulation (data and the functions that handle it live together and hide internal details), inheritance (a subclass reuses a parent class, for example VipAppointment adds a private room), and polymorphism (the same call, handled differently by each class). In Flutter every UI element is a class; in React Native, components also take data and return UI along similar lines.
Photo: Markus Spiske markusspiske / Wikimedia Commons, CC0
Practising at the right level
Each week write 3-5 small programs that run on the command line or in an online code playground: totalling a cart, filtering appointments by date, counting words in a sentence. No UI yet; UI is step 2.
How do Android and iOS differ?
Today smartphones run almost only two operating systems: Android and iOS. Others that were once popular, such as BlackBerry and Windows Phone (Figure 2), are no longer developed. In Vietnam Android phones are very common and the iPhone also has a large user base, so companies usually need apps for both.
Photo: Carlos Varela / Wikimedia Commons, CC BY 2.0
| Criterion | Android | iOS |
|---|---|---|
| Maker | Google and many phone makers | Apple, runs only on iPhone and iPad |
| Native language | Kotlin (recommended), Java | Swift |
| Main tool | Android Studio, runs on Windows, macOS, Linux | Xcode, runs only on a Mac |
| Devices to test | Many brands, screen sizes and specs | Fewer models, more uniform |
| Store | Google Play and some other stores | App Store |
What if you have no Mac?
To build and run an iOS app you need a Mac with Xcode, even with Flutter or React Native (or a cloud build service). A beginner without a Mac can perfectly well learn Android first, write in Flutter or React Native, and only need a Mac when starting on the iOS side. Google Play and Apple developer account fees change over time; check the official pages when you reach the publishing step.
Android is fragmented, iOS is uniform
Android runs on thousands of phone models with different screen sizes, chips and OS versions, so apps must be tested on low-end phones too. iOS has fewer models, but Apple reviews apps quite strictly. Both require apps to ask for permissions at the right time and respect user privacy.
Native and cross-platform: understand them before choosing
Native
Native apps are written separately for each system: Kotlin for Android, Swift for iOS. The upside is immediate access to the newest OS features and the best performance. The downside is two codebases to write and maintain, needing two teams or one person who knows both.
Cross-platform
Flutter and React Native let you write one codebase and build both an Android and an iOS app. Most start-ups and outsourcing companies in Vietnam work this way because it saves effort. For very specific features you may still need a little native code. A detailed comparison of the two frameworks is in Flutter or React Native.
Advice for beginners
Learn the basics of one language, understand how Android and iOS work, then choose a cross-platform framework to get hired sooner. Learn Kotlin or Swift later, once you are working and need to go deeper.
Install Android Studio and run your first app
Android Studio is Google's free tool for writing, building and running Android apps; Flutter and React Native also need it for the Android toolchain and emulators.
Hardware and installation
The Android Studio download page recommends 16 GB of RAM, with about 8 GB as a minimum, and an SSD with a few tens of GB free; requirements can change between versions, so read the official page when you install. Download the installer from the official site, run it and let it download the SDK. Turn on hardware virtualisation (VT-x or AMD-V) in the BIOS if the emulator reports an acceleration error.
Create an emulator and run the sample app
- Create a new project from a built-in template, name it and choose Kotlin.
- Open the device manager and create a virtual device (pick a phone model and download a system image).
- Click Run and wait for the emulator to boot; the first time can take a few minutes.
- Change one line of text in the code, run again, and see the change on the emulator.
Run it on a real Android phone
The emulator is convenient but heavy; a real phone gives a true feel for speed and touch (Figure 3). Go to Settings, About phone, and tap the build number 7 times (the menu name varies by brand) to unlock Developer options, then turn on USB debugging. Plug in a USB data cable (not a charge-only cable), accept the prompt on the phone, select the device in Android Studio and click Run. Phones on Android 11 and later also support wireless debugging.
Photo: Alejandro Escamilla alejandroescamilla / Wikimedia Commons, CC0
Data safety note: Turn on USB debugging only while developing and turn it off when not in use; never accept a debugging prompt when plugging your phone into an unknown computer or a public charging station. Do not install test apps on a phone holding banking or important work data unless you know what the app does; ideally use a spare old Android phone for testing. Never push app signing keys (keystores), passwords or API keys to a public GitHub repo.
Basic Git for app learners
Git keeps a history of your project's changes, lets you go back to a working version when you break something, and is how every team shares code. Employers also look at your GitHub as a portfolio.
Five commands to use from day one
git initcreates a Git repository for the project folder.git statusshows which files have changed.git addpicks files for the next save, andgit commit -m "..."saves them with a clear message.git pushuploads to GitHub once you have created and linked a repository.git log --onelineshows the history.
A .gitignore for mobile projects
Build folders, tool caches and personal machine settings should not go into Git: they are large and regenerated automatically. Android Studio, Flutter and React Native all create a .gitignore when you start a project; do not delete it. You will use branches and pull requests more when working in teams in later steps.
Photo: Matthew (WMF) / Wikimedia Commons, CC BY-SA 3.0
Worked example: Nam learns for 8 weeks on an 8 GB laptop with no Mac
Nam, 22, works in an office and studies 10 hours a week in the evenings. His equipment: a Windows laptop with 8 GB of RAM and 40 GB free on the SSD, and a mid-range Android phone. He has no Mac.
Step 1: choose a path that fits the equipment
With no Mac, Nam learns Android first and plans to use Flutter in step 2 so he can extend to iOS later. Running Android Studio, an emulator and a browser on 8 GB of RAM will be slow, so Nam mostly runs apps on his real phone over USB and considers adding RAM because the laptop has a free slot.
Step 2: costs (2026 reference, varies by region and shop)
| Item | Price range | Nam's choice |
|---|---|---|
| Extra 8 GB laptop RAM module | 600,000-1,500,000 VND | 1,000,000 VND |
| Good USB data cable | 50,000-200,000 VND | 100,000 VND |
| Android Studio, Flutter SDK, Git | Free | 0 VND |
| GitHub account | Free | 0 VND |
| Total | 1,100,000 VND | |
Check: 1,000,000 + 100,000 + 0 + 0 = 1,100,000 VND (about US$43); RAM prices swing a lot, so ask the shop about the exact RAM type for your laptop before buying. If he does not want to spend yet, Nam can still learn using his real phone and closing other apps while Android Studio runs.
Step 3: an 8-week plan
| Weeks | Content | Hours | Result |
|---|---|---|---|
| 1-3 | Variables, data types, conditions, loops, functions, lists (Dart) | 30 | 12 small programs |
| 4-5 | Classes, objects, encapsulation, inheritance, polymorphism | 20 | A class model for a booking app |
| 6 | Install Android Studio, emulator, run the app on a real phone | 10 | Sample app running on both |
| 7 | Android vs iOS, native vs cross-platform, reading official docs | 10 | A one-page comparison note |
| 8 | Git, GitHub, .gitignore | 10 | A GitHub repo with 10 clear commits |
| Total | 80 | ||
Check: 30 + 20 + 10 + 10 + 10 = 80 hours, exactly 8 weeks × 10 hours. After week 8 Nam has the foundations to start building UIs with Flutter.
Common mistakes when starting app development
Learning a framework before the language is solid
Sign: you can copy code from a video but cannot fix errors. Cause: skipping variables, functions and classes. Fix: spend 4-5 weeks on the language and object-oriented programming first.
Giving up because the emulator is slow
Sign: the computer freezes when the emulator opens. Cause: low RAM, hardware virtualisation off, too many apps open. Fix: enable virtualisation in the BIOS, use a real phone, add RAM when you can.
The USB cable does not detect the phone
Sign: Android Studio cannot see the phone. Cause: a charge-only cable, USB debugging off, or the prompt on the phone not accepted. Fix: switch to a data cable, recheck each step, unplug, replug and accept the prompt.
Not using Git until code is lost
Sign: folders named "app-final", "app-final-2", "app-final-new". Cause: no commit habit. Fix: create a Git repo as soon as you create the project and commit after every small working change.
Frequently asked questions
Where should I start learning app development if I know nothing?
Start with one language (Dart, JavaScript or Kotlin) covering variables, functions and classes; in parallel, install Android Studio and run a sample app to see results early. Choose Flutter or React Native after about two months.
Can I learn iOS development without a Mac?
You can learn the language and a cross-platform framework on Windows and test on Android. To build and run iOS apps and publish to the App Store, you need a Mac with Xcode or a cloud build service.
Can I learn mobile development on an 8 GB RAM laptop?
Yes, but the emulator will be slow. Run apps on a real phone, close other apps, and upgrade to 16 GB of RAM if your laptop allows it.
Should I learn Kotlin or Flutter first?
If you want a job quickly and to cover both platforms, learn Flutter or React Native after the foundations. If you want to specialise in Android at a large company, add Kotlin; the two paths are not mutually exclusive.
Do mobile developers need to learn UI design?
You do not need to become a designer, but you should understand basic layout, font sizes and spacing to turn designs into correct screens. See What is UI/UX.
Practice tasks and self-assessment
- Write a Product class with a name, price and quantity and a function that calculates the line total; create 3 objects and print the cart total.
- Install Android Studio, create an emulator, run the sample app and change one line of text on screen.
- Turn on USB debugging on your Android phone (or an old one) and run the same app on the real phone.
- Create a GitHub repo for your exercises and commit at least 5 times with clear messages.
Self-assessment criteria
- Pass: you can explain the difference between a class and an object with an example from your app.
- Pass: the sample app runs on both the emulator and a real phone.
- Pass: you can state 3 differences between Android and iOS and the reason for your chosen path.
- Not yet: your GitHub repo has one commit that includes the build folder, or you have never run the app on a real phone.
Once your foundations are solid, move on to the next roadmap step: Flutter (Dart) or React Native: widgets & layout, where you pick one framework and build layouts that adapt to different screen sizes.
Keep learning mobile app development: after the foundations come Flutter or React Native, navigation and state management, API calls and offline storage, camera and notifications, testing, and publishing to Google Play and the App Store. See the mobile app developer roadmap.






