Creating a new project
If you'd like more details and explanation about these steps, refer to the Creating a new Cardboard project section Chapter 2, The Skeleton Cardboard Project, and follow along there:
- With Android Studio opened, create a new project. Let's name it
RenderBoxDemo
and target Android 4.4 KitKat (API 19) with an Empty Activity. - Add the Cardboard SDK
common.aar
andcore.aar
library files to your project as new modules, using File | New | New Module.... - Set the library modules as dependencies to the project app, using File | Project Structure.
- Edit the
AndroidManifest.xml
file as explained in Chapter 2, The Skeleton Cardboard Project, being careful to preserve thepackage
name for this project. - Edit the
build.gradle
file as explained ...
Get Cardboard VR Projects for Android now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.