Hi, dear community.
i can't packaging my project correctly when i check “for distribution” in my project settings.
here is my dev environment:
installed android sdk as normal (nothing wrongs here.)
ndk: 16b
win10 pro 1903
Unreal Engine 4.22.3
Wave_3.1.4_unreal sdk.
jdk: jdk1.8.0_77
here is the description of my problem:
I have successfully prepared the Android development environment according to the document description (I can guarantee that this part has no problems at all, because I can successfully package normal Android projects), but as long as I enable the wavevr plug-in in in the UE4 project and check "for distribution" in the packaging settings, I cannot package. The error comes from a library called "mockito". If I enable the wavevr plug-in and uncheck "for distribution", then I can package normally. I reproduced this problem in a blank project ( with wavesdk enabled), the sample project you provided, and our own project.
steps to reproduces:
1. Install Android SDK, NDK, JDK
2. Create a blank blueprint project and fill in the path of SDK, NDK and JDK in Android SDK under project settings.
3. Fill in the relevant information in the extra settings for < Application > section under advancedapkpackaging
4. Create a blank map called NewMap and save it under content.
5. Copy the WVR folder to the engine path, and copy wavevr to plugins / wavevr under my project. At the same time, enable the wavesdk plug-in in UE4, and disable oculusvr and steamvr at the same time.
6. generate apk keystore and config it.
7. Check "for distribution" under packaging settings
8. Hit packaging.
What i expected:
The package should be successful and a signed APK should be generated
What i Got:
Conclusion:
It seems that this kind of error cannot be solved on my own. I hope you can check this problem. I have provided a complete log and a project that can reproduce this bug.
FullLog.txt
Thanks.