You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

MacBook端如何将Nox与Android Studio连接?已尝试Windows方法无效

Connect Nox Player to Android Studio on MacBook

Got it, let's sort out connecting Nox Player to Android Studio on your MacBook—since the Windows method doesn't translate directly here, we'll walk through macOS-specific steps to get this working:

Step 1: Locate Nox's nox_adb executable

On macOS, Nox stores its adb tool inside the app bundle. Here's how to find it:

  • Right-click the Nox Player icon in your Applications folder
  • Select Show Package Contents
  • Navigate to Contents > MacOS—you’ll find nox_adb here. Its full path is typically /Applications/NoxPlayer.app/Contents/MacOS/nox_adb

Step 2: Fix adb version compatibility (critical!)

Mismatched adb versions between Android Studio and Nox will break the connection. Let’s check and align them:

  • For Android Studio’s adb, open Terminal and run:
    ~/Library/Android/sdk/platform-tools/adb version
    
  • For Nox’s adb, run:
    /Applications/NoxPlayer.app/Contents/MacOS/nox_adb version
    

If versions don’t match, replace the older adb with the newer one:

  • Copy Android Studio’s adb (~/Library/Android/sdk/platform-tools/adb)
  • Paste it into Nox’s MacOS folder, replacing the existing nox_adb. You may need sudo for permissions:
    sudo cp ~/Library/Android/sdk/platform-tools/adb /Applications/NoxPlayer.app/Contents/MacOS/nox_adb
    

Step 3: Enable USB Debugging in Nox Player

  • Open Nox Player, go to Settings > About Tablet
  • Tap the Build Number 7 times to unlock Developer Options
  • Return to Settings, select Developer Options
  • Toggle on USB Debugging

Step 4: Connect Nox to Android Studio via adb

  • Make sure Nox Player is running
  • Open Terminal and run the connect command using Nox’s adb:
    /Applications/NoxPlayer.app/Contents/MacOS/nox_adb connect 127.0.0.1:62001
    
  • Verify the connection worked by listing devices:
    /Applications/NoxPlayer.app/Contents/MacOS/nox_adb devices
    
    You should see an entry like 127.0.0.1:62001 device if it’s successful.

Step 5: Deploy your app from Android Studio

  • Open your project in Android Studio
  • Click the green Run button
  • In the device selector dropdown, you’ll now see the connected Nox Player device—select it, and your app will deploy directly to Nox!

Troubleshooting tips

  • If 127.0.0.1:62001 fails, check Nox’s active port: go to Nox Player > Settings > Performance > Debugging to find the correct port (sometimes it’s 62025 or another number)
  • Restart Nox Player and Android Studio if the connection doesn’t show up immediately
  • If you hit permission errors when replacing adb, re-run the copy command with sudo

内容的提问来源于stack exchange,提问作者Lucy Mangkudimejo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.21 07:59:18