title: Cannot install unity game on android phone
body: <p>I have just finished programming a very simple <strong>2d platformer with Unity</strong>, and wanted to test out my game by <strong>installing the app on my Android device</strong>, but it looks like it isn't working.</p>
  
  <p>I have already <strong>activated the developer options</strong> in the settings of my phone. I have <strong>installed the Android reccommended SDK, NDK and JDK</strong> with Unity today (1.9 GB), even though i already had (maybe somehow different versions) all of them for Android Studio, because when browsing the right folders in <strong><em>Preferences - External tools</em></strong> this message was coming out:</p>
  
  <blockquote>
    <p>You are not using the reccommended Android SDK Tools, other versions are not officially supported.</p>
  </blockquote>
  
  <p>Now that i have installed everything directly from the Unity Hub, only this message appears under the JDK line:</p>
  
  <blockquote>
    <p>JDK installed with Unity is based on OpenJDK 1.8.0_152.
    Licence information is in the install folder (AndroidPlayer/Tools/OpenJDK).</p>
  </blockquote>
  
  <p>Now, when I have my phone (huawei) connected with a USB cable to my computer, and go to <strong><em>File - Build Settings</em></strong>, and have selected <em><strong>Android</strong></em>, when i press <strong><em>Build And Run</em></strong>, I choose where to make the <strong>.apk</strong> file, then press <strong><em>"Save"</em></strong>, after a few seconds a message like this comes out:</p>
  
  <pre><code>"Make sure your device is plugged in.
  If you are sure that the device is attached then it
  might be USB driver issue, for details please check
  'Android enviroment setup' section in Unity manual."
  </code></pre>
  
  <p>And after this i can only press <strong>"ok"</strong> (or it loops and shows the message above every time), and it does <strong>neither build the exported game or run it on my android phone</strong>.</p>
  
  <p>I have checked the 'Android enviroment setup <a href="https://docs.unity3d.com/Manual/android-sdksetup.html" rel="nofollow noreferrer">here</a> but <strong>cannot find any information that can fix my problem</strong>.</p>
  
  <p><strong>Any information or help is really appreciated</strong>, as i would like to start programming for android on Unity as well!</p>
  
  <p>-</p>
  
  <p>(my unity version is the last stable, the <strong><em>2019.1.10f1</em></strong>).</p>