MyLibProj - Android Studio project for building a very minimal .jar
library;
MyProject - Unreal project that tries to connect to the .jar
library.
- Go to the Android Studio project and create a new jar file with the
MyLibProj->mylibrary->Tasks->other->createFullJarRelease
gradle task. Createdjar
archive can be found in the following path:
MyLibProj\mylibrary\build\intermediates\full_jar\release\full.jar
- Copy it to the UE project to the path:
MyProject\Plugins\TestPlugin\ThirdParty\repository\mylibrary-release.jar
- Launch the game on your device. There should appear toast with the following message:
DebugStringToast
- If you have any errors or troubles with launching the game on the phone, use advices here.