Skip to main content
jonnubroth
Participating Frequently
August 10, 2018
Answered

Attempting to upload apk to Google Play Console and get error, "Your app currently targets API level 24..." even though all settings on Adobe Animate state API 26 when publishing?

  • August 10, 2018
  • 3 replies
  • 3197 views

Full error: "Your app currently targets API level 24 and must target at least API level 26 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 26."

Target on Animate project: AIR 26.0 for Android

Am I missing something here?

This topic has been closed for replies.
Correct answer ankushr40215001

Further information, this is a requirement from Google.

We have updated the API level on AIR 29.0 and later (Please don't get confused between the version numbers of API level and AIR SDK, as both are different). So you will have to update the AIR SDK for this.

Current released AIR version is 30. I recommend you to use the same and hope your issue gets fixed.

Thanks,

Ankush

3 replies

eirkerikerik
Participating Frequently
September 8, 2018

Any luck solving it yet? I got the same problem

jonnubroth
Participating Frequently
October 4, 2018

Yes, actually! Sorry for the long delay in getting a response!

With Ankush's help, I discovered that I was confusing the API level and AIR SDK. Adobe Animate allows you to manually update the AIR SDK and you can download their most current files. Here is the link -> https://www.adobe.com/devnet/air/air-sdk-download.html and then follow these instructions to update them -> https://anereview.com/update-air-sdk-adobe-animate-tutorial/ ... Once I did all that I was finally able to successfully upload my app to the android market! Hope that helps, buddy

Thank you again to ankushr40215001​ for all the great information!

jonnubroth
Participating Frequently
August 12, 2018

I found this information via Google's help files. Does this apply to Animate CC?

"Make sure that your third-party SDK dependencies support API 26: Some SDK providers publish it in their manifest; others will require additional investigation. If you use an SDK that doesn't support API 26, please make it a priority to work with the SDK provider to resolve the issue.

Additionally, note that your app or game's targetSdkVersion may restrict access to private Android platform libraries; see NDK Apps Linking to Platform Libraries for details.

You should also verify any restrictions that may exist in the verson of the Android Support Library that you're using. As always, you must ensure compatibility between the major version of Android Support Library and your app’s compileSdkVersion.

We recommend that you choose a targetSdkVersion smaller than or equal to the Support Library’s major version. We encourage you to update to a recent compatible Support Library in order to take advantage of the latest compatibility features and bug fixes."

ankushr40215001
ankushr40215001Correct answer
Inspiring
August 13, 2018

Further information, this is a requirement from Google.

We have updated the API level on AIR 29.0 and later (Please don't get confused between the version numbers of API level and AIR SDK, as both are different). So you will have to update the AIR SDK for this.

Current released AIR version is 30. I recommend you to use the same and hope your issue gets fixed.

Thanks,

Ankush

ankushr40215001
Inspiring
August 10, 2018

Hi jonnubroth,

Just to confirm, you can still publish your app right now, correct?

This is just a notification letting you know about an upcoming change in August and not an error.

After finishing up with all the steps you must get the 3 green ticks and a rollout button should get enabled for publishing your app.

I wish you all the very best for you app launch.

Cheers,

Ankush

jonnubroth
Participating Frequently
August 10, 2018

Yes, I can publish the app with no problems, but when I try to upload the apk through Google's Play Console it  states the, "Your app currently targets API level 24" even though when I publish via Adobe Animate it clearly states, "Target: AIR 26.0 for Android".