0

I have been trying to install the google USB driver so I can use Unity Remote 5 on my phone. I needed to force install the driver because Windows was being weird, but, when I did, I got this error: "The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows x64-based systems."

I am using Windows 10 and I have an LG k30.

I used this guide to force install the driver: https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware/how-to-force-install-a-driver-on-windows-10/b72ef97f-7aee-4fb5-9acb-6e86122a8306

1 Answer 1

0

Android SDK ( Software Development Kit ) According to the vague documentation on the link you provided, it requires the Android SDK because this will install a system-wide ADB.exe program that can be accessed via the command adb ...

Using ADB ( Android Debug Bridge ) you can run your software on any supported Android device that has USB Debugging enabled.

You must install a system-wide ADB, many custom built installers have been made for this, so many that Android ( Google ) - ( NASA ) Has released an ADB installer of their own, so I'm sure that using the official installer would be the recommended way of installing ADB.

After installing ADB on your development machine, you can now connect to Android device's using USB Debugging ( Testing and debugging your apps in Android Studio or another IDE like Unity via USB - { Universal Serial Bus } )

To accept ADB connections on your test device, you'll need to enable USB Debugging in Development Options.

To do that,

  1. Open Settings
  2. Open About ( or More -> About )
  3. Find Build Number ( Sometimes in a sub directory )
  4. Tap ( Build Number ) 7 times - You should see it confirm the process to enable Development Options.
  5. Navigate Back to Settings
  6. Navigate to Development Options
  7. Find & Enable USB Debugging

P.S, if you don't have a correct installation you'll get ( Device Not Found - or Similar )

After enabling USB Debugging open a command window on your development computer and test the ADB install by running adb devices

Windows
Hold Shift and right click on a blank space in any folder or on the desktop, it should say "Open a command window here", click on that.

( Search CMD and open it, Right click start, etc.... )

Mac - Not sure, I use PC.

After you have run adb devices you should see either a found device, or a message to indicate otherwise.

If your device returns ( offline ) you'll need a different ADB installation that has the configuration files alongside it, it'll ask for authentication and you'll have to accept it on the device screen, after you have an Authorised connection to the device via ADB you can test the remote software in Unity.


SO THAT'S A.D.B INSTALLED
If you don't find your device after you are sure you have a successful installation ( the ADB files might be accessed from a specific location or subdirectory of the Android SDK installation, and might not be system wide.. You need to place the ADB files inside the correct installation directory of the Android SDK, as-if it was installed by the Android SDK installer.

If not, install the entire Android SDK ( 1-2GB )

After you've completed the Android SDK installation you need to be sure that you have installed the ADB driver for your device, to handle USB Debugging via a USB Cable or ( Network ADB is another option ) .

Usually you can select the option to install your driver on Windows by setting the connection method on the Android

1

2

It should load as a CD-ROM and have the software you need to install ADB Driver's on your machine.

android win-usb

installADB

...

After installing the ADB driver once, it seems to work on nearly all Android device's when they're connecting via USB Debugging ( so I'll call it a universal driver for all Android device's )

Once you've successfully installed ADB Drivers and ADB . .

  1. Enable USB Debugging in Development Options
  2. Connect your device via MTP or USB Storage, charge only will not use ADB, neither will PTP... Test a few.
  3. Authorise the computer to connect
  4. Open Unity
  5. Test the Remote Software
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .