x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

launching for android: Can't make an APK without an API installed

Hey guys,

I'm using ue4 4.8.1

I create a new project: "blueprint first person" (as suggested by the android quick start tutorial). I can run the project from within windows, however launching a level for android ends with "unknown error" message. Looking at the log I found a prior error:


Can't make an APK without an API installed (see "android.bat list targets")

LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes. LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 LogPlayLevel: Domain_ProcessExit LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes. LogPlayLevel: copying UAT log files... LogPlayLevel: RunUAT.bat ERROR: AutomationTool was unable to run successfully. LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 4.003056 LogPlayLevel: BUILD FAILED PackagingResults:Error: Error Launch failed! Unknown Error


I followed these instructions: https://docs.unrealengine.com/latest/INT/Platforms/Android/GettingStarted/1/index.html for installing the android SDK (although I have eclipse and android studio who both can deploy on my device) after installation under Edit->Prokect Settings->Android SDK all location fields are empty, I'm not sure if I should fill these and if so to which location I need to point.

alt text

Does anyone know a solution to this problem? Or a likely cause. It's probably easy to fix when you know where to look.

Thanks a lot, Jelle

Product Version: UE 4.8
Tags:
more ▼

asked Jul 11 '15 at 06:29 PM in Packaging & Deployment

avatar image

jpostma1
3 1 1 4

avatar image DasMatze Jul 17 '15 at 11:56 AM

I have the same problem!

The setup of the Android developer package provided with the engine doesn't work for me. When I google the message I get while trying to install it, it leads to an anserhub page where the answer is "contact Nvidia about it". When I look at Nvidias developer page I see that the provided version is outdated. So I registered as a developer at the Nvidia page and downloaded and installed the newest version.

I set up the paths in the SDK configuration and when I try to package something I get the message in the topic title.

avatar image wittlief ♦♦ STAFF Jul 17 '15 at 02:16 PM
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Found the problem.

What wittlief posted is right. Also you need to start the Android SDK thing one time and install all the APIs for all the android versions. Just install everything to be sure, I guess.

more ▼

answered Jul 17 '15 at 03:47 PM

avatar image

DasMatze
402 22 25 39

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question