Unity3D填坑整理(持续更新)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sinat_22657459/article/details/84572742

1、U3D蛮牛网教程地址:http://www.unitymanual.com/topic/download/index.html ,视频被加密了,输入9900 即可解密

2、Unity虚拟现实开发圣典pdf电子书下载:猛戳这里

3、Unity 3D游戏开发Windows和Mac所有源码下载,因为源码太大,通过百度云盘分享:猛戳这里

4、游戏蛮牛Unity用户手册

5、错误提示:

Error building Player: UnityException: Bundle Identifier has not been set up correctly
Please set the Bundle Identifier in the Player Settings. The value must follow the convention 'com.YourCompanyName.YourProductName' and can contain alphanumeric characters and underscore.
Each segment must not start with a numeric character or underscore.

解决方法:

打开File=>build settings => player settings=>在Inspector找到Bundle Identifier 选项,原来是:com.YourCompanyName.YourProductName,后两项改个名字就行了

6、错误提示:

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'

解决方法:

你会发现D:/android/android-sdk-windows-1.6_r1\tools\目录下面并没有zipalign.exe这个可执行文件,所以在D:\android\android-sdk-windows-1.6_r1\build-tools\20.0.0里找到这个文件,将其拷贝到之前的目录就可以了。

7、打包APK失败时,错误信息会显示在console控制台中,控制台在Window->General->Console

8、没有keystore导致打包失败,可以新建keystore文件,创建keystore步骤戳这里
9、打包完成就会在目录下生成APK文件,文件比较大,我就下载了一个2D Game Kit项目,生成的APK就有141M,安装运行,激动人心啊!!

猜你喜欢

转载自blog.csdn.net/sinat_22657459/article/details/84572742