atonalfreerider Posted August 31, 2019 Share Posted August 31, 2019 @Tony PH Lin @JustinViveSame issue as @juanyvos but it's not related to a clean import of the unity package. After doing a clean import of 3.1.1, by default the following aar libraries are disabled for Android: wvr_client.aar wvr_ime_client.aar wvr_permission_client.aar wvr_resindicator.aar wvr_unity_plugin_2017.aar This was not the case in 3.0.2, they were all enabled for Android. As a result, when attempting to build and run on the Focus, logcat gives the following errors: AndroidJavaException: java.lang.ClassNotFoundException: Didn't find class "com/htc/vr/unity/WVRUnityVRActivity$OEMConfigCallback" Unable to find wvrunity DllNotFoundException: wvrunity If the aar libraries are enabled, it fails to merge the AndroidManifest as @juanyvos found. This happens in Unity 2018 LTS as well as Unity 2019 Are the aar libraries supposed to not be included? How does wvrunity get deployed to the apk? Thank you Link to comment Share on other sites More sharing options...
JustinVive Posted September 4, 2019 Author Share Posted September 4, 2019 @atonalfreerider We're looking into this issue and will get back to you soon. Link to comment Share on other sites More sharing options...
Tony PH Lin Posted September 6, 2019 Share Posted September 6, 2019 Hi @atonalfreerider, Thanks for your feedback, and after analysis it seems the aar files are not enabled by default now. We will enabled the aar files at build time on next release. Will update more about the short-term action soon. Link to comment Share on other sites More sharing options...
atonalfreerider Posted September 10, 2019 Share Posted September 10, 2019 @Tony PH Lin there is still a collision between the AndroidManifest and wvr_client for @style/Theme.WaveVR.Black while Gradle is building. What is the best way to resolve this? CommandInvokationFailure: Gradle build failed. C:/Program Files/Unity/Hub/Editor/2019.2.4f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\OpenJDK\Windows\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.2.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleDebug" stderr[ C:\Users\johnb\Desktop\PRIMITIVE\Temp\gradleOut\src\main\AndroidManifest.xml:4:16-57 Error: Attribute application@theme value=(@style/UnityThemeSelector) from AndroidManifest.xml:4:16-57 is also present at [:wvr_client:] AndroidManifest.xml:15:9-50 value=(@style/Theme.WaveVR.Black). Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:4:3-19:17 to override. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processDebugManifest'. > Manifest merger failed : Attribute application@theme value=(@style/UnityThemeSelector) from AndroidManifest.xml:4:16-57 is also present at [:wvr_client:] AndroidManifest.xml:15:9-50 value=(@style/Theme.WaveVR.Black). Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:4:3-19:17 to override. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 6s @Cotta Link to comment Share on other sites More sharing options...
Corvus Posted September 10, 2019 Share Posted September 10, 2019 @atonalfreerider Can you try deleting the Assets/Plugins folder, reimporting the Wave SDK (3.1.1), and rebuilding the apk. 1 Link to comment Share on other sites More sharing options...
atonalfreerider Posted September 12, 2019 Share Posted September 12, 2019 @Corvus @Tony PH Lin as I explained above this is from a clean import. Deleting and re-importing the plugins folder has no effect. The gradle Android Manifest merger is failing specifically between wvr_client.aar for the attribute application@theme=@style/UnityThemeSelector and the Assets\WaveVR\Platform\AndroidWVR\AndroidManifest.xml <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@style/Theme.WaveVR.Loading" android:resizeableActivity="false" tools:replace="android:theme"> <!--You can use your theme here.--> This is the error from gradle: Attribute application@theme value=(@style/UnityThemeSelector) from AndroidManifest.xml:4:16-57 is also present at [:wvr_client:] AndroidManifest.xml:15:9-50 value=(@style/Theme.WaveVR.Black). Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:4:3-19:17 to override. Nothing has been changed since the clean import. Thank you in advance for your help @Cotta Link to comment Share on other sites More sharing options...
jesse.tsang Posted September 16, 2019 Share Posted September 16, 2019 @Tony PH Lin Any plans to upgrade to 4.22 for unreal engine? Link to comment Share on other sites More sharing options...
Tony PH Lin Posted September 16, 2019 Share Posted September 16, 2019 Hi @jesse.tsang, Yes, it's under testing. We will have new versions to support UE 4.21 and 4.22 around the beginning of Oct. Thanks. Link to comment Share on other sites More sharing options...
atonalfreerider Posted September 23, 2019 Share Posted September 23, 2019 @Tony PH Lin@Corvus any update on the AndroidManifest collision issue? Thank you Link to comment Share on other sites More sharing options...
alivelii Posted October 14, 2019 Share Posted October 14, 2019 @Tony PH Lin its middle of Oct where is the Sdk To 4.22 and is there any way too use opengls 3.1 shaders on unreal enggine Link to comment Share on other sites More sharing options...
Recommended Posts