diff --git a/native/cocos/platform/android/AndroidPlatform.cpp b/native/cocos/platform/android/AndroidPlatform.cpp index b13b69bb60d..8c2733eb949 100644 --- a/native/cocos/platform/android/AndroidPlatform.cpp +++ b/native/cocos/platform/android/AndroidPlatform.cpp @@ -43,6 +43,7 @@ #include "platform/java/modules/SystemWindowManager.h" #include "platform/java/modules/Vibrator.h" +#include "platform/interfaces/modules/IXRInterface.h" #if CC_USE_XR #include "platform/java/modules/XRInterface.h" #endif