# About minimum SDK version and code version number

**URL:** <https://community.amazondeveloper.com/t/about-minimum-sdk-version-and-code-version-number/2745>\
**Category:** Q&A\
**Tags:** appstore-sdk\
**Created:** [February 8, 2024, 4:31pm UTC](https://community.amazondeveloper.com/t/about-minimum-sdk-version-and-code-version-number/2745 "2024-02-08T16:31:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/andy/32/721_2.png) [@andy](https://community.amazondeveloper.com/u/andy)\
**Post date:** [February 8, 2024, 4:31pm UTC](https://community.amazondeveloper.com/t/about-minimum-sdk-version-and-code-version-number/2745/1 "2024-02-08T16:31:50Z")

</div>

I got this error when uploading a new version of the app to post to the Appstore

![Screenshot_1](https://d3mq594dkmpl37.cloudfront.net/original/1X/a2ff2c794af1a04d2c7b1f5f894dd3a609620853.png)

1. Does this mean that in the new version of the application it is no longer possible to install a lower minimum SDK level, even though the application version is higher?

2. Why did the application version code become 1005, even though I had version: 2.0.0+5 (where `5` refers to the code version - build version)? Last time I just set it to 4, and the uploaded file showed it that way - i.e. 4.

---

<div class="post-metadata">

**Author:** ![Moses](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/moses/32/524_2.png) [@Moses](https://community.amazondeveloper.com/u/Moses)\
**Post date:** [February 8, 2024, 5:57pm UTC](https://community.amazondeveloper.com/t/about-minimum-sdk-version-and-code-version-number/2745/2 "2024-02-08T17:57:34Z")

</div>

Hi Andy,

Thanks for the question, welcome to the Amazon Appstore community space!

Are you submitting [multiple APKs for the same app](https://developer.amazon.com/docs/app-submission/device-filtering-and-compatibility.html#multiple_apk_support)? If so, check out our Knowledge Base article on this topic:

> [@What does the error message "Failed to upload binary. Higher minimum Android API level requires higher version code" mean?](https://community.amazondeveloper.com/t/what-does-the-error-message-failed-to-upload-binary-higher-minimum-android-api-level-requires-higher-version-code-mean/2253):
>
> If you are submitting [multiple APKs for the same app](https://developer.amazon.com/docs/app-submission/device-filtering-and-compatibility.html#multiple_apk_support), the APK that requires a higher API level must have a higher version code. If you receive the error message, “Failed to upload binary. Higher minimum Android API level requires higher version code. Contact us for more information”, you have probably broken this rule. Related:

Let us know if that resolves the issue or not.

Thanks,

Moses

---

<div class="post-metadata">

**Author:** ![andy](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/andy/32/721_2.png) [@andy](https://community.amazondeveloper.com/u/andy)\
**Post date:** [February 9, 2024, 2:33pm UTC](https://community.amazondeveloper.com/t/about-minimum-sdk-version-and-code-version-number/2745/4 "2024-02-09T14:33:50Z")

</div>

Indeed, I uploaded the new apk but did not delete the old one.

However, I haven’t found an explanation of how the `versionCode` value got that way, and although it’s not important, there is a reason.

---

<div class="post-metadata">

**Author:** ![Moses](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/moses/32/524_2.png) [@Moses](https://community.amazondeveloper.com/u/Moses)\
**Post date:** [February 9, 2024, 4:43pm UTC](https://community.amazondeveloper.com/t/about-minimum-sdk-version-and-code-version-number/2745/5 "2024-02-09T16:43:29Z")

</div>

Hi Andy,

It sounds like maybe you don’t have a multi-APK app? This can happen when you add the new APK as a second APK instead of replacing the old APK. Make sure you click “Replace APK” on the old APK file instead of clicking “Add new APK”.

Moses

---

<div class="post-metadata">

**Author:** ![system](https://dhm3gbtzu79o6.cloudfront.net/user_avatar/community.amazondeveloper.com/system/32/5065_2.png) [@system](https://community.amazondeveloper.com/u/system)\
**Post date:** [May 22, 2024, 10:58pm UTC](https://community.amazondeveloper.com/t/about-minimum-sdk-version-and-code-version-number/2745/6 "2024-05-22T22:58:37Z")

</div>

Closed on May 22, 2024, 10:58pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
