- OUYA Game Development by Example
- Jack Donovan
- 409字
- 2021-08-13 17:52:16
Time for action – configuring the USB driver on Windows
The file we need to edit on Windows operating systems is found at C:\Development\adt-bundle-windows-x86_64\sdk\extras\google\usb_driver\android_winusb.inf
. Perform the following steps to edit the driver file:
- Double-click on the file to open it in Notepad and find the section that begins with
[Google.NTx86]
. You'll see a list of devices already below this header; after the last device, add the highlighted text shown in the following screenshot: - Add the same block of text in the same place under the similar section
[Google.NTamd64]
, then save the document, and close Notepad. - Next, open the Windows Command Prompt and run the following commands:
adb kill-server echo 0x2836 >> "%USERPROFILE%\.android\adb_usb.ini" adb start-server
- Close the command prompt and right-click on Computer in your Start menu. Select Properties, and in the window that opens select Device Manager. Locate the OUYA Console on the list—most likely under Portable Devices—right-click on it and select Update Driver Software…, as shown in the following screenshot:
- Choose Browse my computer for the driver software and then select Let me pick from a list of device drivers on my computer. Click on Show All Devices if available and then on Have Disk on the resulting screen. Navigate to the directory that contains your edited driver file, accept the driver, and exit. Your computer is now ready to recognize your console.
Tip
Your computer may warn you that the device driver isn't signed. In this case, you can go ahead and ignore it because the driver is safe. The fact that the driver is unsigned is the reason we had to manually point to its location, but other than that it won't have any impact on what you need to do.
What just happened?
You downloaded the USB driver for general Android devices, but the driver needed a little more tweaking before it was ready to communicate with the OUYA. To fix this, you added an OUYA entry to the driver, making it recognizable by your computer.
Having the correct drivers is important because you'll be sending code from your Unity development environment directly to the OUYA console to build and debug via USB, and without that additional entry in the driver file it would result in an error.
- 筆記本電腦使用、維護(hù)與故障排除實(shí)戰(zhàn)
- ATmega16單片機(jī)項(xiàng)目驅(qū)動教程
- 新型電腦主板關(guān)鍵電路維修圖冊
- Android NDK Game Development Cookbook
- 數(shù)字道路技術(shù)架構(gòu)與建設(shè)指南
- Artificial Intelligence Business:How you can profit from AI
- Large Scale Machine Learning with Python
- CC2530單片機(jī)技術(shù)與應(yīng)用
- 龍芯自主可信計(jì)算及應(yīng)用
- Blender Game Engine:Beginner's Guide
- 單片機(jī)原理與技能訓(xùn)練
- Instant Website Touch Integration
- 計(jì)算機(jī)組裝與維護(hù)(慕課版)
- Advanced Machine Learning with R
- 現(xiàn)代多媒體技術(shù)及應(yīng)用