Quantcast
Jump to content


Using Remote Test Lab with Android Studio


Recommended Posts

2021-06-01-01-Banner.jpg

This blog is the fourth in a series of posts about Remote Test Lab (RTL). In previous blogs, we covered what is Remote Test Lab, its new features, and Auto Repeat. In this blog, we show you how to connect RTL to Android Studio and how to deploy and debug your app on the remote device. In an upcoming blog, we are going to take a deep dive into some additional features of Remote Test Lab.

Remote Test Lab allows you to run and debug your application on real devices remotely. In this blog, we will connect a Remote Test Lab device with a local development machine’s ADB (Android Debug Bridge) using Remote Debug Bridge.

The Remote Debug Bridge tool enables you to run and debug your app to check compatibility with the latest Samsung mobile devices, which solves the problem of not having your own physical devices.

Connect your Remote Test Lab device to Android Studio

To get started, launch a Remote Test Lab client, then go to Remote Test Lab and reserve one of the available mobile devices.

The operating system version, device location, and desired time can be selected on the Remote Test Lab page. A JNLP file is downloaded to your computer when you click the Start button. If you run this file, the Remote Test Lab client is launched and a live image of the device is shown in the client.

Step 1. When the live image is shown, right-click on the device's screen and select ‘Test > Remote Debug Bridge.’

Text

Step 2. In the pop-up window, view the required command and port number to connect your Android Studio to the Remote Test Lab device.

Text

Step 3. Open a Command Prompt window and run the ADB command with the given port number. In this example, the command is:

adb connect localhost:50964

Text

Note: You must accept the RSA key prompt by allowing USB debugging when you run the ADB connect command for the first time on a Remote Test Lab device.

Deploy and debug apps from Android Studio

Step 1. The device is now ready to deploy your app from Android Studio. Build and run your app from Android Studio. In the following screenshot, an app is being deployed on a Remote Test Lab device from Android Studio.

Text

Step 2. The app is deployed and launched successfully on the Remote Test Lab device

Text

Step 3. Debug your app from Android Studio just like on a real device.

Text

In conclusion, Remote Test Lab offers a convenient and effective way to check the compatibility of your app and use debug facilities. Finally, our developer forum is an excellent way to stay up-to-date on all things related to the Samsung Galaxy ecosystem.

Remote Test Lab article series

 

Go to Remote Test Lab

View the full blog at its source

Link to comment
Share on other sites



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Similar Topics

    • By Samsung Newsroom
      View the full blog at its source
    • By Alex
      cnet is covering Samsung's CES press conference, the South Korean electronics giant will show off its latest crop of TVs and home appliances during its presentation at the Consumer Electronics Show in Las Vegas.
       
      Samsung's presentation starts at 2 p.m. PT on Monday, and we'll be bringing you all the news and commentary from inside the Mandalay Bay hotel on the Las Vegas Strip. I'll be live blogging along with David Katzmaier, and James Martin will provide photography from the event.
       
      Samsung's 2015 CES press conference: Join us Monday (live blog)





×
×
  • Create New...