Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & Accessibility Testing
No Result Found

Gradle Plugin

Learn how to upload Android apps to App Live using BrowserStack’s Gradle Plugin.

You can easily integrate with App Live to build and upload app using BrowserStack Gradle Plugin. Uploaded apps are automatically shared with all team members, allowing you to test collaboratively.

Setting up

In order to configure the plugin, add below snippet in your app’s build.gradle file.

plugins {
  id: com.browserstack.gradle
}

uploadBuildToBrowserstackAppLive {
  username = "YOUR_USERNAME"
  accessKey = "YOUR_ACCESS_KEY"
}

Upload task

Execute below task to build and upload your app .

gradle uploadBuildToBrowserstackAppLive

This will execute the following:

  1. Build your apk as declared on assembleDebug.
  2. Find the latest app apk in the app directory recursively.
  3. Upload apk on BrowserStack server.

You have now uploaded the app to BrowserStack App Live using Gradle plugin.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle