2216

How to solve Unity “No compatible android device found”

Question:

I have a Unity app that I've been developing and about to release, I was trying to resolve one last bug and I uninstalled and reinstalled Unity as a last ditch effort. When I got back in and loaded my app, Unity can no longer find my device.

If I go to "Player settings" my phone is listed under "Run Device". If I go into ADB and do "adb devices -l" it shows the Pixel 3. Then in my phone I have it set to USB Debugging and I do a build and get the typical "No compatible Android device found" error. I'm completely at a loss.

Any other ideas?

<em>(Windows 10, Unity3D 2018.2.15f1, Most current build of Android Studio with Android 8.0, 8.1 and 9.0 sdks, Devices are Pixel XL and Pixel 3 XL).</em>

Answer1:

<ol><li>

Install the driver for Android device on your computer.

</li> <li>

Enable DEBUGGING in your Android device.

</li> </ol>

For Unity to be able to detect your Android device, it must be recognizable by the ADB program.

Answer2:

May be due to missing of ADB. install the ADB

Answer3:

So in the end, what worked for me, I went in and uninstalled Java entirely from my computer and then I reinstalled the latest version.

This worked. I know it's less than ideal but It was the only thing.

I appreciate the help but my ADB was working just fine, I could find my device and Unity could see my device until I tried to build and then it would be lost. Also, yes, debugging was on in my android.

Recommend

  • Android Maps API2 release key working locally but not through Play Store
  • Logging broadcast Intents and manually trigger them (Android)
  • Capture android screen [duplicate]
  • How to debug playbook simulator?
  • Using grep to read a log for pattern1 in the file and print only lines containing pattern1. Stop sea
  • Android wearable emulator can't connect with usb connected phone
  • How to save a large fractal image with the least possible memory footprint?
  • OpenCV OpenNI calibrate kinect
  • Delete file in internal memory from Android device?
  • adb device not listed for Gionee E7 mini
  • Changing Jupyter Notebook start up folder by modifying “start in” not working any more
  • Using Generics on right hand side in Java 6?
  • How to use function wrapper in mustache.php?
  • Eclipse MTJ doesn't see Java ME SDK 3.0 devices
  • blade.php method outputting it's result to the form
  • UWP/C# - Issue with AQS and USB Devices
  • MySQL Order by column = x, column asc?
  • Converting a WriteableBitmap image ToArray in UWP
  • How to define and use opencv mat of user type
  • Atlas images wrong size on iPad iOS 9
  • Disable Enter in editText android
  • Cannot resolve symbol 'MyApi'
  • If I include Java 8 in my Android app does that affect which devices it will work on?
  • Projection media query: browser support and workarounds?
  • Sony Xperia Z Tablet not found by adb
  • Controls, properties, events and timers running in design time
  • Perl system calls when running as another user using sudo
  • Can I make an Android app that runs a web view in Chrome 39?
  • Updated Ionic CLI but shows previous version (Windows)
  • Release, debug version and Authorization Google?
  • WOWZA + RTMP + HTML5 Playback?
  • SVN: Merging two branches together
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • How to set the response of a form post action to a iframe source?
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Setting background image for body element in xhtml (for different monitors and resolutions)
  • Change div Background jquery
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • Qt: Run a script BEFORE make
  • reshape alternating columns in less time and using less memory