搞了几个小时,打包错误。因为之前打包一直没有问题,今天加了点素材后,打包没问题,但是使用OculusSider安装apk的时候,总是会报错,然而换一个apk就可以安装,首先排除unity环境问题和OculusSider的问题,在网上百度了很多资料,有修改sdk的,也有修改jdk的,乱七八糟的操作一通,结果依然失望。偶然看到一篇文章后,恍然大悟。
Help Wanted - using APK Signature Scheme v2: integer overflow when installing APK to Quest - Unity ForumI am working on a PCVR to Quest port and have issues installing the game. The build goes well, but I get this error.I tried a blank project with the...https://forum.unity.com/threads/using-apk-signature-scheme-v2-integer-overflow-when-installing-apk-to-quest.1204852/https://lemmasoft.renai.us/forums/viewtopic.php?t=63244https://lemmasoft.renai.us/forums/viewtopic.php?t=63244感谢前辈们提供了思路。
总结:apk文件的大小超过了2G,缩减unity场景内容,让打出来的apk包小于2G.完美解决。



