sodcalculator

10 Tech How-To

Mac Touch Bar Android: How to Get It

Guide 10-58946 · Updated · Step by step

Want to use Android apps or a full Android interface on your Mac’s Touch Bar? This guide shows you how to set up an Android-like control strip on the Touch Bar using free tools, giving you quick access to shortcuts, widgets, and even a mini Android home screen.

What You’ll Need

  • A Mac with a Touch Bar (MacBook Pro 2016–2021, or any Mac with an external Touch Bar accessory).
  • macOS Catalina (10.15) or later for the best compatibility.
  • An Android emulator or a remote display app (like scrcpy) if you want to mirror an actual Android device.
  • Optional: A USB-C to USB-C cable for connecting an Android phone.

Step-by-Step

  1. Choose your approach. There are two main ways to get Android on the Touch Bar: (a) create an Android-themed control strip using BetterTouchTool, or (b) mirror your actual Android phone’s screen onto the Touch Bar using scrcpy. This guide covers both.
  2. Install BetterTouchTool (for the Android theme). Download BetterTouchTool from the official website and drag it to your Applications folder. Launch it and grant the necessary accessibility permissions when prompted.
  3. Enable the Touch Bar. In BetterTouchTool’s preferences, go to the “Touch Bar” tab and make sure “Show Touch Bar” is checked. You’ll see a default set of buttons appear on your Mac’s Touch Bar.
  4. Create an Android-style layout. In the Touch Bar tab, click “Add New Button” and choose a preset or create custom buttons. For an Android look, use icons that resemble Android’s navigation buttons (back, home, recent apps) and add shortcuts to your favorite apps. You can also add a “widget” area by inserting a web view that displays an Android clock or weather widget.
  5. Add Android navigation buttons. Click “Add New Button” → “Other” → “Run AppleScript” and paste a script that triggers the corresponding action. For example, to simulate the home button, use tell application "System Events" to key code 36 (Enter). For back, use key code 53 (Escape). For recent apps, use key code 49 (Space) with a modifier. Test each button to ensure it works.
  6. Set up scrcpy (for real Android mirroring). If you want to see your actual Android phone on the Touch Bar, install scrcpy via Homebrew: open Terminal and run brew install scrcpy. Also install the Android platform tools: brew install --cask android-platform-tools.
  7. Enable USB debugging on your phone. On your Android phone, go to Settings → About Phone and tap “Build Number” seven times to unlock Developer Options. Then go to Settings → Developer Options and enable “USB Debugging”.
  8. Connect your phone. Plug your Android phone into your Mac via USB. When prompted on the phone, allow USB debugging. In Terminal, run scrcpy --display 1 (or just scrcpy for the main display). This will open a window on your Mac showing your phone’s screen.
  9. Put the scrcpy window on the Touch Bar. BetterTouchTool can display any app window on the Touch Bar. In BetterTouchTool, go to the Touch Bar tab, click “Add New Button” → “Other” → “Show App Window” and select the scrcpy window. Now your phone’s screen will appear on the Touch Bar, and you can tap it to interact.
  10. Adjust the size. The Touch Bar is small, so you may want to scale the scrcpy window. Use the --max-size option, e.g., scrcpy --max-size 800 to keep it clear but not too small.

Common Mistakes

  • Not granting accessibility permissions. BetterTouchTool won’t work properly if you skip the permission prompt. Go to System Settings → Privacy & Security → Accessibility and ensure BetterTouchTool is enabled.
  • Using the wrong key codes. The key codes for navigation buttons may vary. Test them in a text editor first to confirm they produce the expected action.
  • Forgetting to enable USB debugging. Without it, scrcpy won’t detect your phone. Double-check that Developer Options is on and USB debugging is enabled.
  • Not installing Homebrew. If you don’t have Homebrew, the scrcpy install commands will fail. Install Homebrew first by running /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" in Terminal.

Tips

  • For a more authentic Android feel, use a custom icon set in BetterTouchTool. You can download Android-style icons and assign them to your buttons.
  • Use the “Web View” button in BetterTouchTool to embed an Android clock widget or a Google search bar directly on the Touch Bar.
  • If you’re mirroring your phone, keep the phone screen awake to avoid it locking. Set the screen timeout to 30 minutes or use a wake-lock app.
  • Create multiple Touch Bar layouts in BetterTouchTool and switch between them with a keyboard shortcut or by app. For example, one layout for work, one for Android control.

Troubleshooting

  • BetterTouchTool doesn’t show the Touch Bar. Restart BetterTouchTool and check that the Touch Bar is enabled in System Settings → Keyboard → Touch Bar shows. Also, ensure you’ve granted accessibility permissions.
  • scrcpy says “No devices found”. Make sure your phone is unlocked and the USB cable supports data transfer. Try a different cable or port. Also check that USB debugging is enabled.
  • The Touch Bar buttons don’t respond. Re-assign the key codes or use the “Send Keyboard Shortcut” action instead of raw key codes. Test with a simple shortcut like Cmd+C to see if it works.
  • The scrcpy window is too small to read. Increase the max-size value (e.g., --max-size 1000) or use the --fullscreen option on the Touch Bar if supported.
  • Touch Bar freezes after using scrcpy. Quit scrcpy and restart BetterTouchTool. If it persists, update both apps to the latest versions.

Frequently Asked Questions

Can I use Android apps directly on the Touch Bar? Yes, with scrcpy you can interact with any Android app on your phone, but the small screen makes it practical only for simple tasks like notifications or media controls.

Does this work on MacBooks without a Touch Bar? No, you need a physical Touch Bar. If you have an older Mac, you can buy an external Touch Bar accessory that connects via USB.

Is BetterTouchTool free? It has a free trial, but a license is required for continued use. There are free alternatives like MTMR (My TouchBar My Rules) that also support custom layouts.

Will this drain my phone battery quickly? Mirroring over USB actually charges your phone, but the constant video encoding may cause slight extra drain. It’s best to keep the phone plugged in while using scrcpy.

Can I use this to control my phone remotely? Yes, scrcpy allows full input control, so you can tap, swipe, and type from your Mac’s Touch Bar.

What if I want a full Android emulator on the Touch Bar? You can run an Android emulator like BlueStacks or Android Studio’s emulator on your Mac and then use BetterTouchTool to display its window on the Touch Bar, but performance will be poor due to the small size.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →