androidandroid-studiooculusquest

Oculus Quest 2 Android Studio 'android.debug.keystore' not found error


I'm going through the documentations Oculus Quest 2 Native-MobileSDK-Getting Started-Android Studio Basics, and I'm stuck with the following Android Studio error:

Execution failed for task ':VrSamples:VrCubeWorld_Framework:Projects:Android:validateSigningDebug'.
> Keystore file 'C:\Users\thisUser\Downloads\OculusMobileSDK\VrSamples\VrCubeWorld_Framework\Projects\Android\android.debug.keystore' not found for signing config 'debug'. 

The tutorial says nothing about how to get this "android.debug.keystore" file.

I've read the Quest 2 Android Application Signing page, but these steps create a .jks file not a .keystore file. I tried renaming the ".jks" file to "android.debug.keystore" and placing it in the correct directory, but I get a "failed to decrypt" error.

I've asked for help on Oculus support page and Oculus forums, but no one has been of help.

Can someone please help me with this issue? I am new to Android developement.


Solution

  • Finally got the code to run. Here's what I did: