I am trying to import a third party library as a plugin in my project. I have followed the official documentation and it works fine for mac and iOS builds. In case of android i am having problems. I am getting the following error
D/UE4 : [2021.08.16-07.50.54:798][ 0]LogStreaming: Warning: FAsyncPackage::LoadImports for /Game/Levels/Main: Skipping import AppManager /Script/FFS.Default__AppManager, depends on missing native class
D/UE4 : [2021.08.16-07.50.54:802][ 0]LogStreaming: Error: ****DumpDependencies [Dependencies]:
D/UE4 : [2021.08.16-07.50.54:802][ 0]LogStreaming: Error: Export 1 /Game/Levels/Main.Main:PersistentLevel.AppManager_1
D/UE4 : [2021.08.16-07.50.54:803][ 0]LogStreaming: Error: Linker is …/…/…/FFS/Content/Levels/Main.umap
D/UE4 : [2021.08.16-07.50.54:803][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 27 /Script/FFS.AppManager
D/UE4 : [2021.08.16-07.50.54:803][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 0 /Script/FFS.Default__AppManager
D/UE4 : [2021.08.16-07.50.54:803][ 0]LogStreaming: Error: Dep C_BEFORE_C Export 10 /Game/Levels/Main.Main:PersistentLevel (class Level)
D/UE4 : [2021.08.16-07.50.54:803][ 0]LogStreaming: Error: Missing Dependency, request for /Script/FFS.AppManager but it hasn’t been created yet.
D/UE4 : [2021.08.16-07.50.54:803][ 0]LogStreaming: Error: Could not find class AppManager to create AppManager_1
AppManager is an actor class and include the code that initializes the library. The way i am interpreting the error is that maybe the plugin is not imported correctly in the game thats why i am getting the error but from plugin side i am not sure what i am missing.
I have an .so file and some aars and jars file. I have followed below link for instructions to add the library for android. In the xml file i am copying the .so and aar/jar files and loading the .so file. I have checked the GameActivity.java and it contains loading of the library. I just wanna make sure that this error is related to plugin or i am missing something else. I am just starting out with Unreal engine and it would be really helpful if i can understand the error.