Can't install Google USB driver


Question

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


Answer

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


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes