Pocket Studio Academy
HomePart 00.7

How to learn this without burning out

Free lesson5 min read·3 questions

The people who finish a course like this are not the cleverest — they are the ones who came back on Tuesday. Six habits that make the next fifteen hours work, plus a first Git commit so today's win is on the record.

The only lesson here with no code in it

You have built and installed a real app. That already puts you ahead of most people who ever downloaded a programming course.

Next comes the stretch where it gets genuinely hard and most people quietly stop — not because they cannot do it, but because nobody warned them what learning to code feels like from the inside. So: one warning, and six habits.

The warning is that confusion is not a signal that you are failing. It is the sensation of your brain building something it did not have before. Everyone gets it. The people who keep going are the ones who were told in advance that it was normal.

Think of it like this

Nobody learns the guitar by practising for nine hours on a Sunday.

They learn it in twenty-minute sessions, most days, for months. And here is the thing every music teacher knows and most students refuse to believe: you often play a piece better on Tuesday than you did at the end of Monday, without having touched the instrument in between.

Sleep does real work. Your hands and your brain file things away overnight.

Twenty minutes a day for a fortnight beats one long Sunday, every time — because the fourteen nights of filing are the part that sticks.

Six habits

1. Twenty minutes, most days

Short and frequent beats long and rare. One lesson a day finishes this whole course in about eleven weeks, and you will still remember Part 1 when you reach Part 5.

Pick a slot attached to something you already do — the bus, after dinner, before bed. A time you do not have to decide about is a time you actually turn up to.

2. Type the code. Do not paste it.

There is a copy button on every code block here. It exists for the long blocks in Part 5, where retyping forty lines teaches you nothing.

Type everything shorter. Typing drags you past every character your eyes would skim — the capital T, the closing brace, the comma. It is slower on purpose; the slowness is the lesson.

3. Treat confusion as the work, not the obstacle

Reading a line four times and still getting nothing is not wasted time. It is the time. What helps: read the two lines around it, say it out loud in plain English, then carry on. Understanding often arrives two lessons later, in retrospect, all at once.

4. The twenty-minute stuck rule

When an error has beaten you for twenty minutes, stop. Not forever — for now.

Before you close the app, write down three things: what you were trying to do, the exact error text, and what you have already tried. Thirty seconds of writing.

Read your own note tomorrow. Surprisingly often you will see the answer in ten seconds, because you are no longer the person who has been staring at it. Professionals use this daily.

5. Change one thing, then build

On a phone a costs you minutes, battery and, on the Free tier, one of a limited number of builds. So batch your thinking: make a change, read it back, check for red underlines, then press Run.

Plug the phone in before a session. If it gets hot, put it down for two minutes — a hot phone slows itself down, and a slow build is a build you will be tempted to interrupt.

6. Build one tiny thing of your own each week

Not from a lesson. Something small and slightly pointless that you thought of. Change Hello Pocket to show the time. Make it count your taps. Ten minutes of your own idea beats an hour of following instructions, because it forces you to retrieve what you know rather than recognise it.

Keep the receipts

Today you built and installed an app. In three weeks that will feel unremarkable, which is a shame, because it is not.

Use as a diary. Every time something works, make a whose message says what now works. Ten seconds each. It gives you a way back when you break something, and after a month you have a dated list of everything you have achieved, in your own words — which is worth a great deal on the days it feels like you are getting nowhere.

What is coming

An honest map, so nothing ambushes you.

PartWhat it isHow it feels
1Kotlin from zeroSteady. Lots of small wins.
2How Android really worksA relief — things start explaining themselves.
3Jetpack ComposeThe fun part. Also where remember will confuse you.
4ArchitectureThe hardest stretch. Go slowly here.
5Three real appsThe reward. Long, but you are only assembling.
6Polish and shipShort and satisfying.

Two pieces of permission you are unlikely to be given elsewhere:

You may skip ahead. If Part 4 is grinding you down, jump to Dice Duel in Part 5 and build something. Come back when you want to know why it works. Motivation is a resource and it is allowed to steer.

You may not remember things. Nobody holds all of Kotlin in their head. Looking a thing up for the fifth time is not failure — it is how it is done, by everyone, permanently. The glossary in this course exists precisely for that.

Try it in Pocket Studio

Two minutes. Put today's win on the record, and set up the habit.

  1. Open Hello Pocket in Pocket Studio.
  2. Open the Git panel and tap Init (or Initialise repository). This creates a — a hidden folder where Git keeps your history.
  3. If Git asks who you are, give it a name and any email address. It stamps every commit with them; nothing is sent anywhere.
  4. Check that build/ appears greyed out or excluded. That folder is generated and does not belong in your history. Pocket Studio's templates ship a .gitignore that handles it.
  5. Tap Commit. Type the message: First app built and installed.
  6. Confirm. That is your first — a permanent snapshot of the project exactly as it is right now.
  7. Now set the habit: put a repeating twenty-minute reminder in your phone's clock or calendar, at a time you are usually free. Name it something you will not ignore.
  8. Optional, and worth it: make a note somewhere called Wins. First line — today's date, and built and installed my first Android app.
Error Doctor4 common errors
hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change.
MeansNot an error at all — a hint. Git is telling you what it called your first branch. Some tools call it main, some master, and nothing about your project depends on which.
FixIgnore it. If you would rather it said main, Pocket Studio's Git settings usually offer a default branch name, but it changes nothing about how your history works.
Author identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name"
MeansGit stamps every commit with a name and an email and refuses to invent them. You have not told it yours yet.
FixEnter a name and an email in Pocket Studio's Git settings — or run those two git config lines in the Terminal. Nothing is sent anywhere; it is a label on your own snapshots.
nothing to commit, working tree clean
MeansAlso not an error. Git is saying every file already matches your last commit, so there is nothing new to record.
FixNothing to do. If you expected changes, check you saved the file — and check you are looking at the project you actually edited.
fatal: pathspec 'MainActivity.kt' did not match any files
MeansYou asked Git to stage a file using a path it cannot find. Usually the file is deeper in the tree than the name alone suggests.
FixUse the full path from the project root: app/src/main/java/com/yourname/hellopocket/MainActivity.kt. Easier still, use the Git panel's file list and tap the file instead of typing it.
Recap
  • Twenty minutes most days beats one long session — the nights in between do real work.
  • Type short samples rather than pasting them. Confusion while you read is the learning, not a sign of failure.
  • Stuck for twenty minutes? Write down the goal, the exact error and what you tried, then stop and come back tomorrow.
  • On a phone, each costs minutes, battery and one of a limited number of builds — so change one thing, read it, then Run.
  • Use as a diary. Each is a way back and a record of a win.
  • Next: Part 1 begins. Lesson 1.1 is and — giving names to things, which turns out to be most of programming.