Tutorial: Android Studio, from zero knowledge to something basic



First Android tutorial! This uses Android Studio, the now official method of building Android apps, and walks through every detail step-by-step to get a basic application working. The functions of the end app are extremely basic, but hopefully this will help out anyone who wants to get over the hump and get some of their own code running on an Android device. Exciting stuff!

This is my first tutorial video, if you’re interested in more, have questions, or any constructive criticism, let me know! Planning to release more Android tutorials in the future.

40 Replies to “Tutorial: Android Studio, from zero knowledge to something basic”

  1. jeff jeanbaptiste

    may you please help me solve these problem, in my activity_main.xml i
    got all these things write in red to show me error i wanna fix them
    please, help!!!

     <?xml version="1.0" encoding="utf-8"?>
    <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">

  2. Clem Hawkins

    very well explained, i've been trying to figure out how this all works ( 145 hours ago i made the first chronometer app example ) and in twenty minutes i had almost every question about the basics of Android Studio. THree important folders, with explainations i could compreherd (best part)

    Would love a follow up taking it another step, say for example, how to get code from online like grubhub, where they all go into the Android Studio or IMPORT options, it took me an hour of rewinding and taking nots but now i think i know how things are organized thanks a bunch

  3. Purple Haze

    Copied everything down to the last space, and when I get to 17:15, my application says:
    error: <anonymous com.mydomain.myappname.MainActivity$1> is not abstract and does not override abstract method onClick(View) in OnClickListener
    error: method does not override or implement a method from a supertype
    Execution failed for tast ':app:compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.

    The first error references "View" in:

    -> import android.view.View;
    -> btnDoSomething.setOnClickListener(new View.OnClickListener() {
    -> public void OnClick(View v) {

    The second error references:

    -> @Override

    Then about "public void OnClick(View v) {" the editor says: Method 'OnClick(android.view.View)' is never used. Parameter 'v'v is never used.

    So, I disagree with the title of this video, because I have no idea what to do now, and I come from zero.

    EDIT: So, the difference was that I actually wrote it all manually instead of tabbing after the setOnClickListener, and yours automatically set the OnClick to '(View v)' and it set mine to '(View view)'…. so I guess they changed it up.

Leave a Reply

Your email address will not be published. Required fields are marked *