Forum Discussion
trandana
2 years agoExplorer
Oculus always says the Android SDK version is wrong during validation
When uploading my app to Oculus, I receive this message:
ERROR:
Android Target SDK version is 29, but should be 32 or greater (targetSdkVersion in AndroidManifest.xml).
But I am on SDK 32, in fact its the only SDK I have installed.
my gradle.properties:
my AndroidManifest.xml:
In Unreal, I am targetting SDK 32,
and during the build process, it specifically states I am using SDK 32:
Is this a bug on the Oculus side?
Side loading the app works fine. but can't upload
2 Replies
Replies have been turned off for this discussion
- elisa-strivrHonored Guest
Removing comment, apologies
- trandanaExplorer
We fixed our issue. The issue we had in our case was we had Firebase Crashyltics enabled, which forced our sdk to use 29. We had to bump that up to 32 also inside the Firebase Android.xml file inside our project.
android {
compileSdkVersion 32
defaultConfig {
targetSdkVersion 32
minSdkVersion 29
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
release {
firebaseCrashlytics {
nativeSymbolUploadEnabled true
unstrippedNativeLibsDir 'src/main/jniLibs'
}
}
debug {
firebaseCrashlytics {
nativeSymbolUploadEnabled false
unstrippedNativeLibsDir 'src/main/jniLibs'
}
}
}
}
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
- 10 months ago