Errors every time I try to launch to android device

I’m trying to launch a game on my Android phone so I can test that swipe gestures are working, and of course later I need to do this to deliver. I’ve downloaded and installed everything that comes up in CodeWorks except ADT 12b, Incredibuild and NDK. NDK would install earlier, but wouldn’t this time according to codeworks, but I do have the folders so as far as I can see it should actually be installed. After installing I opened SDK Manager and updated and installed everything there as well. I have Visual Studio 15, Windows SDK as well as the Java Development kit. (I saw ADT was supposed to come with Java, so I figured I’d try.) I’ve tried both launching and packaging and neither works.I haven’t been able to install ADT at all in any of my attempts, as it just says "Installing ADT 24.0.2 failed. Return Code: 2 exit status 1. I have no problem finding or launching to my phone, but somewhere along the line I get an error and it stops. I’m still just a student and I can’t seem to find anything that can help me sort this out, so I’m hoping maybe someone can make better sense of this than me. Thanks in advance…
Here’s the output log from UE: [link text][1]

(386 KB)

Have you verified you have a java compiler (Ant builder I believe)?

LogPlayLevel: D:\Program Files\\android-sdk-windows\tools\ant\build.xml:730: Unable to find a javac compiler;

Also check: https://docs.unrealengine.com/latest/INT/Platforms/Android/GettingStarted/1/index.html

I do have it as part of the Java Development Kit. Or should I download Ant builder separately? I already followed the steps in the link. I tried uninstalling everything and reinstalling as well, but I still get errors when I try packaging or launching the game to an Android device. Playing in the editor works fine however.

Please verify that your Android SDK is quite similar to this one. You can ignore the two bottom lines and enter which Android version you need to. But the other fields need to be filled out absolutely correctly as their versions do not vary when errors are being thrown.

122453-1-17-2017+2-32-59+pm.png

Thanks!

This is how it currently looks like:

Try changing your NDK API Level to or whichever version of android you’re planning on using. Delete your Intermediate and Saved folders and then try again. Upload your newest logs as a .txt file.

Thanks!

It didn’t work, but somehow it worked when I borrowed a Shield Android device from my teacher. I still don’t understand what the actual problem could be, considering I had trouble both launching and packaging the project, but at least I was able to deliver my assignment. Thank you so much for taking the time to help me out!

Your device might be full. You might need to turn the developer options on and make sure you’ve ‘trusted’ the device to your computer. It also might have something to do with the device itself.

I’m glad that the device you borrowed worked though. Let me know if you have any further questions.

Thanks!