Parsing error when trying to play Cardboard SDK For Unity Demo First time

老子叫甜甜 提交于 2019-12-08 06:56:21

问题


I have followed the getting started steps here: https://developers.google.com/cardboard/unity/get-started

But when I load the .apk file to my phone, I get a "There was a problem parsing the package" error.

I tried searching online and I assume it means I have an issue somewhere in my AndroidManifest.xml file?

Is there anything else I need to be aware of that the get-started guide didn't mention?


回答1:


Found the solution!

Open the Android manifest file inside YourProject/Assets/Plugins/Android/AndroidManifest.xml and change the value of android:minSdkVersion to 16. It was 19 by default.

If it helps I'm doing this on a Samsung Galaxy S2 with Android version 4.1.2



来源:https://stackoverflow.com/questions/37018937/parsing-error-when-trying-to-play-cardboard-sdk-for-unity-demo-first-time

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!