Forum Discussion
VascoDaGama98
3 years agoHonored Guest
This file does not belong to any project target
I was able to build and deploy (Quest 2) hello_xr from https://github.com/KhronosGroup/OpenXR-SDK-Source using the instructions from https://developer.oculus.com/documentation/native/android/mobile-build-run-hello-xr-app/ . However, whenever I load the hello_xr project in Android Studio and open one of the cpp source files such as graphicsplugin_opengles.cpp, I get the following warning "This file does not belong to any project target; code insight features might not work properly".
Any ideas on how I can get the code insight features to work?
Hi,
In the Project panel (left) :
- switch to "Project files" view (default is "Android"),
- right click on the .../src/test/hello_xr path
- in the popup menu, select the "Mark disrectory as" and then click on "Sources root"
That's it !
1 Reply
- antoine.emeritExplorer
Hi,
In the Project panel (left) :
- switch to "Project files" view (default is "Android"),
- right click on the .../src/test/hello_xr path
- in the popup menu, select the "Mark disrectory as" and then click on "Sources root"
That's it !
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 12 days ago
- 11 months ago