I found out that to export to API 29 and above; Android support libraries are no longer supported for those API's. You have to merge your project over to Androidx. You have the target SDK settings look like mine above. Then you open your Root gradle.properties file and paste the following lines of code:
Example Location: D:\SteamLibrary\steamapps\common\gamemaker_studio\Android\runner\RootFiles
android.useAndroidX=true
android.enableJetifier=true
Then you add some code to the Android module gradle.build file not the Root gradle.build file. You add this to the gradle file in the ProjectFiles folder:
lintOptions {
abortOnError false
}
Which will make game maker ignore the build failure and will then build successfully. The location for the build.gradle file is your Game maker studio install location for example:
D:\SteamLibrary\steamapps\common\gamemaker_studio\Android\runner\ProjectFiles\build.gradle
Your file should look like this under the android section after you've enter the code above:
android {
compileSdkVersion ${YYAndroidCompileSDKVersion}
buildToolsVersion '${YYAndroidBuildToolsVersion}'
${YYAndroidJavaMaxHeapSize}
defaultConfig {
applicationId "${YYAndroidPackageName}"
minSdkVersion ${YYAndroidMinSDKVersion}
targetSdkVersion ${YYAndroidTargetSDKVersion}
multiDexEnabled true
}
lintOptions {
abortOnError false
}
signingConfigs {
release {
storeFile file("${YYAndroidKeyStoreFile}")
storePassword "${YYAndroidKeyStoreFilePassword}"
keyAlias "${YYAndroidKeyAlias}"
keyPassword "${YYAndroidKeyPassword}"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
signingConfig signingConfigs.release
}
}
${YYAndroidSplits}
}
It's possible to export to newer API's in Game maker studio 1.4 you just won't be able to put advertisements in your game. You'll have to make a full game and sell it if you want to make money off of it.