Install Salesforce Mobile App Emulator for Android

Now that you installed the mobile app simulator for iOS, let's install the mobile app simulator for Android. 

Configure Your Android Mobile Emulator

Android Studio is the IDE for Android mobile applications and contains an Android emulator that can be used to test all of your Lightning web components. After it’s configured, it can be run straight from Visual Studio Code, which we go over later.

  1. Download and install the latest version of Android Studio. If you already have Android Studio installed, there’s no need to reinstall it.
  2. Launch Android Studio.
  3. On the Welcome to Android Studio page, click Configure (or More Actions) | AVD Manager.
    Welcome to Android Studio screen with Configure button highlighted.
  4. Click + Create Virtual Device.
  5. In the new window, select your preferred device and click Next.
  6. Select a Release and click Next. You may need to download a release first before you are able to proceed.
  7. Configure any other preferred settings and click Finish.
  8. In the AVD Manager window, click Emulator play button. in the Actions column of the device to launch the Android Emulator.
  9. Close Android Studio, but keep the Android Emulator window open to install the Salesforce app in the next section.

Install the Salesforce Mobile App Emulator for Android

Your newly configured Android emulator doesn’t automatically include the Salesforce Mobile app, so you must install it to test your Lightning web components. And if you’re testing against multiple Android devices, you must install the app for each device emulator.

  1. Download the Android emulator build of the Salesforce Mobile app from Salesforce Mobile Tools.
  2. If you encounter a redirect page, click Continue.
  3. Drag the downloaded .apk file into the Android Emulator window.
  4. Click a blank space on the Android screen and drag up to view the installed apps.
  5. Click the Salesforce app.
  6. Click I Agree to agree to the end-user license agreement.
  7. Enter your Salesforce username and password for your development org, and click Log In.
  8. Enter the verification code that was texted to you and click Verify.
  9. Click Allow to allow the app to access your Salesforce information. You’ll be greeted with a Welcome to the Salesforce Mobile App popup.
    Android Salesforce app welcome screen.
  10. Click Get Started to start using the app.

That’s it! Now you can use the Salesforce mobile app for Android on your computer. You can also open the emulator window directly from Visual Studio Code.

We won’t check any of your setup. Click Verify Step to go to the next step in the project.


Keep learning for
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities