Forum Discussion
jhhoward
6 years agoStart Partner
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....
- 6 years agoOK so after some further investigation, I found that the AndroidManifest.xml that was in Unity's staging area was *not* the same as the one actually bundled in the APK. I used apktool to unpack the APK and found that the 'uses-feature android:glEsVersion' tag was indeed missing from the manifest.
When I switched the build system from 'Gradle' to 'Internal' in the build settings, this stopped happening.
I did experience some issues with code signing as you described, as Oculus won't allow V2 or V3 uploads for Go/Gear VR. I have a simple batch file which resigns with the appropriate method:"c:\Program Files\Java\jdk1.8.0_131\bin\jarsigner" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore path/to/my.keystore my-app-name.apk my-app-key-alias
jhhoward
6 years agoStart Partner
OK so after some further investigation, I found that the AndroidManifest.xml that was in Unity's staging area was *not* the same as the one actually bundled in the APK. I used apktool to unpack the APK and found that the 'uses-feature android:glEsVersion' tag was indeed missing from the manifest.
When I switched the build system from 'Gradle' to 'Internal' in the build settings, this stopped happening.
I did experience some issues with code signing as you described, as Oculus won't allow V2 or V3 uploads for Go/Gear VR. I have a simple batch file which resigns with the appropriate method:
When I switched the build system from 'Gradle' to 'Internal' in the build settings, this stopped happening.
I did experience some issues with code signing as you described, as Oculus won't allow V2 or V3 uploads for Go/Gear VR. I have a simple batch file which resigns with the appropriate method:
"c:\Program Files\Java\jdk1.8.0_131\bin\jarsigner" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore path/to/my.keystore my-app-name.apk my-app-key-aliasQuick 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
- 11 days ago