Test Methods Run the Application in Android Studio

Android Studio is undoubtedly the most widely used IDE for developing, testing and running Android applications. Android Studo has experienced a lot of changes compared to the initial versions of its release.

With the development of the Android version that has now reached the PIE version, so many improvements and changes to the functions and features that exist in Android studios to be able to adjust to technological advancements.

For those of us who are still laymen or beginners in the world of Android Studio, surely it will often do what is called a trial on the application that we make. Testing or testing if in its scripting language  is  “a process of implementing a program with the aim of finding an error (Mustaqbal, 2015).”.

Well, if you want to do what is called a trial, you have to run the application. For those of you who don’t know and are still learning, there are actually 3 ways that we can do to run our Android application on Android Studio.

Here are 3 ways to test Run the application in Android Studio:

1. Using Connected Devices

The first method is the easiest, safest and fastest way to run an Android application and is a way that I recommend for those of you who have mediocre laptop specs. 

The way to connect these devices is to connect our Android smartphone to a laptop or computer using a USB cable. Then we run the command on the computer and our application will automatically run on our Android phone.

The advantages of using this method are the applications that run will be very fast because it is supported by our Android hardware which is certainly indeed used to run android applications, besides that you will still be able to see the activities that occur in the running application. The disadvantage of using this method is that you must be prepared with a USB cable and your android smartphone if you want to use this method.

Following are the steps more clearly:

  • Prepare the Android Studio software, USB cable and your Android cellphone.

In Android studio, make sure you install the SDK that matches your current Android operating system.

  • On the Android phone, open Settings -> More settings -> About Phone.
  • In the Software Version section, click repeatedly, and you will now be the developer.
  • Press again, then look for the Developer Options menu that appears at the bottom of the menu in More Settings.
  • Turn on the Developer Options option.
  • Turn on the USB debugging option.

One Comment on “Test Methods Run the Application in Android Studio”

Leave a Reply

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