Skip to content

Build Cardboard Android SDK for Unity

cai-mobfish edited this page Jul 7, 2020 · 2 revisions

Steps to build 'sdk-debug.aar' - Android native Cardboard plugin for Unity3D:

  1. Download/Clone the Fork from official Google Cardboard SDK

  2. Open this project in IntelliJ Idea.

    • You can choose "build.gradle" file which is in the root folder. Then click "Open as Project".
      image
  3. Open "gradle" view on the right side, and double click the task "assemble" under the "cardboard/sdk/Tasks/build/"
    image

  4. Wait for the compile and assemble process. When finished, the file can be find under "cardboard/sdk/build/outputs/aar/" in "project" view
    image