x


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.

more ▼

asked Nov 01 '10 at 01:50 AM

parang gravatar image

parang
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

I have the same problem, help me, PLZ

more ▼

answered Mar 15 '11 at 09:14 PM

tahamtan gravatar image

tahamtan
3 3 4 7

(comments are locked)
10|3000 characters needed characters left

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()

more ▼

answered Apr 21 '11 at 07:08 AM

Tumasin gravatar image

Tumasin
46 3

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 :)

Apr 21 '11 at 07:21 AM Tumasin
(comments are locked)
10|3000 characters needed characters left

I have the same problem, were you able to fix it?

more ▼

answered Nov 12 '10 at 12:12 AM

Andres Larrimbe gravatar image

Andres Larrimbe
1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2611
x2030
x124

asked: Nov 01 '10 at 01:50 AM

Seen: 1847 times

Last Updated: May 22 '11 at 11:51 PM