Can't install VR .apk on Android

So I’ve been following this tutorial along with that one and wanted to deploy a simple empty VR-ready scene to my Android phone but when I try to install the project on my device using ADB, first I get a Failure [INSTALL_FAILED_NO_MATCHING_ABIS] error, then a second installation (or something with a percentage progess at least) starts but ends up in yet another error - this time Grant READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE to the apk for reading OBB file. After that, I get Bad argument: java.lang.IllegalArgumentException: Unknown package: com.YourCompany.CardboardVR twice only to finally receive an Installation successful alert.

This isn’t true of course cause nothing new can be found on the phone after the procedure :frowning: Why is that so, how can I try to fix it? I thought it might have been a problem with ARM version so I changed the ARM64 suggested in the tutorial to ARM7 but to no avail.

which SDK version are you using?

you need to download codeworks 1R5 for cardboard and set sdk 24 from project settings

I’m using CodeWorks 1r6u1 (that’s the one they suggest in the Android tutorial) and I do set the NDK API as android-24 (also according to the tutorial).

yes. right. I had this packaging problem a few days ago.
I do not what was the main problem but I finally managed it.

these are my project setting . you can import them into your project settings

there is two ini files one of them for android settings and other one for android sdk.

i can package cardboard with these settings

then change those paths from android sdk to the right directory in your pc

I set instead of 24 which works

Oh, only now have I got it that you were talking about the Target SDK, ont the NDK API. After changing the former to like you suggest, it all works great, thank you very much :slight_smile: If you wish, add your suggestion to use as opposed to -24 as an answer and I’ll be happy to accept it!