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 Quadmist · Jul 07, 2014 at 07:29 PM · androiderrorbuild-error

Android Build Error

Hey, whenever I try to build a game I get two errors. alt text

I am using Unity 3.4.0 because it supports ARM v6. My phone is Samsung S5830. It should be connected without problems. Here you can see my SDK tools ( my phone supports Android 2.3.5 thats why I use 2.3.3 build). Can anybody help me please? I really dont know what to do...Thanks alt text

build.jpg (269.4 kB)
sdk.jpg (316.8 kB)
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 Quadmist · Jul 07, 2014 at 05:11 PM 0
Share

UPDATE - I copied 3 adb (1 exe and 2 dlls)files from platform-tools into tools. Now I am getting another errors.The first one. Error building Player: Win32Exception: ApplicationName='C:/Program Files/SD$$anonymous$$_TOOLS/adt-bundle-windows-x86-20140624/sdk/platforms/android-20\aapt.exe', CommandLine='package -v -f -m -J gen -$$anonymous$$ Android$$anonymous$$anifest.xml -S "res" -I "C:/Program Files/SD$$anonymous$$TOOLS/adt-bundle-windows-x86-20140624/sdk/platforms/android-20\android.jar" -F bin/resources.ap', CurrentDirectory='Temp/StagingArea' UnityEditor.HostView:OnGUI()

And the second one.

Exception: Error building Player: Win32Exception: ApplicationName='C:/Program Files/SD$$anonymous$$_TOOLS/adt-bundle-windows-x86-20140624/sdk/platforms/android-20\aapt.exe', CommandLine='package -v -f -m -J gen -$$anonymous$$ Android$$anonymous$$anifest.xml -S "res" -I "C:/Program Files/SD$$anonymous$$TOOLS/adt-bundle-windows-x86-20140624/sdk/platforms/android-20\android.jar" -F bin/resources.ap', CurrentDirectory='Temp/StagingArea' UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/842f9557127e852/Editor/$$anonymous$$ono/BuildPlayerWindow.cs:369) UnityEditor.BuildPlayerWindow.GUIBuildButtons (Boolean enableBuildButton, Boolean enableBuildAndRunButton, Boolean canInstallInBuildFolder) (at C:/BuildAgent/work/842f9557127e852/Editor/$$anonymous$$ono/BuildPlayerWindow.cs:979) UnityEditor.BuildPlayerWindow.ShowBuildTargetSettings () (at C:/BuildAgent/work/842f9557127e852/Editor/$$anonymous$$ono/BuildPlayerWindow.cs:953) UnityEditor.BuildPlayerWindow.OnGUI () (at C:/BuildAgent/work/842f9557127e852/Editor/$$anonymous$$ono/BuildPlayerWindow.cs:726) System.Reflection.$$anonymous$$ono$$anonymous$$ethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.$$anonymous$$ono$$anonymous$$ethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.$$anonymous$$ethodBase.Invoke (System.Object obj, System.Object[] parameters) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/BuildAgent/work/842f9557127e852/Editor/$$anonymous$$ono/GUI/DockArea.cs:225) UnityEditor.HostView.Invoke (System.String methodName) (at C:/BuildAgent/work/842f9557127e852/Editor/$$anonymous$$ono/GUI/DockArea.cs:218) UnityEditor.HostView.OnGUI () (at C:/BuildAgent/work/842f9557127e852/Editor/$$anonymous$$ono/GUI/DockArea.cs:119)

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Sisso · Jul 07, 2014 at 07:42 PM

Android SDK have a history that spaces in path cause problem, try to install some place like "C:/android-sdk"

Comment
Add comment · Show 1 · 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 liortal · Jul 08, 2014 at 09:55 AM 0
Share

Also check that you have the Android SD$$anonymous$$ path properly configured in Unity under Preferences->External Tools

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

not compiling for android 2 Answers

build failures 0 Answers

Unrecognized Attribute name MODULE when building .AAB with AdMob 2 Answers

Error building Player: DirectoryNotFoundException: Could not find a part of the path - how to solve problem? 0 Answers

Google play services build error help me (android) :( 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