How to run a Clash Royale bot on PC with MuMu Player
Updated · By the Clash AI team
This guide takes you from a plain Windows PC to Clash AI playing Clash Royale for you. It covers installing MuMu Player 12, the exact device settings the bot needs, turning on Root, installing the game the right way, and the first launch of the app. Most of the time goes to downloads.
What you need
- A Windows PC.
- MuMu Player 12, a free Android emulator for Windows.
- Your Clash Royale account, the one you want the bot to play.
- A Clash AI key. Keys run for 1 week ($30), 1 month ($70) or a lifetime ($120). Buy one from the pricing section; it appears on screen as soon as your payment lands.
Step 1: Install MuMu Player 12 and create one device
Download MuMu Player 12 from the official MuMu Player site and install it like any Windows program. Open it and make sure you have exactly one Android device. Clash AI is set up for a single device, so if you already use MuMu for other games, keep this device for Clash Royale only.
Step 2: Set the display to 900 × 2000, DPI 300
This is the step that matters most. Clash AI expects the device at one exact size, and a device that doesn’t match is the cause of errors 224 and 228.
- Create the device first, then open its settings.
- Go to Device Settings → Display → Resolution Settings → Custom.
- Enter a width of 900, a height of 2000 and a DPI of 300.
- Save. If MuMu asks to restart the device for the change to apply, let it.
| Setting | Value |
|---|---|
| Width | 900 |
| Height | 2000 |
| DPI | 300 |
Width before height matters: 900 wide by 2000 tall is a tall phone screen, which is how Clash Royale is played.
Step 3: Turn Root on
Go to Settings → Developer Option → Enable Root. Root gives apps on the virtual device the extra access the bot needs. It only applies to the MuMu device, not to your PC or your phone.
Step 4: Install Clash Royale from Google Play
Inside MuMu, open the Google Play Store, sign in with a Google account, and install Clash Royale. Use Google Play, not the MuMu Appstore. A copy from the MuMu Appstore is the most common reason the game won’t launch on MuMu.
Open the game once and log in to the account you want the bot to play. If your account is linked to Supercell ID, log in with that.
Step 5: Give the device enough power
If the device feels slow, give it more memory and CPU cores under Device Settings → Performance → Performance Settings. A device that struggles makes battles lag, and the bot plays on what the device shows. MuMu’s own Clash Royale guide explains its performance options in more detail.
Step 6: Download and launch Clash AI
- Download
Clash AI (Windows).zipfrom the download section of the setup guide. - Unzip it. Don’t run the app from inside the zip.
- Run
Clash AI.exe. - If Windows says it protected your PC, click More info, then Run anyway. Windows SmartScreen shows this for apps it hasn’t seen often, not because it found a problem.
Step 7: Activate and link your account
- Press Install Python, then Install the libraries, then Continue. The app installs what it needs itself; you don’t have to set up Python by hand.
- Enter your key and press Activate.
- Press Start consoles. When the app asks, play one Training Camp battle yourself. This links your Clash Royale account to the app.
- Choose Play on your device. From here, Clash AI plays your battles.
Duel doesn’t work right now
It’s a known issue. Play other modes for now.
Quick checklist
If something isn’t working, run down this list before anything else:
- MuMu Player 12, with one device only
- Resolution 900 × 2000 (width × height)
- DPI 300
- Root on
- Clash Royale installed from Google Play, logged in
- Clash AI unzipped and run from the folder, key activated
If something goes wrong
Errors 224 and 228 almost always mean the device doesn’t match the settings in steps 2 and 3. If the game won’t install, crashes or runs slowly, see Clash Royale not working on MuMu Player. For any other error number, copy the report from the troubleshooting section, fill it in and send it to support.
Before you let it play
Supercell’s rules count bots as cheating, and accounts can be penalised. Read what the rules say and how penalties work so you know the risk before you start. On a Mac instead? Follow the Mac guide.
Related guides
Clash Royale not working on MuMu Player: fixes that work
Crashes, failed installs, slow devices and errors 224 and 228, with the fix for each.
Read the guideClash Royale bot for Mac: setup on Apple Silicon
Setting up Clash AI on an Apple Silicon Mac with MuMu Player Pro, including the first-launch Gatekeeper prompt.
Read the guideClash Royale bots explained: how a bot plays for you
What a bot that plays Clash Royale for you actually does, what it needs, and what to check before you use one.
Read the guide