android (invokation failed)

Hello, yesterday I bought the license for Unity Pro and Android Pro I’ve installed on a windows 7 professional 64 bit. The problem I have after installing the Java and the Android SDK is to try to build a scene for an Android device and I get this error:

Error building Player: Exception: android (invokation failed)
ERROR: unknown error
cmd: android list target-c
stdout;
Error During initialization of VM occurred
Could not reserve enough space for object heap
stderr:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I’ve tried installing multiple versions of Java and Android SDK and still gives me the same problem. I searched the forum and have only found this entry:
http://forum.unity3d.com/threads/165276-Deploying-to-my-android-phone
But it does not solve anything.
See if you can indicate how to properly run Unity.
Thanks,
Javier

when this happens does unity has kept your android sdk path in the prefernece ?
I got that issue couple days ago and for some reason unity was loosing the reference to android path sdk all time.

I solve this by puttong the android sdk in drive C , rather than other one it was before.

First, thanks for the prompt reply. Actually I had installed the SDK in your default path C: \ to avoid problems of user permissions, but I still leave the same problem.
I do not know what to do and to run the tool.

Thanks,
Javier

Solved!!!
Anyway, here is how to fix it:
Go to Start->Control Panel->System->Advanced(tab)->Environment Variables->System Variables->New:
Variable name: _JAVA_OPTIONS
Variable value: -Xmx512M
Variable name: Path
Variable value: ;C:\Program Files\Java\jre6\bin;F:\JDK\bin;
Change this to your appropriate path.
Thanks!!!