JGrn84
JGrn84

Reputation: 750

Error while building Unity project for Android

Just tried to build Unity project as a test for Android.

I got this error:

Error building Player: Win32Exception: 
ApplicationName='C:/Users/My User/AppData/Local/Android/android-sdk\platform-tools\adb.exe', 
CommandLine='devices', 
CurrentDirectory='C:/Users/My User/AppData/Local/Android/android-sdk

What have I done wrong?

Note: I'm new to Android development and used a tutorial to install the JDK and Android Studio. Wouldn't be surprised if I messed up somewhere lol.

Upvotes: 0

Views: 180

Answers (1)

Eissa
Eissa

Reputation: 700

Not positive about what's wrong.

I recommend the following:

  1. Ensure that Edit > Preferences > External Tools > Android SDK path is correct.
  2. Make sure you have the necessary packages.
  3. Check/Ensure your SDK permissions are correct.
  4. Re-installation of the SDK.

Here is some information i came upon in the Unity Forums as well: http://answers.unity3d.com/questions/861959/build-and-run-to-android-problems.html

Upvotes: 1

Related Questions