Solved
APK validation error: GLES not specified validation error
I am having a problem with uploading an APK to a release channel. The full error message is as follows:
> GLES version not specified (android:glEsVersion in AndroidManifest.xml). GLES version of 2.0 or greater should be used.
I have seen similar posts in the forum but this used to be a warning which you could ignore, but now it is treated as an error so I am blocked on it.
I am using Unity 2018.4.12 LTS with Oculus Utilities 1.36.0 (latest as of posting) and used the option to generate a store compatible AndroidManifest.xml as described here:
https://developer.oculus.com/distribute/latest/concepts/publish-mobile-manifest/
In the Unity player settings I have set OpenGL ES 3 as the only Graphics API selected and ticked the 'require ES 3.1' option. This adds the following line to the AndroidManifest.xml that Unity generates:
<uses-feature android:glEsVersion="0x00030001" />
I have checked this in the manifest file that appears in the staging folder when building the APK. I have also tried manually adding it to the AndroidManifest.xml that the Oculus Utilities script generates but this makes no difference.
It appears to be a bug in the validator and it is blocking me from uploading any new builds. Does anyone have any suggestions?
> GLES version not specified (android:glEsVersion in AndroidManifest.xml). GLES version of 2.0 or greater should be used.
I have seen similar posts in the forum but this used to be a warning which you could ignore, but now it is treated as an error so I am blocked on it.
I am using Unity 2018.4.12 LTS with Oculus Utilities 1.36.0 (latest as of posting) and used the option to generate a store compatible AndroidManifest.xml as described here:
https://developer.oculus.com/distribute/latest/concepts/publish-mobile-manifest/
In the Unity player settings I have set OpenGL ES 3 as the only Graphics API selected and ticked the 'require ES 3.1' option. This adds the following line to the AndroidManifest.xml that Unity generates:
<uses-feature android:glEsVersion="0x00030001" />
I have checked this in the manifest file that appears in the staging folder when building the APK. I have also tried manually adding it to the AndroidManifest.xml that the Oculus Utilities script generates but this makes no difference.
It appears to be a bug in the validator and it is blocking me from uploading any new builds. Does anyone have any suggestions?
