- Home /
Google VR SDK - APK Installation Error
Installation failed with the following output: pkg: /data/local/tmp/Package.apk
Failure [INSTALL_FAILED_OLDER_SDK]
rm failed for -f, No such file or directory
3891 KB/s (22893868 bytes in 5.745s)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
That is the message I get when I try to Build and run an APK that is using any scene with Google VR SDK.
I also tried manually pushing APK to device through device itself. However I get parsing error in that case :
There is a problem parsing the package
APK works just fine on device with Android 6.0.
All I did is created new project and added Google VR SDK, then I opened demo scene and tried to build it and push to device.
I tried to create empty scene as well.
I tried to switch install location to automatic.
My minimum API is set to KitKat, as Google VR states, however I tried to switch it back to 4.1, it didn't help.
If I understood correctly, Google VR SDK minimum is 4.1 JB device, regardless of minimum SDK stated.
I don't have access to actual Device with post JB Android, and I can't test my game :/
Any form of guess or help is welcome. Thanks.
Answer by Srki94 · Jun 13, 2016 at 01:43 PM
Changing minimum API level in Android manifest file solved the problem.
It's set to 19, targeting 22.
I'm not sure but I think that minimum for Google VR SDK is in fact 16.
Everything works fine now on my i9100, running on 4.1.2.
Since this is first result in google search and since people are having tons of problems with similar issues, I'm leaving this as it is with this answer. It will hopefully solve issue to someone else.
Manifest is located in Base dir -> Plugins -> Android
SDK can be found here > https://developers.google.com/vr/