Hi! I created a custom plugin in C++ for Android that calls native android java libraries and I call the plugin from blueprints without problems. Everything works perfect.
Now I am rewriting most of my blueprints in native C++ and I noticed I can’t call my plugin from C++.
I included the module in my Build.cs file:
PrivateDependencyModuleNames.AddRange(new string[] {"AndroidAPITemplate"});
Then included it in the .h of my Actor:
#include "AndroidAPITemplateFunctions.h"
Finally implemented it in a function:
UAndroidAPITemplateFunctions::UInitBT();
IDE seems to catch it:
but when i compile i get this:
LNK2019: unresolved external symbol "public: static void __cdecl UAndroidAPITemplateFunctions::UInitBT(void)" (?UInitBT@UAndroidAPITemplateFunctions@@SAXXZ) referenced in function "protected: virtual void __cdecl AMyGameModeCPP::BeginPlay(void)" (?BeginPlay@AMyGameModeCPP@@MEAAXXZ)
LNK1120: 1 unresolved externals
Any Help?