I have Unity Pro with an Android license. Everything works fine until I build it. It asks me to select my Android SDK folder, which I do. It then freezes, and I have to force shut down Unity and restart it, and the APK doesn’t finish building.
I’ve tried several different configurations in the Player Settings, and the freeze always happens regardless. Thanks in advance for any help,
I had the same problem. For me, I found out that java.exe was blocking unity from getting past the step where it tries to locate the android sdk location. When it freezes at this point, I go into the task manager and kill ‘java.exe’. At this point the build finishes successfully.
I ran into this problem also. Forcing ‘java.exe’ to close works, but adding tool/ and platform-tools/ to my PATH didn’t work. I don’t like always having to force close java.exe…
What packages do I need to uninstall for ‘removed SDK Platform Android 1.x to 2.0 installed packages’? Would it be the SDK Platform Android 1.5 API 3, and 1.6 API 4? I don’t have any that are just 2.0.
I’m experiencing this as well, among other seemingly common apk building issues. I’m using Windows 7 x64, Unity 3.3.0f3. Followed all
My build hangs on “Detecting Android SDK”.
The only SDK platforms I have are 2.2 and 2.3.3.
There are two “java.exe” processes running in the task manager.
This is highly irritating, and I’m not looking forward to uninstalling JDK x64 just to d/l and install JDK x32. Seems like this is something that might be worth mentioning in the “getting started” section.
edit
After trying the patient route, I received a “register class failed” message on screen. The build window stays frozen, however.
I just started getting this problem on my mac. I’ve been pushing builds to my Android device all day but now it keeps on hanging when pushing to the device. If I disconnect the device Unity starts working again but says no device connected.