LoginSignup
0
0

More than 1 year has passed since last update.

ネイティブ開発Ouclus Quest2

Last updated at Posted at 2021-09-30

1.事前準備

・Oculus Quest2の開発者モードを有効化
・ADBドライバのインストール
・Android Studioのセットアップ

以下の手順に従って事前準備を行う
https://developer.oculus.com/documentation/native/android/mobile-device-setup/
https://developer.oculus.com/documentation/native/android/mobile-studio-setup-android/

※注意点※
Android SDK Tool (Obsolete)をインストールする必要があるのですが、デフォルトではSDK Managerに表示されないのでインストールできません。
どうすればいいのかというと、SDK Managerの画面右下にあるHide Obsolete Pakeagesの☑を☐にすると表示されるのでインストールしてください。

2.SDKのセットアップ

・Oculus OpenXRモバイルSDKのダウンロード
・Androidマニフェストの変更

以下の手順に従ってSDKをセットアップする
https://developer.oculus.com/documentation/native/android/mobile-openxr/

3.Google Maven リポジトリをプロジェクトに追加

・build.gradleの変更

3.Android Games ライブラリの依存関係を追加

・build.gradleの変更
・CMakeLists.txtの変更

以下の手順に従って依存関係を追加する
https://developer.android.com/studio/build/dependencies#google-maven
https://developer.android.com/jetpack/androidx/releases/games
https://developer.android.com/games/agdk/integrate-game-activity

続きは追って書きます。

https://developer.android.com/ndk
https://developer.android.com/jetpack
https://developer.android.com/games

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0