Compilation for Android under Unity4

Greetings to all,

my problem is quite simple. So far, I compiled my Android project with 3.5.x version of Unity3D.
No problems. Everything is going well, and the app run fine under Android system.
Since, I switched to version 4 of Unity3D, and then, when I compile the project, I have this message frankly not sympathetic:

I’ve last version of Android SDK (with API 14 → API 17), last JKD, and all the path are correctly tagged.

What happens there ? Why, with the Unity v3.5 I’ve not any problem and, with the same elements,
why Unity V4 not seem to find the elements for the compilation ?

someone did it been faced this problem when moving from version 3 to version 4 of Unity ?

Thank you by advance for your feedback and advice :slight_smile:

(System used: Windows 7 -64bits with Untiy V4 pro and Android Basic Licence)

I am not sure, but I know there was an issues with 3.5 with the latest last JKD. Try a older version to see if it works for you.

Thank you for your reply

I uninstall the JDK7 and then after I installed the JDK6, and miracle, it works well now, with two versions of Unity.
Now I’m wondering why the JDK7 it worked perfectly with Unity V3.5 and not with Unity V4?

In any case thank you for provided this track :stuck_out_tongue:

Max70 can you log a bug with support@unity3d.com and see what they say and let us know?

Thanks

Hey Max!

I had exactly the same problem. I followed what you did by replacing JDK7 by JDK6 and bingo!! Unity 4 is working too!

Your question is mine. Why Unity 3.5 works with JDK6 and JDK7 and Unity 4 only works with JDK6???

Thank you!

If you update Unity3D to 4.0.1 all works fine with most updated android sdk version.

Kenshin