As long as there are two more problems with egg pain:
1.
Error Generating final Archive:debug certificate expired on * * * *
The literal understanding is caused by the expiration of the debug certificate.
Android apps must be digitally signed by a developer's own self-signed certificate before they can be installed on Android. In the development debugging phase, by default, the ADT helper helps us to sign the APK file, using the default debug version of the signature file.
After installation, the Android SDK generates a debug signing certificate that is saved in the Debug.keystore file. ADT uses this certificate to digitally sign each generated application (application). Unfortunately, the validity period for each debug certificate is 365 days, so there will inevitably be a problem with the certificate expiring. And the Android SDK is more rigid, found that the certificate expired, will not give you a new, will only give you the error hint.
Under Windows System, this debug certificate is stored under the C:/Documents and Settings/administrator/.android directory. Looked at, found that the date of modification of this certificate is November 9, 2009, almost a year ago, just for a while did not use the Android SDK, this time the use of this problem.
The workaround is simple: Remove the debug.keystore directly. Android SDK found Debug.keystore lost, will be generated from a new one. Run the SDK again, everything is fine.
2.
Error building player:win32exception:applicationname= ' D:/android/android-sdk-windows-1.6_r1\tools\zipalign.exe ', Commandline= ' 4 "C:\Users\Administrator.OTCITZ1YGXVV59Z\Documents\New Unity Project 1\temp/stagingarea/package_ unaligned.apk "" C:\Users\Administrator.OTCITZ1YGXVV59Z\Documents\New Unity Project 1\temp/stagingarea/package.apk " ', currentdirectory= ' Temp/stagingarea '
Found under the D:/android/android-sdk-windows-1.6_r1\tools\ directory does not zipalign.exe this executable file, literally should be packaged only with
I found it in the D:\android\android-sdk-windows-1.6_r1\build-tools\20.0.0 directory, copy it to the previous directory, again released on OK ~