How to enable Visual Studio Intellisense for Android project

How can I enable Visual Studio Intellisense for Android project (UE4.27)?
Although I set platform to Android, it still recognize the project for Windows.
AND I’m wondering why no one asks this question. only me???
image

1 Like

For UE4.27, you can use UnrealBuildTool to generate compile commands file, but the compile commands file is used by Visual Studio Code c++ extension, not Visual Studio.But, unlike UE5, the quality of compile commands file generated by UE4.27 is not good as UE5.
Usage:
D:/Program Files/Epic Games/UnrealEngine/Engine/Build/BatchFiles/Build.bat -mode=GenerateClangDatabase -Project=<The Path Of .uproject> -Game -Engine <Your Project Name> Android -architectures=arm64 Shipping
The file will be generated in the engine root directory.
More information:
C/C++ - Visual Studio Marketplace
Frequently asked questions