Skip to main content

Giving Tuesday is December 1. Help keep MIT App Inventor free for 30 million learners in 200 countries.

Give now

Test Your App on Your Phone or Tablet

No phone or tablet? You don’t need one. You can test your apps right in your web browser: In App Inventor, choose Connect › Test in Web. Here’s how.

With the free MIT App Inventor Companion app, the app you’re building runs on your own iPhone, iPad, or Android phone or tablet, and it changes as you work. Your computer and your device connect over Wi-Fi.

A laptop and a phone with a Wi-Fi symbol between them: Build your project on your computer, and test it live on your device.
  1. Install the Companion app

    On your phone or tablet, open the App Store or Google Play and install the free Companion app, or use these buttons. You only need to install it once.

    Download on the App Store Get it on Google Play

    Searching the store? The app is listed as MIT App Inventor on the App Store and MIT AI2 Companion on Google Play.

    On Android and can’t use Google Play? Scan this QR code to download the app’s installer file (an .APK). You’ll need to sideload it and update it yourself. iPhones and iPads can get the Companion only from the App Store.

  2. Choose Connect › App Inventor Companion

    Open App Inventor and open a project, or start a new one. In the menu bar at the top, click Connect, then choose App Inventor Companion.

    App Inventor's Connect menu, open, with App Inventor Companion highlighted at the top. Below it are Test in Web (marked Beta), USB and Emulator, followed by companion and emulator tools.

    A window opens with a QR code and a six-character code.

  3. Scan the code with the Companion

    On your device, open the Companion app and tap scan QR code. Point it at the QR code on your computer screen.

    Left: App Inventor’s Connect to Companion window, with a QR code marked Example and "Your code is: hmfafm". Right: The Companion app on an iPhone, with its scan QR code button circled in orange.
    No camera, or the scan won’t work? Type the six characters into the Companion as shown here.
    The same window and Companion screen, with an orange arrow from the code hmfafm to the Six Character Code box in the Companion.
    Type the six characters into the Companion exactly as shown, then tap connect with code.
  4. Watch your app change as you build

    In a few seconds, your app appears on your device. Each change you make to the design or the blocks shows up there right away. This is called live testing.

If your app doesn’t appear

  • Update the Companion. An older version may not connect. Install the latest one from the store.
  • Check that your device is on Wi-Fi.
  • Try the same Wi-Fi network. The Companion usually works across different Wi-Fi networks, and even from a cellular connection to Wi-Fi. But some school, office and hotel networks block the kind of connection it uses, so if yours won’t connect, put your computer and your device on the same Wi-Fi.
  • Still not connecting? Some networks block the connection altogether. Try Test in Web instead, or connect an Android device with a USB cable.

What’s next