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:
- Build your apk as declared on assembleDebug.
- Find the latest app apk in the app directory recursively.
- 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
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!