Android Studio Tutorial – Part 1 (2020 Edition)

Google+ Pinterest LinkedIn Tumblr +

Video is ready, Click Here to View ×


Want to build your first Android app? In this tutorial series let’s get started with Android Studio and app development. We’ll build an inventory management app that allows us to add products, then list them so that we can scroll through them. This app will be created using Kotlin and not Java. Kotlin is the current and future of Android, and Java is going away quickly. I wouldn’t waste time trying to follow tutorials on Java.

This is geared for those who want to become an Android Engineer (Developer). I’ve been a software engineer for nearly two decades and through it all I’ve learned that while programming can be hard, it can also be highly rewarding. The last app I built cost $30M and took a team of dozens of software engineers nearly a year to build. When I hit the button to launch the app in Google Play I felt a lot of pride in my job as an Android Engineer. Within weeks, the app was the #1 trending app in Google Play. Not bad!

But I didn’t start my career as an Android Engineer. My first job was a web developer at a camera equipment manufacturer. Managing ecommerce websites was fun, but I wanted to switch to Android. Learning through programs like YouTube, Treehouse, lynda.com, Stack Overflow and lots of Google searches and random blogs, I taught myself enough to get my first job as an Android Developer. It was fun, and it also taught me a lot about determination and hard work. In this series, I hope to guide other developers who want to make a switch. Maybe one day you’ll be the one teaching me here on YouTube, you never know 🙂

Hopefully this tutorial series will be engaging and interesting. If you have questions about Android Studio, please leave a comment and if I have time I will respond. Thanks! 🙂

Connect with me on LinkedIn!

Share.

About Author

41 Comments

  1. HELP NEEDED! My emulator(i set it to nougat) started with Hello first fragment and a next button, when i double click any of the two it opens a nav_graph.xml; and when i run my emulator the buttons arent where exactly i placed them in the design.

  2. What would you say is a better choice as far as productivity? Unity or Android SDK, for a programmable 2D interface, for say some easy flat space such as a grid for lottery drawings and a random highlighting of 6 out of 70 balls on a screen. I'm an AS3/Flash programmer and it's really difficult to see such a good tool go by the wayside. What's your thoughts?

  3. As a programmer, I am super bummed (really Pssst off actually). I was creating games, awesome apps… then the hammer came down and stopped supporting Adobe Flash. Really all about power and dominance of the market. Now this seems like the old days making programs like Java Applets.

    question: Is this the only way to create apps for Android now?

  4. Thank you Daniel for the tutorial.

    @7:50, when trying to run the emulator, I ran into and ERROR, basically the Android studio was looking for the AVD folder/directory in one place, whereas it was installed in another. Moving the AVD folder to the the place where it is looking solved the problem. I am on Linux.

    AVD was installed as follows /root/.android/avd
    MOVED TO as follows /home/<username>/.android/avd

    BTW the /avd director holds the emulator you downloaded/created.

    I hope this helps someone from not getting additional grey hair as I did struggling for half a day.

  5. Cannot access 'android.app.Activity' which is a supertype of 'com.example.inventorymanagement.MainActivity'. Check your module classpath for missing or conflicting dependencies

  6. Why my andruod studio show me
    – could not download kotlin-compiler-embeddable-1.3.72jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.72): No cached version available for offline mode

    While i conmected to the wifi
    Please solve my situation
    Thanks

  7. Has anyone encountered the following issue in Android Studio when trying to run "public static void main(String[] args)" method:

    FAILURE: Build failed with an exception.

    * Where:

    Initialization script 'C:UsersWalterAppDataLocalTempHellos_main__.gradle' line: 21

    * What went wrong:

    A problem occurred configuring project ':app'.

    > Could not create task ':app:Hellos.main()'.

    > SourceSet with name 'main' not found.

    Thanks in advance.

  8. I wanna ask, whats the best laptop for android studio on August 2020, where the OS is Windows 10. could someone give me a recommendation? where the price is not so expensive, about between $600 – $2000 US dollar

  9. hi, so i have a problem. The avd is to big for my ssd, and i dont know how to change the location of the avd folder. ive tried changing the envirounmental variables but it didnt work. do you know a solution?

  10. Boy this tutorial is perfect. So clean, so concise, perfect tempo, perhaps slightly uninformative for those delving into programming IDE/software for the first time but for those of us who are familiar with it, it's dead-on perfect. Thank you Daniel!