I am trying to upload my Android app to Google Play, however, on APK upload processing, I am getting the error:
The maximum SDK version cannot be lower than the minimum SDK version.
This sounds obvious, however, nowhere in my app is there a maxSdkVersion
set. I have uploaded apk's in the past successfully, with those having only code differences.
Google-ing this error also yields nothing , so I'm completely at a loss here. Play does not seem to provide any more detail that that message.
Has anyone seen this error on uploading an APK to Play before? Or, does anyone know a way to get more detailed information on errors when uploading to Play?
I am using Android Studio 3.1.2, and building with Gradle 4.1
There are a few places where one could find a value for maxSdkVersion
: "build.gradle" and "AndroidManifest.xml" files.
Open your manifest file in Android Studio and take a look at the "Merged Manifest" (tab choice at bottom of edit window). Look for <uses-sdk
and see if a "maxSdkVersion" has been set.
Another place you might find a is under the tag <uses-permission
. Check to see if a "maxSdkVersion" has been set.
If you need further information on these tags take a look at the Google Docs:
https://developer.android.com/guide/topics/manifest/manifest-element https://developer.android.com/guide/topics/manifest/uses-sdk-element
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.