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

如何将NOX模拟器与Android Studio连接?已尝试多种方法未果

Connecting Nox Player to Android Studio: Step-by-Step Guide

Hey there! I’ve helped dozens of developers get Nox Player working seamlessly with Android Studio, so let’s break this down into simple, actionable steps—no confusing hoops to jump through.

Step 1: Enable USB Debugging in Nox Player

First, make sure Nox has debugging turned on:

  • Open Nox Player, click the gear icon (Settings) in the top-right corner.
  • If you don’t see Developer Options, go to About Tablet and tap the Version Number 7 times to unlock it.
  • Go back to Settings, open Developer Options, and toggle on USB Debugging.
  • Also, head to Advanced Settings (in Nox’s main settings) and ensure Allow computer to connect via ADB is enabled.

Step 2: Locate Nox’s ADB Executable

Nox comes with its own ADB tool—you’ll need to use this to establish the connection. Here’s where to find it:

  • Windows: Default path is C:\Program Files (x86)\Nox\bin
  • Mac: /Applications/Nox App Player.app/Contents/MacOS
  • Linux: Typically in ~/Nox/bin (depending on your installation)
  • Verify the folder contains adb.exe (Windows) or adb (Mac/Linux) before moving on.

Step 3: Connect Nox to Android Studio via ADB Command

Now let’s link the two tools using the command line:

  1. Open Command Prompt (Windows) or Terminal (Mac/Linux).
  2. Navigate to Nox’s ADB folder using the cd command. For example, on Windows:
    cd "C:\Program Files (x86)\Nox\bin"
    
  3. Run the connection command:
    adb connect 127.0.0.1:62001
    
    Note: 62001 is Nox’s default ADB port. If this fails, check Nox’s Advanced Settings for a custom port (some versions use 62025 for the second emulator instance).
  4. You should see a message saying connected to 127.0.0.1:62001 if successful.

Step 4: Verify the Connection in Android Studio

  • Open Android Studio and go to Tools > Device Manager (or click the device dropdown in the top toolbar).
  • You should now see your Nox Player emulator listed as an available device.
  • If it doesn’t show up immediately, restart Android Studio or Nox Player, then re-run the adb connect command.

Troubleshooting Common Issues

  • ADB Version Mismatch: Run adb version in both Nox’s ADB folder and Android Studio’s SDK platform-tools folder. If versions differ, copy Nox’s adb files to replace the ones in Android Studio’s platform-tools (back up the original files first!).
  • Port Conflict: If 62001 is already in use, change Nox’s ADB port in Settings > Advanced Settings > Customize ADB port, then use the new port in the adb connect command.
  • Connection Refused: Ensure Nox Player is running, USB Debugging is enabled, and no other emulators are using the same port.

Give these steps a try—most developers get it working on the first go. If you hit any specific errors, feel free to share the exact message and I’ll help you work through it!

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.21 07:25:04