如何在 BlueStacks 5 上啟用 Android Debug Bridge

本文說明如何在 BlueStacks 5 上啟用 Android Debug Bridge,並且為了進一步除錯,打開命令提示字元並將其設置為 BlueStacks 5 目錄。

要開始,請查看以下步驟。

1. 啟動 BlueStacks 5,並通過以下任一方式打開設定菜單:

  • 點擊頂部工具列的漢堡圖示,然後選擇 "設定"
  • 側邊工具列的齒輪圖示

Screenshot_36.png

2. 在設定菜單中,點擊 "進階" 標籤,並啟用 "Android Debug Bridge" 旁邊的開關,如下所示。

Screenshot_37.png

3. 點擊 "保存變更"

Screenshot_38.png

4. 要進一步除錯問題,請在開始菜單中搜尋 "命令提示字元",然後點擊 "以管理員身份執行"

Screenshot_2.png

5. 在命令提示字元窗口中,輸入 "cd C:\Program Files\BlueStacks_nxt" 並按 Enter 鍵。

Screenshot_3.png

現在您可以與 ADB shell 互動並在同時運行 BlueStacks App Player 的情況下進行除錯。


感謝您選擇 BlueStacks 5. 

這篇文章是否有幫助?
108 人中有 25 人覺得有幫助
Reach out to us on Reddit (Join Reddit) or Discord (Join Discord) or at support@bluestacks.com with your questions.

We’d love to hear from you! Please take a moment to share your thoughts on the BlueStacks Help Center via this survey.
Subscribe to BlueStacks Weekly!
Get updates on new releases, features, and fixes. Discover trending games & enjoy exclusive gift codes!
By subscribing, I agree to receive weekly updates from the BlueStacks Help Center.
Thank you for subscribing to BlueStacks Weekly
Keep an eye on your inbox for updates on the latest features, gaming trends, bug fixes, gift codes, and much more!