Native Android with Unity development — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Native Android with Unity development

HnS_ArulHnS_Arul Posts: 4
NerveGear
Hi Friends,

Suggest me to integrate the Native android module(Eg: Login activity) with Unity Gear VR support. 
I have already tried below steps. But, unfortunately the login page is not accessible in android native code.  
  • Use <meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/> or <meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_dual"/> in Android Manifest.xml. But it not work to integrate Login page(Android Native).
  • Tried with adding the GearVR(unity) as Android module in android studio. But received the these error in android studio.  
                   ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :GearVr.
                   ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :GearVr.
                   ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve project :GearVr.

Please suggest me the solution.

Sign In or Register to comment.