Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 FrazUK · Aug 19, 2015 at 02:05 PM · androidbuild erroradb

Error trying to build for android.

I recently did a full reinstall of windows and upgraded to win 10 and ever since when trying to build my game for android I've been getting the following error...

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

I've Googled and came across a suggested fix of copying adb and its dll files from platform-tools to the tools folder but this didn't work for me.

Does anyone have any other suggestions?

Cheers!

Comment
Add comment · Show 1
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 Mako-Infused · Aug 19, 2015 at 03:37 PM 0
Share

Did you make the android sdk location known to Unity? Inside the Unity editor there is a preferences area that deals with manually setting the location.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by dadika4 · Aug 19, 2015 at 03:35 PM

Go to unity-> preferences->external tools-> and here manual change the path of the android sdk... here also check if the path is the same. And when installing sdk did you say install for all or just this user. and that you are sign in with that user if you have designated the install for user...

see full manual sdk install here: link text

Comment
Add comment · Show 2 · 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 FrazUK · Aug 20, 2015 at 07:09 AM 0
Share

yes I have the paths in preferences set up accordingly and I installed for all users (I do with everything I install and there's only one user account on this machine anyway). I've installed unity many times successfully and fixed this error before by changing the paths but this time for some reason I can't get rid of the error.

avatar image dadika4 · Aug 20, 2015 at 07:18 AM 0
Share

H$$anonymous$$EY_LOCAL_$$anonymous$$ACHINE\SOFTWARE\$$anonymous$$icrosoft\Windows NT\CurrentVersion\AeDebug\Debugger H$$anonymous$$EY_LOCAL_$$anonymous$$ACHINE\SOFTWARE\$$anonymous$$icrosoft.NETFramework\Dbg$$anonymous$$anagedDebugger

Delete that it is causing the exception Win32

avatar image
0

Answer by Azbo · Aug 20, 2015 at 11:16 AM

Try making sure if the directory to the SDK is right, it may be wrong and it is giving you that error that it can't find the SDK. If that is not the problem then make sure you have your bundle identifier set to com.whateveryouwant.nameofgame .If you did't set the identifier than go to file --> Build Setting --> Android --> Player Setting than change the identifier. If none of these worked than your SDK may have a problem like maybe it is not updated or it failed to download a specific file. Go in and check that all the platforms you want to put your app on is checked and installed on your machine. If nothing works you can re download the sdk or find more help.

I hope this helped.

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 Loki9 · Jul 16, 2018 at 07:07 PM

Worked for me: copy the android SDK folder directly to any root like C:\ or D:\ etc and then in Untiy>preferences>External Tools redirect your SDK to the new location

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

6 People are following this question.

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

Related Questions

Error Building Player: Win32Exception. No solution works 1 Answer

Upgrade from 5.0.1 to 5.1.2f1, can't build in android now 1 Answer

cant get my android tablet to work with Unity remote 1 Answer

Failed to re-package resources,Failed to re-package resources. 3 Answers

Android - Error building player: Failed to repackage resources? 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