- Home /
An Android build problem on the Mac
Hello~
I am currently developing on a Mac after purchasing Unity 3.0 iPhone and Android licensing.
I am confronted by the "Error building Player: Win32Exception: ApplicationName='tools/android', CommandLine='list targets', CurrentDirectory='' UnityEditor.HostView:OnGUI()" message after selecting the Android platform from unity and constructing a build.
Cound you please tell me how I can build for the Android platform?
Thanks.
Answer by Andres Larrimbe · Nov 12, 2010 at 12:12 AM
I have the same problem, were you able to fix it?
Answer by Tumasin · Apr 21, 2011 at 07:08 AM
I have also errors in the build process that prevents the build to go on... This errors are not in when compiling in the editor. The error is even in a script my app doesn't use! /the standard assets DragRigidbody.js
Here the console:
Assets/Standard Assets/Scripts/General Scripts/DragRigidbody.js(31,22): BCE0019: 'isKinematic' is not a member of 'UnityEngine.Component'.
Error is on this line (31)
`body.isKinematic = true;`
What the heck?!
And of course on the console follows:
Error building Player because scripts had compiler errors UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
ok. for the chronicles I solved this by changing a small bit before that line:
Change this: body = go.AddComponent ("Rigidbody");
to this: var body : Rigidbody = go.AddComponent ("Rigidbody");
Now the android project is compiled :)
Answer by Unity beginner · Jun 30, 2014 at 05:13 AM
HEY..., did you get the solution???? please tell me .. i am also facing same problem
Your answer
Follow this Question
Related Questions
The game freezes after a splash screen 0 Answers
Android build failed error 1 Answer
not compiling for android 2 Answers
build failures 0 Answers