Wondering if anyone’s seen this after upgrading to 4.2.1f4. Now am not able to build android apks. I saw some older posts on this mostly saying that the JAVA_HOME environment variable needs a trailing backslash, but I don’t even have a JAVA_HOME environment variable. I do have a JDK_HOME, and tried appending a backslash to that-- didnt work, also tried creating a JAVA_HOME, and that didn’t work either. win8 x64. I can build android apps no problem from Eclipse, but I can’t even build an empty unity project andriod apk without this error.
Exactly the same here, impossible to build anymore for Android since We updated to 4.2.1f4. We need this to be resolved as a matter of urgency !!!
ArkaneX’s suggestion worked for me.
Installed android sdk r21 in a different location than my regular android sdk, and point unity to that. It seems to not affect my eclipse sdk r22.
a post by nekete near the bottom of the thread shows the steps:
Not super happy with having to do this tho… I wonder what’s going on that causes the problem. I did see that suggestion but assumed it was fixed because last week’s version of unity worked with sdk r22.