Unable to build Android

Hello, is 24 hours that i’m in front of my computer for making a working apk of “Sun Temple” for Galaxy S7 with Vulkan. EVERYTHING going good except for a gradle link with http library that on Level 23 (required) is REMOVED!
The error is: “error: package org.apache.http does not exist” i’ve tryied everything…
How to fix it? Please help. I’m going mad. Here it is the [output log][1]

101411-output.txt (357 KB)

ComicBit,

It looks like your Android SDK isn’t set up properly. Please make sure that you’ve uninstalled AndroidWorks and installed CodeWorks.

It should be located here in Binary: [EngineInstallLocation]\Unreal Engine[EngineVersion]\Engine\Extras\Android

Once CodeWorks is installed fully, you’ll need to make sure that your Android SDK settings in the engine look like the following:

101291-androidsdk.png

i would remember you that isn’t compatible with Vulkan (>23)

So i can’t set it like this because if i do it just don’t compile in Vulkan. Codeworks Is installed from Engine/Bin/Extras/Android/

I’ve unistalled CodeWorks and installed back from scratch. Nothing changes.

NDK version: 23
error: package org.apache.http does not exist
MainFrameActions: Packaging (Android (ASTC)): UnrealBuildTool: [javac] import org.apache.http.NameValuePair;

You should set your NDK to 19 or 21. According to the error, it seems likely that you set SDK API level to “matchndk” and it is trying to use 23. We only support up to 22 at the moment.

Please let me know if this resolves your error or not, thank you!

Finally i made it works. Almost… With these settings seems to build without problems

If i put on sdk android-23 it gives me wchar is missing.
However the build gone good… Until i’ve tryied on my Galaxy S7 Edge:
[Screenshots][3]

EDIT: Here it is a link to the build that i made https://drive…com/file/d/0B6Xmj2Bvtwo-cUMyb2duQXAyb1U/view?usp=sharing

UPDATE: I’ve tryied to make a build with the same setting but with Support Vulkan disabled and it just crash after Epic logo on the same phone

ComicBit,

I apologize for the delay in response, I’ve been terribly ill and unable to respond.

Could you please upload your mobile devices logs for comparison? The issue that I’m seeing on my end is: Assertion failed: Assertion failed: !RTInfo.bClearColor [File:C:\Users.\Downloads\githubue4\UE4\Engine\Source\Runtime\VulkanRHI\Private\VulkanPendingState.cpp] [Line: 622]

  • Attach your phone to the computer
  • Go here: C:\android-sdk-windows\tools
  • Open up Monitor.bat
  • Launch the program and save the logs

If you cannot get Monitor.bat to open, please go to:

  • C:\android-sdk-windows\tools\lib\monitor-x86
  • Open up Monitor.exe
  • Follow the instructions above

Make sure that you highlight all of the logs, because they do not save unless they’re highlighted.

Thank you!

Hey ComicBit,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!