# Android SDK and API 23

**URL:** <https://forums.unrealengine.com/t/android-sdk-and-api-23/40750>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [September 4, 2015, 7:55pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750 "2015-09-04T19:55:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [September 4, 2015, 7:55pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/1 "2015-09-04T19:55:58Z")

</div>

The latest Android SDK API 23 made some changes impacting packaging or launch on for Unreal projects. The AndroidWorks installer included in Engine/Extras/Android should only install up to API 22 by default but if you are using 1R2 from the NVIDIA website it may be pulling down 23 as well.

API 23 removed org.org.apache.http from the standard package and moved it to optional. Unfortunately, it also removed some depreciated API calls which 's APK expansion downloader depends on (we use it for OBB download). The best thing to do for now is use no later than SDK API 22.

The Android SDK section of Project Settings allows setting the SDK API Level and NDK API Level. By default, SDK API Level is “latest” and NDK API Level is “android-19”. The NDK API Level should be set to “android-19” if you wish to target devices before Lollipop (5.0). If you set this to “android-21” or higher, your APK will only work on 5.0 devices.

SDK API Level set to “latest” will use the highest number found installed. If you have API-23 installed, you should change the SDK API Level from “latest” to “matchndk” or “android-21” (check your SDK’s platforms directory for which versions are available). It is OK for SDK to be set higher than NDK.

---

<div class="post-metadata">

