Unity 4 problem

Hello,

I have Unity 4 and 3.5 running on the same machine. Unity 3.5 generates apks perfectly but Unity 4 pops up 2 errors when I try to build any project (including functional projects made with 3.5):

It’s so strange, both versions 4 and 3.5 are pointing to the same android sdk folder. I already tried reinstalling android sdk, replacing java 7 by 6, reinstalling Unity 4 and so on with no success… 3.5 works every time like a charm instead of 4 :frowning:

I’m running windows 8 pro.

Unity setup paths:

  • C:\Program Files\Unity3.5
  • C:\Program Files\Unity4

Any clues?

Thanks

Problem solved!!

It seems this first oficial version of Unity 4 (4.0.0f7) has some problem with JDK7. I had to downgrade it to JDK6 and now both Unity 4 and 3.5 just work fine!

Thanks to Max70
http://forum.unity3d.com/threads/159774-compilation-for-Android-under-Unity4