I want to create a custom .java file and include this file in APK.
I created a UPL like below and copied the folder with my Test.java through “prebuildCopies”.
I built an APK after having build.cs include UPL.
The \Intermediate folder in the project contains the path you copied using “prebuildCopies”, but when I checked the APK that was actually built, the Test.java file was not included as shown in the picture below.
The plug-in in the picture is the plug-in you purchased, and the plug-in is also through “prebuildCopies”.All java files were included.
I’m not used to using Unreal and java at the same time, so I’m leaving a question post because it’s hard to figure out a solution to this problem.
In fact, due to the above issue, when calling from .cpp, the error "FAndroidApplication::FindJavaClass(“com/immersivecast/doongle/Test”) is received that the path was not found in this function.