**Author:** ![asmrpuppy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@asmrpuppy](https://forums.unrealengine.com/u/asmrpuppy)\
**Post date:** [October 8, 2015, 5:26pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/2 "2015-10-08T17:26:25Z")

</div>

Thanks , that’s a shout.

Speaking of which, is the AndroidWorks 1R2 over the 1R1 something you support/recommend?

Thanks for all the great work on the Android front, especially in 4.9.

Minxies

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [October 12, 2015, 5:26pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/3 "2015-10-12T17:26:12Z")

</div>

AndroidWorks 1R2 will work, but you need to make sure you set the SDK API Level appropriately and make sure API 19 is installed. The installer we include in 4.9 is based on 1R1 and has the proper defaults.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb040bbd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb040bbd](https://forums.unrealengine.com/u/anonymous_user_fb040bbd)\
**Post date:** [November 12, 2015, 5:59pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/4 "2015-11-12T17:59:26Z")

</div>

I do have a Nexus 9 with android 6. Will 4.10 use the features in 6. In the config do I put android-23? I do have api 23 installed.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb040bbd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb040bbd](https://forums.unrealengine.com/u/anonymous_user_fb040bbd)\
**Post date:** [November 19, 2015, 5:00pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/6 "2015-11-19T17:00:20Z")

</div>

> [@;419028](#):
>
> I do have a Nexus 9 with android 6. Will 4.10 use the features in 6. In the config do I put android-23? I do have api 23 installed.

, no answer. I put the question in the AnswerHub and no help. Too hard of a question???

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [November 19, 2015, 8:57pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/7 "2015-11-19T20:57:38Z")

</div>

Hi ,

Sorry, I was out and didn’t see this. 4.10 does not use any Android 6.0 features at this point. Do not try to use android-23, 's APK expansion library doesn’t support it yet.

---

<div class="post-metadata">

**Author:** ![Morgansandb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Morgansandb](https://forums.unrealengine.com/u/Morgansandb)\
**Post date:** [February 22, 2016, 9:58pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/8 "2016-02-22T21:58:01Z")

</div>

Hello, im having issues rendering transparent materials on Android 6.0 (HTC One M9), This issue came up after I upgraded to 6.0. I cant seem to find other people with this problem now. so checking here!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [February 26, 2016, 10:02pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/9 "2016-02-26T22:02:24Z")

</div>

Morgansandb,

Could you please submit an [Answerhub](https://answers.unrealengine.com/) if you haven’t resolved this issue as of yet? I have tested this out on an Android 6.0 Nvidia Shield with transparent objects within the level. I did not run into any trouble.

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_12f27adb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_12f27adb](https://forums.unrealengine.com/u/anonymous_user_12f27adb)\
**Post date:** [July 20, 2016, 9:59am UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/10 "2016-07-20T09:59:59Z")

</div>

I have already installed API 23 (SDK platform, tools, docs, sources). In fact I tried to reinstall all of it, but didn’t help

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [July 20, 2016, 6:38pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/11 "2016-07-20T18:38:58Z")

</div>

You should use only up to API 22 at this time as I mentioned in the first post in this thread; 23 will not work because it depreciates some APIs we are still using in the downloader.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_12f27adb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_12f27adb](https://forums.unrealengine.com/u/anonymous_user_12f27adb)\
**Post date:** [July 25, 2016, 1:10pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/12 "2016-07-25T13:10:08Z")

</div>

Yeah, I know still we use up to API 22. The latest update to Android (Version 5.1 of Lollipop rolls out)… has just officially announced the 5.1 SDK, which now represents API Level 22, to enable development and testing of the latest features.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ab9546bd1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ab9546bd1](https://forums.unrealengine.com/u/anonymous_user_ab9546bd1)\
**Post date:** [December 27, 2016, 11:29pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/14 "2016-12-27T23:29:52Z")

</div>

So this might be why my Android device isn’t showing in the launch section? I know I’ve got the API 23 installed. So I should just install API 21 and set ‘android-21’?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_462f22f2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_462f22f2](https://forums.unrealengine.com/u/anonymous_user_462f22f2)\
**Post date:** [February 15, 2017, 2:16pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/16 "2017-02-15T14:16:46Z")

</div>

thanks for your that i have the same issue 😃 [http://www.scatzx.com/img/1476275272.jpg](http://www.scatzx.com/1476275272.html)

---

<div class="post-metadata">

**Author:** ![SolSkyre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SolSkyre](https://forums.unrealengine.com/u/SolSkyre)\
**Post date:** [July 10, 2017, 2:03pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/20 "2017-07-10T14:03:38Z")

</div>

I’ve done as you said but now I am getting this error: Requires at least SDK API level 23, currently set to ‘android-22’  
Program.Main: ERROR: AutomationTool terminated with exception: ERROR: Can’t make an APK without API ‘android-23’ minimum installed (see “android.bat list targets”)

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [July 10, 2017, 10:08pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/21 "2017-07-10T22:08:58Z")

</div>

4.16 requires android-23. Run android.bat and select Android-23 and install it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a6c1bcd8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a6c1bcd8](https://forums.unrealengine.com/u/anonymous_user_a6c1bcd8)\
**Post date:** [October 27, 2017, 6:08am UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/23 "2017-10-27T06:08:05Z")

</div>

i have unreal engine 4.16.3 installed via github sources. i already installed latest android works given in extras/android. matchndk,latest. target is set to.but am not able to install apk in android version lower than lollipop.what should i do to make apks for kitkat and lollipop.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_56e6ad23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_56e6ad23](https://forums.unrealengine.com/u/anonymous_user_56e6ad23)\
**Post date:** [November 24, 2017, 4:07am UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/24 "2017-11-24T04:07:38Z")

</div>

In fact I tried to reinstall all of it, but didn’t help

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a617775f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a617775f](https://forums.unrealengine.com/u/anonymous_user_a617775f)\
**Post date:** [November 30, 2017, 10:19pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/25 "2017-11-30T22:19:07Z")

</div>

The original post is from 2015, perhaps a new update?

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [December 5, 2017, 8:10pm UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/26 "2017-12-05T20:10:46Z")

</div>

Android 23 and up is not a problem any more. Android 23 is now the minimum required and is installed with CodeWorks for Android 1r6u1 installer in Engine/Extras. It is best to set NDK API Level to “android-19” and SDK API Level to “latest” now.

---

<div class="post-metadata">

**Author:** ![Elijah-Neverdie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elijah-Neverdie](https://forums.unrealengine.com/u/Elijah-Neverdie)\
**Post date:** [June 7, 2018, 3:29am UTC](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750/34 "2018-06-07T03:29:41Z")

</div>

Help please! after open “CodeWorksforAndroid-1R6u1-windows.exe” press next as usaul. it shows “Downloading update lock” and then it shows “error”. I even can’t select the version i want to download! Any help please. Great thanks

[Next page](https://forums.unrealengine.com/t/android-sdk-and-api-23/40750.md?page=2)
