Skip to content

How to package LoVR code for Oculus Quest (2) #510

Answered by bjornbytes
AlexMikhalev asked this question in Q&A
Discussion options

You must be logged in to vote

Instead of pushing files to the sdcard directory to iterate, it's possible to make an apk that includes the project files. When building an apk (see the Compiling guide) there is an option CONFIG_ANDROID_ASSETS that can be used to automatically include a lovr project in the apk. It's done this way at build time because an apk has to be re-signed whenever its files change.

All this compile option does is include the project under the assets path of the apk (e.g. assets/main.lua, APKs are just zip archives). It might be possible to achieve the same thing without recompiling using a tool like apktool, but I haven't tried it.

At least 2 people have started to go through the Oculus Store revie…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bjornbytes
Comment options

@jtoy
Comment options

Answer selected by bjornbytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants