DEV Community

Cover image for "How I Built My First Android App With No Coding Experience and a Lot of Sleepless Nights"
Fredrick Miracho
Fredrick Miracho

Posted on

"How I Built My First Android App With No Coding Experience and a Lot of Sleepless Nights"

Introduction:
There are moments in life when you say yes before your brain has fully processed what you just agreed to. This was one of those moments.
My superior came to me one day with a request that he needed a class attendance application. Something simple he said. Just scan a student's QR code, sign them in and keep a record. Clean and straightforward.
I wanted to please him so I agreed. But I was honest, I told him it would take time because I would need to learn an entirely new programming language with new syntax from scratch. I had never built an android application in my life.
He listened patiently. Then with the confidence that only someone who has never coded can have, he smiled and said "just use AI to build one." I couldn't argue. He wasn't wrong exactly AI was going to be a big part of this. But what he didn't know and what I was beginning to realize was that AI doesn't just hand you a finished app. You still have to understand it, debug it, break it, fix it and wrestle with it at two in the morning when nothing makes sense.
I said yes. And I had absolutely no idea what I was getting into.
Saying Yes Before You Are Ready
I said yes for two reasons. First, I wanted to prove myself because no one else was there to do it and I didn't want to let him down. But there was a second reason too, a more personal one. I believed that building this app could open doors for me. My superior was well connected and well resourced. If I could deliver something that impressed him, who knows what opportunities might follow.
So I said yes. And then I immediately called my brother.
I explained the situation and waited for encouragement. Instead there was a long pause followed by "aah, what have you gotten yourself into?"
That was the moment I realized I was in serious trouble. But I pushed the panic aside and got practical. I asked my brother everything; what language should I learn, what extensions would I need, what code editor should I use. He guided me as best he could. And somewhere in that conversation I made a quiet decision and no matter how hard this was going to be, I was going to do it.

*Getting Started With Android Studio:
*

My first step was installing Android Studio on my MacOS. That alone was a pure headache. After struggling for what felt like forever I finally gave up and switched to my desktop instead. It installed successfully and I remember thinking at least that's one small victory.
From there I began studying Flutter, the language I would use to build the app. I had no time to waste so I threw myself into tutorials while still carrying the full weight of my school work.
Here is what surprised me though. After hours of wrestling with Flutter syntax, coming back to my philosophy assignments actually felt like a relief. Like taking a peaceful walk in the park after running a ten thousand kilometer marathon. Nobody tells you that learning something brutally difficult makes everything else feel easy. But that was my unexpected gift from this experience.
Building the QR Code Scanner
The app had a clear mission. When a student's QR code was scanned it needed to return their name, course and registration number, mark them present and after scanning the entire class it would generate a complete record showing who was present and who was absent.
Simple in theory. Brutal in practice.
With the help of tutorials and AI tools I began filling in the code piece by piece. I didn't fully understand every line but I was learning as I went, building something real for the first time in my life.
Then the debugging began.

The Debugging Nightmare:

Errors. Then more errors. Hours passed. Days passed. It felt like I was trapped in an endless loop with no exit in sight. Every fix revealed another problem. Every solution created a new question. I began to wonder if I would ever finish.
Then finally, the day I had been waiting for arrived. The debugging was done. I held my breath and hit run.
It ran smoothly. I installed it on my phone, opened it with shaking hands and
It blinked. And went off.
The app crashed on opening. After everything I had been through it simply blinked and died. In that moment I felt like breaking completely. But I was so close. I couldn't give up now. So I gave myself one full day away from it no code, no debugging, no thinking about it at all. When I came back with fresh eyes I noticed a new Android Studio update waiting for installation. Without thinking much about it I clicked install.
That was a mistake.
When Android Studio restarted parts of my code were simply gone. Wiped. Vanished. I stared at the screen not fully understanding what had happened. Then it hit me that the update had broken everything.
That moment broke me.
The thought of starting the entire code from scratch almost gave me a heart attack. But what choice did I have? I had come too far to walk away. So I took a deep breath and started again.
The Moment It Finally Worked
After another long stretch of coding, debugging, frustration and stubborn persistence it worked.
The app opened. The QR scanner functioned. The names appeared. The attendance recorded. Everything worked exactly as it was supposed to.
The feeling was indescribable. No words I know in English or philosophy can fully capture that moment. I had built something from nothing, survived every setback and delivered on a promise I had made when I had absolutely no idea how to keep it.
My superior was pleased. And while I knew he would never fully understand the journey behind that simple app, the sleepless nights, the crashed code, the update that wiped everything, the moment I nearly gave up but it didn't matter. I knew. And that was enough.

Conclusion:

This experience taught me one of the most important lessons of my life that hard and impossible are not the same thing. When I first said yes to building that app I had no experience, no knowledge of Flutter and no idea what I was walking into. Everything about it felt impossible. But hard things and impossible things are fundamentally different. Impossible means it cannot be done. Hard means it will cost you something; your time, your sleep, your comfort and your pride. But it can be done.
And it was done.
The second thing this experience taught me is something I want to say directly to every beginner reading this. We are never truly ready. We wait for the right moment, the right skills, the right circumstances. But readiness is rarely something we prepare for in advance. Most of the time situations create the readiness within us. My superior's simple request didn't find a ready developer. It made one.
So if you are waiting to feel ready before you start, stop waiting. Say yes. Figure it out as you go. Let the situation shape you.
You will surprise yourself.

Top comments (0)