Forum Discussion
klaus_kobald_9
6 years agoProtege
All of a sudden! Build for Android fails: Specified cast is not valid.
I did not change anything that I am aware of and get now.
Specified cast is not valid.
Specified cast is not valid.
UnityEngine.Debug:LogError(Object)
OVRGradleGeneration:PatchAndroidManifest(String) (at Assets/Oculus/VR/Editor/OVRGradleGeneration.cs:348)
OVRGradleGeneration:OnPostGenerateGradleAndroidProject(String) (at Assets/Oculus/VR/Editor/OVRGradleGeneration.cs:170)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler() (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:442)
I found out that OVRGradleGeneration : 296 throws an error on the 3rd element when iterating
foreach (XmlElement e in appNodeList)
Unity 2019.3.0f5
latest Oculus Android Package: 2.38.6
NDK, Gradle, JDK from 2019.3.0f5 installation
android sdk: level 25
2 Replies
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 2 years ago