Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by saikoyama · Dec 24, 2014 at 10:21 PM · androidbuild-error

Build and Run to Android Problems

When I try to build and run, this error message pops up:

Error building Player: Win32Exception: ApplicationName='C:/Users/Jeanette/Desktop/Aaron's Files/Android SDK\platform-tools\adb.exe', CommandLine='devices', CurrentDirectory='C:/Users/Jeanette/Desktop/Aaron's Files/Android SDK'

I haven't been able to figure this out. Any help would be appreciated.

P.S. Everything goes well until this part "trying to locate suitable android device"

Comment
Add comment · Show 6
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image screenname_taken · Dec 25, 2014 at 12:12 AM 0
Share

I'm guessing that you have the Android SD$$anonymous$$ installed. Is your device set in developer mode?

avatar image saikoyama · Dec 25, 2014 at 02:53 AM 0
Share

^Yes and yes

avatar image WillNode · Dec 25, 2014 at 03:36 AM 0
Share

have you check that adb.exe exists in that Application path? if yes, are your device connected to your computer and set to debugging mode?

avatar image martin101 · Dec 25, 2014 at 04:25 AM 0
Share

@saikoyama please post your Unity Version and SD$$anonymous$$ version

avatar image saikoyama · Dec 25, 2014 at 07:58 AM 0
Share

@Wildan $$anonymous$$ubarok Where would I find the adb.exe and where would i put it? $$anonymous$$y device is all set up, so my problem's on the computer side.

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by JackF · Dec 25, 2014 at 08:56 AM

The problem is your Windows (PC) cannot connect to your Android device. Normally the way to make sure the connection is using adb command : "adb devices"

For example.

 $ adb devices
 List of devices attached 
 0605a1fe00245d18    device

On your PC, it might be C:/Users/Jeanette/Desktop/Aaron's Files/Android SDKplatform-toolsadb.exe devices

This is Android issue, instead of Unity. For more information about adb, please visit http://developer.android.com/tools/help/adb.html Your phone must be on developer mode to make adb connect the phone.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by WillNode · Dec 25, 2014 at 08:32 AM

the error trying to locate suitable android device meaning there is no attached android device to install.

there is some checklist that you need to perform before you build and run your APK :

  1. check that adb.exe exists in ApplicationName parameter in your error message

  2. make sure you have downloaded and intalled Google USB Driver in Android SDK Manager

  3. make sure that your device Connected to your PC with Debugging USB Enabled and your PC can recognize them using this command : adb devices

the number 2 and 3 can be avoided if you using the Build button, however, you need to move your APK file manually to your device before you can test it.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Unable to make a build? 1 Answer

not compiling for android 2 Answers

Unity: Cannot find Android Device 3 Answers

Error building Player: CommandInvokationFailure: Failed to build apk. See the Console for details () 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges