Skip to main content
New Participant
August 15, 2023

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

This topic has been closed for replies.

2 replies

New Participant
August 22, 2023

Removing comment, apologies

trandanaAuthor
New Participant
August 22, 2023

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'
}
}
}
}