Skip to content

Instantly share code, notes, and snippets.

@williamhaley
Created February 25, 2021 14:58
Show Gist options
  • Save williamhaley/e5ea888799a9ede0ac684df0ec8e312a to your computer and use it in GitHub Desktop.
Save williamhaley/e5ea888799a9ede0ac684df0ec8e312a to your computer and use it in GitHub Desktop.
MIT App Inventor with Modern Android Emulators

MIT App Inventor is a great way to explore mobile application development for Android without needing to know how to code in Java or Kotlin. This is often referred to as "no-code" or "WYSIWYG" (what you see is what you get) programming.

The App Inventor uses Scratch blocks and a visual designer (not so dissimilar from Xcode's UI) to program the app.

However, the emulators provided by MIT aren't necessarily modern or full featured. There is a way around this though.

Export An APK

After building your app in MIT App Inventory, click Build -> App ( save .apk to my computer ) to download an .apk build of the app.

Install Android Studio

This install will take some time and will consume multiple gigabytes of space on your computer

Download Android Studio

Run/install Android Studio. You should be able to use all the default options. Just keep clicking next, confirm, yes, agree, etc., to continue the process.

Wait until the installation completes.

Run an Android Studio Emulator

Open Android Studio. At the "splash screen" introduction menu/prompt click Configure -> AVD Manager.

There should already be a default Android emulator listed here. At time of writing, it is a Pixel 3a.

However, there is also a button to + Create Virtual Device as needed.

Once the desired emulator is in place, click the play button (a triangle pointing to the right) to start the emulator.

You should see a window running on your computer that looks just like a real life physical phone.

Install the App and run it

Don't overthink this. Find the .apk file on your computer (Desktop, Downloads, wherever) and literally drag that file into the emulator's window.

Literally drag the app file to your emulated phone.

A message should flash for a brief moment saying, Installing APK...

Run the app from the emulator like you would on any real world Android device.

That's it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment