Original address: http://blog.csdn.net/u012085988/article/details/17393111
1, JDK I installed the version of the Win32 (although the system is 64-bit. But heard that the 64-bit export will be an error). This is very important, I was in the wrong JDK, the egg ached for a long time. 2, Android SDK. To prevent compatibility issues, I directly download the ADT 20131030 (Android Developer Tools).
3, Unity. My unity version is 4.1.5f1.
That's basically the stuff. On these three steps, I have been tossing my whole day without words ...
When you export the project, you will be asked to select the Android SDK path, which ... adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-20131030\sdk\
The unity used in the company's development is the UNITY4.1.3F1 version. So we're going to drop unity to 4.1.3 See if you can compile.
Oh, shit. I can't go back to 4.1.3. Really no words!!!!
The reason is that the unity version is incompatible with the Android SDK version ...
unity4.1.3 need to use Android SDK R21
Newer unity 4.1.5 will need a newer version of the Android SDK R22.
To use unity4.1.3, you must drop the Android SDK to R21. But how to drop it?
The link above shows how to reduce the R22 to R21.