luochuanyuewu Posted December 13, 2019 Share Posted December 13, 2019 (edited) 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. Edited December 13, 2019 by luochuanyuewu Link to comment Share on other sites More sharing options...
luochuanyuewu Posted December 13, 2019 Author Share Posted December 13, 2019 Here is the blackproject whitch can' reproduce this error. https://drive.google.com/file/d/1wQU_c4oET0Y768mqyydHtCIUmPRfK1Ca/view?usp=sharing @Daniel_Y @Tony PH Lin @Cotta Link to comment Share on other sites More sharing options...
luochuanyuewu Posted December 17, 2019 Author Share Posted December 17, 2019 15 hours ago, Cotta said: Hi @luochuanyuewu We've passed your question to the the engineering team and it's under checking. I'll get back to you once we have further update. Thanks for your attention, looking forward to good news.😁 Link to comment Share on other sites More sharing options...
luochuanyuewu Posted December 20, 2019 Author Share Posted December 20, 2019 23 hours ago, Cotta said: Hi @luochuanyuewu We found it's conflicting to other tool installed on your build machine. Could be a false alarm. Suggest to try below quick fix to make it build pass. Find this file: <YourProject>/Plugins/WaveVR/Source/WaveVR/WaveVR_UPL.xml Add line 8080 -dontwarn org.mockito.**81 -dontwarn com.htc.vr.** This should help you keep working on the project. We think it shouldn't be any impact disabling this warning for your case. Please let us know if it works for you. Thank you very much! The problem has been solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now